All Downloads are FREE. Search and download functionalities are using the official Maven repository.

src.main.java.io.agora.rtc.ILocalUserObserver Maven / Gradle / Ivy

//
//
// Agora Media SDK
// Copyright (c) 2020 Agora IO. All rights reserved.
// This file is generated by tool, do NOT modify it
//
//
package io.agora.rtc;

public interface ILocalUserObserver {
        public void onAudioTrackPublishSuccess(AgoraLocalUser agora_local_user,
                        AgoraLocalAudioTrack agora_local_audio_track);

        public void onAudioTrackPublicationFailure(AgoraLocalUser agora_local_user,
                        AgoraLocalAudioTrack agora_local_audio_track, int error);

        public void onLocalAudioTrackStateChanged(AgoraLocalUser agora_local_user,
                        AgoraLocalAudioTrack agora_local_audio_track, int state, int error);

        public void onLocalAudioTrackStatistics(AgoraLocalUser agora_local_user, LocalAudioStats stats);

        public void onRemoteAudioTrackStatistics(AgoraLocalUser agora_local_user,
                        AgoraRemoteAudioTrack agora_remote_audio_track, RemoteAudioTrackStats stats);

        public void onUserAudioTrackSubscribed(AgoraLocalUser agora_local_user, String user_id,
                        AgoraRemoteAudioTrack agora_remote_audio_track);

        public void onUserAudioTrackStateChanged(AgoraLocalUser agora_local_user, String user_id,
                        AgoraRemoteAudioTrack agora_remote_audio_track, int state, int reason, int elapsed);

        public void onAudioSubscribeStateChanged(AgoraLocalUser agora_local_user, String channel, String user_id,
                        int old_state, int new_state, int elapse_since_last_state);

        public void onAudioPublishStateChanged(AgoraLocalUser agora_local_user, String channel, int old_state,
                        int new_state, int elapse_since_last_state);

        public void onFirstRemoteAudioFrame(AgoraLocalUser agora_local_user, String user_id, int elapsed);

        public void onFirstRemoteAudioDecoded(AgoraLocalUser agora_local_user, String user_id, int elapsed);

        public void onVideoTrackPublishSuccess(AgoraLocalUser agora_local_user,
                        AgoraLocalVideoTrack agora_local_video_track);

        public void onVideoTrackPublicationFailure(AgoraLocalUser agora_local_user,
                        AgoraLocalVideoTrack agora_local_video_track, int error);

        public void onLocalVideoTrackStateChanged(AgoraLocalUser agora_local_user,
                        AgoraLocalVideoTrack agora_local_video_track, int state, int error);

        public void onLocalVideoTrackStatistics(AgoraLocalUser agora_local_user,
                        AgoraLocalVideoTrack agora_local_video_track, LocalVideoTrackStats stats);

        public void onUserVideoTrackSubscribed(AgoraLocalUser agora_local_user, String user_id, VideoTrackInfo info,
                        AgoraRemoteVideoTrack agora_remote_video_track);

        public void onUserVideoTrackStateChanged(AgoraLocalUser agora_local_user, String user_id,
                        AgoraRemoteVideoTrack agora_remote_video_track, int state, int reason, int elapsed);

        public void onRemoteVideoTrackStatistics(AgoraLocalUser agora_local_user,
                        AgoraRemoteVideoTrack agora_remote_video_track, RemoteVideoTrackStats stats);

        public void onAudioVolumeIndication(AgoraLocalUser agora_local_user, AudioVolumeInfo[] speakers,
                        int total_volume);

        public void onActiveSpeaker(AgoraLocalUser agora_local_user, String userId);

        public void onRemoteVideoStreamInfoUpdated(AgoraLocalUser agora_local_user, RemoteVideoStreamInfo info);

        public void onVideoSubscribeStateChanged(AgoraLocalUser agora_local_user, String channel, String user_id,
                        int old_state, int new_state, int elapse_since_last_state);

        public void onVideoPublishStateChanged(AgoraLocalUser agora_local_user, String channel, int old_state,
                        int new_state, int elapse_since_last_state);

        public void onFirstRemoteVideoFrame(AgoraLocalUser agora_local_user, String user_id, int width, int height,
                        int elapsed);

        public void onFirstRemoteVideoDecoded(AgoraLocalUser agora_local_user, String user_id, int width, int height,
                        int elapsed);

        public void onFirstRemoteVideoFrameRendered(AgoraLocalUser agora_local_user, String user_id, int width,
                        int height,
                        int elapsed);

        public void onVideoSizeChanged(AgoraLocalUser agora_local_user, String user_id, int width, int height,
                        int rotation);

        public void onUserInfoUpdated(AgoraLocalUser agora_local_user, String user_id, int msg, int val);

        public void onIntraRequestReceived(AgoraLocalUser agora_local_user);

        public void onRemoteSubscribeFallbackToAudioOnly(AgoraLocalUser agora_local_user, String user_id,
                        int is_fallback_or_recover);

        public void onStreamMessage(AgoraLocalUser agora_local_user, String user_id, int stream_id, String data,
                        long length);

        public void onUserStateChanged(AgoraLocalUser agora_local_user, String user_id, int state);

        public void onAudioTrackPublishStart(AgoraLocalUser agora_local_user,
                        AgoraLocalAudioTrack agora_local_audio_track);

        public void onAudioTrackUnpublished(AgoraLocalUser agora_local_user,
                        AgoraLocalAudioTrack agora_local_audio_track);

        public void onVideoTrackPublishStart(AgoraLocalUser agora_local_user,
                        AgoraLocalVideoTrack agora_local_video_track);

        public void onVideoTrackUnpublished(AgoraLocalUser agora_local_user,
                        AgoraLocalVideoTrack agora_local_video_track);

        public void onAudioMetaDataReceived(AgoraLocalUser agoraLocalUser, String userId, byte[] metaData);
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy