# No action from the InMeetingService.lowerAllHands() or lowerHand methods

**URL:** <https://devforum.zoom.us/t/no-action-from-the-inmeetingservice-lowerallhands-or-lowerhand-methods/63036>\
**Category:** Android\
**Created:** [January 23, 2022, 4:33am UTC](https://devforum.zoom.us/t/no-action-from-the-inmeetingservice-lowerallhands-or-lowerhand-methods/63036 "2022-01-23T04:33:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![juanricos](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@juanricos](https://devforum.zoom.us/u/juanricos)\
**Post date:** [January 23, 2022, 4:33am UTC](https://devforum.zoom.us/t/no-action-from-the-inmeetingservice-lowerallhands-or-lowerhand-methods/63036/1 "2022-01-23T04:33:23Z")

</div>

I am seeing no action from the InMeetingService.lowerAllHands() method. It returns SDKERR\_SUCCESS but does not lower the hands in the meeting. I also do not see any action from lowerHand method when I need to just lower one hand. Accessing these commands from the UI menu does work as expected.

Android SDK version: 5.9.1.3674

Devices tested:  
Android Emulator Pixel\_4\_XL  
API: 29 Android 10

Moto X4  
Android 10

Here is my sample code.

```auto
if (ZoomSDK.getInstance().isInitialized()) {
            MeetingService myMeetingS = ZoomSDK.getInstance().getMeetingService();
            if (myMeetingS.getMeetingStatus() == MeetingStatus.MEETING_STATUS_INMEETING) {
                InMeetingService inMeet = ZoomSDK.getInstance().getInMeetingService();
                if (inMeet.getMyUserInfo().getInMeetingUserRole() == InMeetingUserInfo.InMeetingUserRole.USERROLE_COHOST || inMeet.getMyUserInfo().getInMeetingUserRole() == InMeetingUserInfo.InMeetingUserRole.USERROLE_HOST ) {

                    Log.d("Zoom", "We are cohost");
                            //lower a users hand, user id as a long
                            Log.d("Zoom", "lowerhands");
                            Log.d("ZoomResponse",inMeet.lowerAllHands().toString());
                } 
                else {
                    Log.d("Zoom", "We are not host or cohost");
                    Log.d("Zoom", inMeet.getMyUserInfo().getInMeetingUserRole().toString());
                }
            } 
            else {
                Log.d("Zoom", "We are not in meeting");
                Log.d("Zoom", myMeetingS.getMeetingStatus().toString());
            }
        } 
        else {
            Log.d("Zoom", "Zoom not initialized");
        }

```

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 24, 2022, 8:12pm UTC](https://devforum.zoom.us/t/no-action-from-the-inmeetingservice-lowerallhands-or-lowerhand-methods/63036/2 "2022-01-24T20:12:15Z")

</div>

Hi @juanricos, thanks for the post.

I tried testing this and was unable to reproduce. Calling `lowerAllHands` works correctly 100% of the time. Are you able to reproduce this behavior in the SDK sample app? Does it happen for all devices/Android versions?

Thanks!

---

<div class="post-metadata">

**Author:** ![juanricos](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@juanricos](https://devforum.zoom.us/u/juanricos)\
**Post date:** [January 25, 2022, 1:19am UTC](https://devforum.zoom.us/t/no-action-from-the-inmeetingservice-lowerallhands-or-lowerhand-methods/63036/3 "2022-01-25T01:19:20Z")

</div>

Thank you for the reply and confirmation that it does work.

With further testing I found that although lowerAllHands and lowerHands return SDKERR\_SUCCESS when run on other threads, they only actually take action when run on the UI thread.

Wrapping it in a runOnUiThread did the trick.

```auto
runOnUiThread(() -> {
     ZoomSDK.getInstance().getInMeetingService().lowerAllHands();
});

```

Thanks again.

---

<div class="post-metadata">

**Author:** ![jon.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/jon.zoom/32/13495_2.png) [@jon.zoom](https://devforum.zoom.us/u/jon.zoom)\
**Post date:** [January 25, 2022, 6:40pm UTC](https://devforum.zoom.us/t/no-action-from-the-inmeetingservice-lowerallhands-or-lowerhand-methods/63036/4 "2022-01-25T18:40:10Z")

</div>

Hi @juanricos,

I’m glad to see that you were able to resolve this by calling it from the main thread! Please keep in mind that all SDK methods must be called from the main thread. 🙂

Thanks!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/zoomdeveloper/original/3X/6/1/614bdd549b610bbaa46ff934617683a02bdaa03c.png) [@system](https://devforum.zoom.us/u/system)\
**Post date:** [February 25, 2022, 4:41am UTC](https://devforum.zoom.us/t/no-action-from-the-inmeetingservice-lowerallhands-or-lowerhand-methods/63036/5 "2022-02-25T04:41:10Z")

</div>

Closed on February 25, 2022, 4:41am UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
