Agora Java API Reference for Android
Public Member Functions | List of all members
io.agora.rtc.internal.RtcChannelImpl Class Reference
Inheritance diagram for io.agora.rtc.internal.RtcChannelImpl:
io.agora.rtc.RtcChannel

Public Member Functions

boolean isInitialized ()
 
boolean hasJoined ()
 
long getNativeHandle ()
 
int initialize (RtcEngineImpl rtcEngineImpl, long nativeHandle)
 
String channelId ()
 
String getCallId ()
 
int destroy ()
 
int getConnectionState ()
 
int joinChannel (String token, String optionalInfo, int optionalUid, ChannelMediaOptions options)
 
int joinChannelWithUserAccount (String token, String userAccount, ChannelMediaOptions options)
 
int leaveChannel ()
 
int publish ()
 
int unpublish ()
 
int renewToken (String token)
 
int setEncryptionSecret (String secret)
 
int setEncryptionMode (String encryptionMode)
 
int registerMediaMetadataObserver (IMetadataObserver observer, int type)
 
int setClientRole (int role)
 
int setRemoteUserPriority (int uid, int userPriority)
 
int setRemoteVoicePosition (int uid, double pan, double gain)
 
int setRemoteRenderMode (int uid, int renderMode, int mirrorMode)
 
int setDefaultMuteAllRemoteAudioStreams (boolean muted)
 
int setDefaultMuteAllRemoteVideoStreams (boolean muted)
 
int muteAllRemoteAudioStreams (boolean muted)
 
int muteRemoteAudioStream (int uid, boolean muted)
 
int adjustUserPlaybackSignalVolume (int uid, int volume)
 
int muteAllRemoteVideoStreams (boolean muted)
 
int muteRemoteVideoStream (int uid, boolean muted)
 
int setRemoteVideoStreamType (int uid, int streamType)
 
int setRemoteDefaultVideoStreamType (int streamType)
 
int createDataStream (boolean reliable, boolean ordered)
 
int sendStreamMessage (int streamId, byte[] message)
 
int addPublishStreamUrl (String url, boolean transcodingEnabled)
 
int removePublishStreamUrl (String url)
 
int setLiveTranscoding (LiveTranscoding transcoding)
 
int addInjectStreamUrl (String url, LiveInjectStreamConfig config)
 
int removeInjectStreamUrl (String url)
 
int startChannelMediaRelay (ChannelMediaRelayConfiguration channelMediaRelayConfiguration)
 
int updateChannelMediaRelay (ChannelMediaRelayConfiguration channelMediaRelayConfiguration)
 
int stopChannelMediaRelay ()
 
- Public Member Functions inherited from io.agora.rtc.RtcChannel
void setRtcChannelEventHandler (IRtcChannelEventHandler eventHandler)
 
IRtcChannelEventHandler getEventHandler ()
 
abstract int destroy ()
 
abstract String channelId ()
 
abstract String getCallId ()
 
abstract int getConnectionState ()
 
abstract int joinChannel (String token, String optionalInfo, int optionalUid, ChannelMediaOptions options)
 
abstract int joinChannelWithUserAccount (String token, String userAccount, ChannelMediaOptions options)
 
abstract int leaveChannel ()
 
abstract int publish ()
 
abstract int unpublish ()
 
abstract int renewToken (String token)
 
abstract int setEncryptionSecret (String secret)
 
abstract int setEncryptionMode (String encryptionMode)
 
abstract int registerMediaMetadataObserver (IMetadataObserver observer, int type)
 
abstract int setClientRole (int role)
 
abstract int setRemoteUserPriority (int uid, int userPriority)
 
abstract int setRemoteVoicePosition (int uid, double pan, double gain)
 
abstract int setRemoteRenderMode (int uid, int renderMode, int mirrorMode)
 
abstract int setDefaultMuteAllRemoteAudioStreams (boolean muted)
 
abstract int setDefaultMuteAllRemoteVideoStreams (boolean muted)
 
abstract int muteAllRemoteAudioStreams (boolean muted)
 
abstract int adjustUserPlaybackSignalVolume (int uid, int volume)
 
abstract int muteRemoteAudioStream (int uid, boolean muted)
 
abstract int muteAllRemoteVideoStreams (boolean muted)
 
abstract int muteRemoteVideoStream (int uid, boolean muted)
 
abstract int setRemoteVideoStreamType (int uid, int streamType)
 
abstract int setRemoteDefaultVideoStreamType (int streamType)
 
abstract int createDataStream (boolean reliable, boolean ordered)
 
abstract int sendStreamMessage (int streamId, byte[] message)
 
abstract int addPublishStreamUrl (String url, boolean transcodingEnabled)
 
abstract int removePublishStreamUrl (String url)
 
abstract int setLiveTranscoding (LiveTranscoding transcoding)
 
abstract int addInjectStreamUrl (String url, LiveInjectStreamConfig config)
 
abstract int removeInjectStreamUrl (String url)
 
abstract int startChannelMediaRelay (ChannelMediaRelayConfiguration channelMediaRelayConfiguration)
 
abstract int stopChannelMediaRelay ()
 
abstract int updateChannelMediaRelay (ChannelMediaRelayConfiguration channelMediaRelayConfiguration)