logo
On this page

IZegoRangeSceneStreamEventHandler

IZegoRangeSceneStreamEventHandler

Declared in callback/IZegoRangeSceneStreamEventHandler.java

Methods

onUserStreamStateUpdate

onUserStreamStateUpdate
public void onUserStreamStateUpdate(ZegoRangeScene rangeScene, String userID, String streamID, ZegoStreamState state)
The callback notification of local user play other users' stream state change.
Declared in callback/IZegoRangeSceneStreamEventHandler.java

Parameters

NameTypeDescription
rangeSceneZegoRangeSceneRange scene instance that triggers this callback.
userIDStringUser ID.
streamIDStringUser's stream ID.
stateZegoStreamStateThe state of local user play stream.

Details

The callback notification of local user plays other users' stream state change. When to trigger: The local user plays other users' stream state changes.

  • Available since: 3.0.0
  • Restrictions: Do not call the SDK interface in the callback thread.

onUserMicUpdate

onUserMicUpdate
public void onUserMicUpdate(ZegoRangeScene rangeScene, String userID, ZegoDeviceState state)
User microphone state change callback.
Declared in callback/IZegoRangeSceneStreamEventHandler.java

Parameters

NameTypeDescription
rangeSceneZegoRangeSceneRange scene instance that triggers this callback.
userIDStringUser ID.
stateZegoDeviceStateDevice state.

Details

User microphone state change callback. When to trigger: User microphone state change

  • Restrictions: Do not call the SDK interface in the callback thread.

onUserCameraUpdate

onUserCameraUpdate
public void onUserCameraUpdate(ZegoRangeScene rangeScene, String userID, ZegoDeviceState state)
User camera state change callback.
Declared in callback/IZegoRangeSceneStreamEventHandler.java

Parameters

NameTypeDescription
rangeSceneZegoRangeSceneRange scene instance that triggers this callback.
userIDStringUser ID.
stateZegoDeviceStateDevice state.

Details

User camera state change callback. When to trigger: User camera state change.

  • Restrictions: Do not call the SDK interface in the callback thread.

onUserSpeakerUpdate

onUserSpeakerUpdate
public void onUserSpeakerUpdate(ZegoRangeScene rangeScene, String userID, ZegoDeviceState state)
User speaker state change callback.
Declared in callback/IZegoRangeSceneStreamEventHandler.java

Parameters

NameTypeDescription
rangeSceneZegoRangeSceneRange scene instance that triggers this callback.
userIDStringUser ID.
stateZegoDeviceStateDevice state.

Details

User speaker state change callback. When to trigger: User speaker state change.

  • Restrictions: Do not call the SDK interface in the callback thread.

Previous

izegorangesceneitemeventhandler

Next

izegorangesceneteameventhandler

On this page

Back to top