Omnitalk class
Methods
-
addEventListener<T>(EventListener<T> listener)
→ bool
-
Adds a listener to the emitter.
When an event is emitted, the listeners added will be matched.
inherited
-
answerCall({CallType? callType, String? caller, RTCVideoRenderer? localRenderer, RTCVideoRenderer? remoteRenderer})
→ dynamic
-
-
createRoom({required RoomType roomType, String? subject, int? secret, DateTime? startDate, DateTime? endDate})
→ dynamic
-
-
createSession({String? userId})
→ dynamic
-
-
destroyRoom({String? roomId})
→ dynamic
-
-
emit<T>(String type, [T? data])
→ bool
-
Emit a event with a specific event type and data type.
This will broadcast the message to all listeners that match the same event type and data type.
inherited
-
emitEvent<T extends Event>(T event)
→ bool
-
Emits an event to all listeners.
This will broadcast the event to all listeners that match the same event type and data type.
inherited
-
emitHandler()
→ dynamic
-
-
freeResources()
→ dynamic
-
-
getAvailableMessageUser()
→ dynamic
-
-
getDeviceList()
→ dynamic
-
-
getPermission()
→ dynamic
-
-
joinRoom({required String roomId, int? secret, String? userName})
→ dynamic
-
-
kickOut({required String target})
→ Future<void>
-
-
leave()
→ Future<void>
-
-
makeSipNum({int? callNumber, String? roomId})
→ dynamic
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
off<T>({String? type, EventCallback<T>? callback})
→ bool
-
Remove an attached listener, by event type, data type and callback...
inherited
-
offerCall({required CallType callType, required String callee, RTCVideoRenderer? localRenderer, RTCVideoRenderer? remoteRenderer})
→ dynamic
-
-
on<T>(String? type, EventCallback<T> callback)
→ EventListener<T>
-
Attach a listener to an emitter.
Calls the
callback
whenever there's a new event of the specified event type and data type.
inherited
-
onAny<T>(EventCallback<T> callback)
→ EventListener<T>
-
Same as
on
but without a type.
inherited
-
once<T>(String? type, [EventCallback<T>? callback])
→ Future<T>
-
Same as
on
but with a callback that is only called once.
inherited
-
partiList({String? roomId, int? page})
→ dynamic
-
-
publish({required RTCVideoRenderer localRenderer})
→ dynamic
-
-
publishList({String? roomId, int? page})
→ dynamic
-
-
recordingStart()
→ Future<void>
-
-
recordingStop()
→ Future<void>
-
-
removeEventListener<T>(EventListener<T> listener)
→ bool
-
Removes a listener from the emitter.
inherited
-
roomList({RoomType? roomType, int? page})
→ dynamic
-
-
sendMessage({required MessageAction action, required String message, String? target})
→ dynamic
-
-
sessionList({int? page})
→ dynamic
-
-
setAudioInput({required dynamic deviceId})
→ dynamic
-
-
setAudioOutput({required dynamic deviceId})
→ dynamic
-
-
setMute({required TrackType track})
→ dynamic
-
-
setSpeakerPhone()
→ dynamic
-
-
setUnmute({required TrackType track})
→ dynamic
-
-
subscribe({required String publisherSession, required RTCVideoRenderer remoteRenderer})
→ dynamic
-
-
switchVideo({required String deviceId})
→ dynamic
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
unsubscribe({required String publisherSession})
→ dynamic
-