ChatCallKitManagerImpl class

Available extensions

Constructors

ChatCallKitManagerImpl()

Properties

agoraAppId ← String
no getter
callTimeout ← Duration
no getter
handlers ↔ List<ChatCallKitObserver>
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
rtcTokenHandler ↔ RtcTokenHandler?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
userMapperHandler ↔ UserMapperHandler?
getter/setter pair

Methods

addEventListener(ChatCallKitObserver handler) → void
answer(String callId) → Future<void>
answerCall(String callId) → Future<void>
clearAllEventListeners() → void
disableAudio() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

disableLocalView() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

disableVideo() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

enableAudio() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

enableLocalView() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

enableVideo() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

fetchToken() → Future<void>
getLocalVideoView() → AgoraVideoView?

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

getRemoteVideoView(int agoraUid) → AgoraVideoView?

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

getRemoteVideoViews() → List<AgoraVideoView>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

hangup(String callId) → Future<void>
initRTC() → Future<void>
mute() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onActiveSpeaker(int uid) → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onAnswer(String callId) → void

Available on ChatCallKitManagerImpl, provided by the ChatEvent extension

onCallAccept() → void

Available on ChatCallKitManagerImpl, provided by the ChatEvent extension

onCallEndReason(String callId, ChatCallKitCallEndReason reason) → void

Available on ChatCallKitManagerImpl, provided by the ChatEvent extension

onError(ChatCallKitError error) → void

Available on ChatCallKitManagerImpl, provided by the ChatEvent extension

onFirstRemoteVideoDecoded(int remoteUid, int width, int height) → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onJoinChannelSuccess() → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onLeaveChannel() → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onRemoteVideoStateChanged(int remoteUid, RemoteVideoState state, RemoteVideoStateReason reason) → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onRTCError(ErrorCodeType err, String desc) → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onUserJoined(int remoteUid) → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onUserLeaved(int remoteUid) → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onUserMuteAudio(int remoteUid, bool muted) → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onUserMuteVideo(int remoteUid, bool muted) → void

Available on ChatCallKitManagerImpl, provided by the RTCEvent extension

onUserRemoved(String callId, String userId, ChatCallKitCallEndReason reason) → void

Available on ChatCallKitManagerImpl, provided by the ChatEvent extension

releaseRTC() → Future<void>
removeEventListener(ChatCallKitObserver handler) → void
setDefaultModeType() → Future<void>
speakerOff() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

speakerOn() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

startInviteUsers(List<String> userIds, String? inviteMessage, Map<String, String>? ext) → Future<String>
startPreview() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

startSingleCall(String userId, {String? inviteMessage, ChatCallKitCallType type = ChatCallKitCallType.audio_1v1, Map<String, String>? ext}) → Future<String>
stateChanged(ChatCallKitCallState newState, ChatCallKitCallState preState) → void

Available on ChatCallKitManagerImpl, provided by the ChatEvent extension

stopPreview() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

switchCamera() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

toString() → String
A string representation of this object.
inherited
unMute() → Future<void>

Available on ChatCallKitManagerImpl, provided by the RTCAction extension

updateUserMapper(int agoraUid) → Future<ChatCallKitUserMapper?>

Available on ChatCallKitManagerImpl, provided by the ChatEvent extension

Operators

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

Static Properties

instance → ChatCallKitManagerImpl
no setter