Class IZegoRangeSceneStreamEventHandler


  • public abstract class IZegoRangeSceneStreamEventHandler
    extends java.lang.Object
    • Constructor Detail

      • IZegoRangeSceneStreamEventHandler

        public IZegoRangeSceneStreamEventHandler()
    • Method Detail

      • onUserStreamStateUpdate

        public void onUserStreamStateUpdate​(ZegoRangeScene rangeScene,
                                            java.lang.String userID,
                                            java.lang.String streamID,
                                            ZegoStreamState state)
        The callback notification of local user play other users' stream state change. Available since: 3.0.0 Description: The callback notification of local user plays other users' stream state change. When to trigger: The local user plays other users' stream state changes. Restrictions: Do not call the SDK interface in the callback thread.
        Parameters:
        rangeScene - Range scene instance that triggers this callback.
        userID - User ID.
        streamID - User's stream ID.
        state - The state of local user play stream.
      • onUserMicUpdate

        public void onUserMicUpdate​(ZegoRangeScene rangeScene,
                                    java.lang.String userID,
                                    ZegoDeviceState state)
        User microphone state change callback. Available: Since 3.0.0 Description: User microphone state change callback. When to trigger: User microphone state change Restrictions: Do not call the SDK interface in the callback thread.
        Parameters:
        rangeScene - Range scene instance that triggers this callback.
        userID - User ID.
        state - Device state.
      • onUserCameraUpdate

        public void onUserCameraUpdate​(ZegoRangeScene rangeScene,
                                       java.lang.String userID,
                                       ZegoDeviceState state)
        User camera state change callback. Available: Since 3.0.0 Description: User camera state change callback. When to trigger: User camera state change. Restrictions: Do not call the SDK interface in the callback thread.
        Parameters:
        rangeScene - Range scene instance that triggers this callback.
        userID - User ID.
        state - Device state.
      • onUserSpeakerUpdate

        public void onUserSpeakerUpdate​(ZegoRangeScene rangeScene,
                                        java.lang.String userID,
                                        ZegoDeviceState state)
        User speaker state change callback. Available: Since 3.0.0 Description: User speaker state change callback. When to trigger: User speaker state change. Restrictions: Do not call the SDK interface in the callback thread.
        Parameters:
        rangeScene - Range scene instance that triggers this callback.
        userID - User ID.
        state - Device state.