# Incorrect \`onMeetingLeaveComplete\` Callback When Host Ends the Meeting – Android SDK 6.2.3

**URL:** <https://devforum.zoom.us/t/incorrect-onmeetingleavecomplete-callback-when-host-ends-the-meeting-android-sdk-6-2-3/135337>\
**Category:** Android\
**Created:** [July 17, 2025, 5:55am UTC](https://devforum.zoom.us/t/incorrect-onmeetingleavecomplete-callback-when-host-ends-the-meeting-android-sdk-6-2-3/135337 "2025-07-17T05:55:38Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TriByte](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@TriByte](https://devforum.zoom.us/u/TriByte)\
**Post date:** [July 17, 2025, 5:55am UTC](https://devforum.zoom.us/t/incorrect-onmeetingleavecomplete-callback-when-host-ends-the-meeting-android-sdk-6-2-3/135337/1 "2025-07-17T05:55:38Z")

</div>

**Description**  
We are using the **Zoom Android Meeting SDK (v6.2.3)** and encountering an issue where the `onMeetingLeaveComplete(long ret)` callback does **not return the correct meeting end reason** when the **host ends the meeting**.

**Which Android Meeting SDK version?**  
Zoom Android Meeting SDK (v6.2.3)

**Steps to Reproduce:**

1. Start a meeting as the **host** using `startMeetingWithParams()`
2. Join as a **participant** from another device
3. End the meeting from the **host** device
4. Observe the callback `onMeetingLeaveComplete(ret)` on the participant side
  - **Expected:** `ret == END_BY_HOST`
  - **Actual:** `ret == END_BY_SELF`

* * *

**Environment Details:**

| Detail | Value |
| --- | --- |
| SDK Version | 6.2.3 |
| Meeting Start Type | `StartMeetingParamsWithoutLogin` with Zoom Access Token |

* * *

**Code Snippet:**

```java
@Override
public void onMeetingLeaveComplete(long ret) {
    if (ret == MeetingEndReason.END_BY_HOST) {
        System.out.println("Meeting ended by host");
    } else if (ret == MeetingEndReason.END_BY_SELF) {
        System.out.println("Left by self");
    } else {
        System.out.println("Other reason");
    }
}

```

**Additional Notes:**  
The issue occurs consistently, regardless of how the meeting is ended.  
The listener is correctly registered using:  
We need to reliably differentiate between host-ended and self-left scenarios to properly update the UI

---

<div class="post-metadata">

**Author:** ![TriByte](https://avatars.discourse-cdn.com/v4/letter/t/3ec8ea/32.png) [@TriByte](https://devforum.zoom.us/u/TriByte)\
**Post date:** [July 28, 2025, 4:51am UTC](https://devforum.zoom.us/t/incorrect-onmeetingleavecomplete-callback-when-host-ends-the-meeting-android-sdk-6-2-3/135337/2 "2025-07-28T04:51:25Z")

</div>

Is there any update?

---

<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:** [July 28, 2026, 4:52am UTC](https://devforum.zoom.us/t/incorrect-onmeetingleavecomplete-callback-when-host-ends-the-meeting-android-sdk-6-2-3/135337/3 "2026-07-28T04:52:18Z")

</div>

Closed on July 28, 2026, 4:52am UTC

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