ChannelApi class

Constructors

ChannelApi({BinaryMessenger? binaryMessenger})
Constructor for ChannelApi. The binaryMessenger named argument is available for dependency injection. If it is left null, the default BinaryMessenger will be used which routes to the host platform.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

clearStatsEventCallback(String arg_channelTag) Future<int>
enableAudioVolumeIndication(String arg_channelTag, EnableAudioVolumeIndicationRequest arg_request) Future<int>
enableLocalAudio(String arg_channelTag, bool arg_enable) Future<int>
enableLocalVideo(String arg_channelTag, EnableLocalVideoRequest arg_request) Future<int>
enableMediaPub(String arg_channelTag, int arg_mediaType, bool arg_enable) Future<int>
getChannelName(String arg_channelTag) Future<String>
getConnectionState(String arg_channelTag) Future<int>
joinChannel(String arg_channelTag, JoinChannelRequest arg_request) Future<int>
leaveChannel(String arg_channelTag) Future<int>
muteLocalAudioStream(String arg_channelTag, bool arg_mute) Future<int>
muteLocalVideoStream(String arg_channelTag, bool arg_mute, int arg_streamType) Future<int>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
release(String arg_channelTag) Future<int>
setChannelProfile(String arg_channelTag, int arg_channelProfile) Future<int>
setClientRole(String arg_channelTag, int arg_role) Future<int>
setLocalVideoConfig(String arg_channelTag, SetLocalVideoConfigRequest arg_request) Future<int>
setStatsEventCallback(String arg_channelTag) Future<int>
subscribeRemoteAudio(String arg_channelTag, int arg_uid, bool arg_subscribe) Future<int>
subscribeRemoteSubAudio(String arg_channelTag, int arg_uid, bool arg_subscribe) Future<int>
subscribeRemoteSubVideoStream(String arg_channelTag, int arg_uid, bool arg_subscribe) Future<int>
subscribeRemoteVideoStream(String arg_channelTag, SubscribeRemoteVideoStreamRequest arg_request) Future<int>
switchCamera(String arg_channelTag) Future<int>
takeLocalSnapshot(String arg_channelTag, int arg_streamType, String arg_path) Future<int>
takeRemoteSnapshot(String arg_channelTag, int arg_uid, int arg_streamType, String arg_path) Future<int>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

codec → const MessageCodec<Object?>