Agora Java API Reference for Android

Deprecated List

Member io.agora.rtc2.RtcEngine.pushExternalEncodedVideoFrame (ByteBuffer data, EncodedVideoFrameInfo frameInfo)
  This method is deprecated.
Member io.agora.rtc2.live.LiveTranscoding.setRed (int red)
  Sets the background color's red component.
Member io.agora.rtc2.live.LiveTranscoding.setGreen (int green)
  Sets the background color's green component.
Member io.agora.rtc2.live.LiveTranscoding.setBlue (int blue)
  Sets the background color's blue component.
Class io.agora.rtc2.PublisherConfiguration.Builder
Class io.agora.rtc2.PublisherParameters
Member io.agora.rtc2.RtcEngine.setExternalAudioSource (boolean enabled, int sampleRate, int channels)
  This method is deprecated. Use createCustomAudioTrack(Constants.AudioTrackType trackType, AudioTrackConfig config) instead.
Member io.agora.rtc2.RtcEngine.setExternalAudioSource (boolean enabled, int sampleRate, int channels, boolean localPlayback, boolean publish)
  This method is deprecated. Use createCustomAudioTrack(Constants.AudioTrackType trackType, AudioTrackConfig config) instead.
Member io.agora.rtc2.RtcEngine.pushExternalAudioFrame (byte[] data, long timestamp)
  This method is deprecated. Use pushExternalAudioFrame(byte[] data, long timestamp, int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int trackId) instead.
Member io.agora.rtc2.RtcEngine.pushExternalAudioFrame (ByteBuffer data, long timestamp, int trackId)
  This method is deprecated. Use pushExternalAudioFrame(ByteBuffer[] data, long timestamp, int sampleRate, int channels, Constants.BytesPerSample bytesPerSample, int trackId) instead.
Member io.agora.rtc2.RtcEngine.pushExternalVideoFrame (VideoFrame frame)
  This method is deprecated.
Member io.agora.rtc2.live.LiveTranscoding.getBlue ()
  Gets the background color's blue component.
Member io.agora.rtc2.RtcEngine.addVideoWatermark (AgoraImage watermark)
  From v2.9.1. We recommend using the WatermarkOptions) addVideoWatermark2 method instead.
Member io.agora.rtc2.RtcEngine.enableDualStreamMode (boolean enabled)
  v4.2.0. This method is deprecated. Use setDualStreamMode instead.
Member io.agora.rtc2.RtcEngine.enableDualStreamMode (boolean enabled, SimulcastStreamConfig streamConfig)
  v4.2.0. This method is deprecated. Use setDualStreamMode instead.
Member io.agora.rtc2.RtcEngine.getRecommendedEncoderType ()
  This method is deprecated.
Member io.agora.rtc2.RtcEngine.enableHighPerfWifiMode (boolean enable)
  This method is deprecated.
Member io.agora.rtc2.RtcEngine.setPreferHeadset (boolean enabled)
  This method is deprecated.
Member io.agora.rtc2.RtcEngineEx.enableDualStreamModeEx (boolean enabled, SimulcastStreamConfig streamConfig, RtcConnection connection)
  v4.2.0. This method is deprecated. Use setDualStreamModeEx instead.
Member io.agora.rtc2.RtcEngineEx.pauseAllChannelMediaRelayEx (RtcConnection connection)
  This method is deprecated from v4.2.0. Use `startOrUpdateChannelMediaRelayEx` instead.
Member io.agora.rtc2.video.ContentInspectConfig.CONTENT_INSPECT_TYPE_MODERATION
  Content inspect type moderation
Member io.agora.rtm.RtmEventListener.onConnectionStateChanged (String channelName, RtmConnectionState state, RtmConnectionChangeReason reason)
  This callback is deprecated. Use LinkStateEvent instead.
Member io.agora.rtc2.IRtcEngineEventHandler.onRemoteVideoStat (int uid, int delay, int receivedBitrate, int receivedFrameRate)
  The statistics of receiving remote video streams once every two seconds.
Member io.agora.musiccontentcenter.IAgoraMusicPlayer.destroy ()
  use IAgoraMusicContentCenter#destroyMusicPlayer(IAgoraMusicPlayer player) instead.
Class io.agora.rtc2.IRtcEngineEventHandler.Quality
  Use the new Constants class with the same constants value
Class io.agora.rtc2.IRtcEngineEventHandler.VideoProfile
  Use the new Constants class with the same constants value
Class io.agora.rtc2.IRtcEngineEventHandler.ClientRole
  Use the new Constants class with the same constants value
Class io.agora.rtc2.IRtcEngineEventHandler.UserOfflineReason
  Use the new Constants class with the same constants value
Member io.agora.rtc2.IRtcEngineEventHandler.onVideoStopped ()
  Use onLocalVideoStateChanged instead.
Member io.agora.rtc2.IRtcEngineEventHandler.onFirstRemoteVideoDecoded (int uid, int width, int height, int elapsed)
  This callback is deprecated. Use `REMOTE_VIDEO_STATE_STARTING(1)` or `REMOTE_VIDEO_STATE_DECODING(2)` in the onRemoteVideoStateChanged callback instead.
Member io.agora.rtc2.IRtcEngineEventHandler.onUserEnableLocalVideo (int uid, boolean enabled)
  This callback is deprecated and replaced by the onRemoteVideoStateChanged callback with the following parameters:
  - `REMOTE_VIDEO_STATE_STOPPED(0)` and `REMOTE_VIDEO_STATE_REASON_REMOTE_MUTED(5)`.
  - `REMOTE_VIDEO_STATE_DECODING(2)` and `REMOTE_VIDEO_STATE_REASON_REMOTE_UNMUTED(6)`.
Member io.agora.rtc2.IRtcEngineEventHandler.onCameraReady ()
  Use onLocalVideoStateChanged instead.
Member io.agora.rtc2.IRtcEngineEventHandler.onLocalVideoStat (int sentBitrate, int sentFrameRate)
  The statistics of the uploading local video streams once every two seconds.
Member io.agora.musiccontentcenter.IAgoraMusicContentCenter.preload (long songCode, String jsonOption)
  use preload(long songCode) instead.
Member io.agora.rtc2.IRtcEngineEventHandler.onRemoteAudioTransportStats (int uid, int delay, int lost, int rxKBitRate)
  Use onRemoteAudioStats instead.
Member io.agora.rtc2.IRtcEngineEventHandler.onRemoteVideoTransportStats (int uid, int delay, int lost, int rxKBitRate)
  Use onRemoteVideoStats instead.
Member io.agora.rtc2.IRtcEngineEventHandler.onAudioMixingFinished ()
  Use onAudioMixingStateChanged instead.
Member io.agora.rtc2.live.LiveTranscoding.lowLatency
  Deprecated as of v2.8.0. Agora does not recommend using this parameter. Latency mode:
Member io.agora.rtc2.live.LiveTranscoding.userCount
  This parameter is deprecated. We recommend using the {getUserCount} method.
Member io.agora.rtc2.live.LiveTranscoding.backgroundColor
  This parameter is deprecated. We recommend using the {setBackgroundColor} method to set the background color.
Member io.agora.rtc2.live.LiveTranscoding.metadata
  This parameter is deprecated.
Member io.agora.rtc2.live.LiveTranscoding.getRed ()
  Gets the background color's red component.
Member io.agora.rtc2.live.LiveTranscoding.getGreen ()
  Gets the background color's green component.