TRTCCalling class abstract

Implementers

Constructors

TRTCCalling()

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

accept() Future<ActionCallback>
call(String userId, String type, OfflinePushInfo? offlinePushInfo) Future<ActionCallback>
checkIsSelf(String userId) bool
closeCamera() Future<void>
destroy() → void
销毁函数,如果不需要再运行该实例,请调用该接口
groupCall(List<String> userIdList, String type, String? groupId) Future<ActionCallback>
hangup() Future<void>
login(int sdkAppId, String userId, String userSig) Future<ActionCallback>
logout() Future<ActionCallback>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
openCamera(bool isFrontCamera, int viewId) Future<void>
registerListener(TUICallingListener func) Future<void>
/////////////////////////////////////////////////////// ///////////////////////////////////////////////////////
reject() Future<ActionCallback>
setHandsFree(bool isHandsFree) Future<void>
setMicMute(bool isMute) Future<void>
startRemoteView(String userId, int streamType, int viewId) Future<void>
stopRemoteView(String userId, int streamType) Future<void>
switchCamera(bool isFrontCamera) Future<void>
toString() String
A string representation of this object.
inherited
unRegisterListener(TUICallingListener func) → void
updateLocalView(int viewId) Future<void>
更新本地视频预览画面的窗口,仅仅ios有效
updateRemoteView(String userId, int streamType, int viewId) Future<void>

Operators

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

Static Properties

typeAudioCall String
getter/setter pair
typeHangup String
getter/setter pair
typeSwitchToAudio String
getter/setter pair
typeSwitchToVideo String
getter/setter pair
typeUnknow String
getter/setter pair
typeVideoCall String
getter/setter pair

Static Methods

destroySharedInstance() → void
sharedInstance() Future<TRTCCalling>