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<TUIActionCallback>
-
Accept an incoming call.
-
addObserver(TUICallObserver observer)
→ Future<void>
-
Add a call observer to receive TUICallEngine events.
Multiple observers are supported and are held weakly in native layers.
-
callExperimentalAPI(Map<String, dynamic> jsonMap)
→ Future<void>
-
Call experimental APIs for feature preview or debugging.
-
calls(List<String> userIdList, TUICallMediaType mediaType, TUICallParams params)
→ Future<TUIActionCallback>
-
Place an outgoing call to one or more users.
-
closeCamera()
→ Future<void>
-
Close the local camera and stop publishing the video stream.
-
closeMicrophone()
→ Future<void>
-
Close the local microphone and stop publishing the audio stream.
-
deleteRecordCalls(List<String> callIdList)
→ Future<TUIValueCallBack<String?>>
-
Delete call records by ID list.
-
enableMultiDeviceAbility(bool enable)
→ Future<TUIActionCallback>
-
Enable/disable multi-device capability for the same account.
-
hangup()
→ Future<TUIActionCallback>
-
Hang up an ongoing call.
-
init(int sdkAppID, String userId, String userSig)
→ Future<TUIActionCallback>
-
Initialize and sign in to TUICallEngine.
-
inviteUser(List<String> userIdList, TUICallParams params)
→ Future<TUIValueCallBack<List<String>>>
-
Invite more users to the current call.
-
join(String callId)
→ Future<TUIActionCallback>
-
Join a call by callId (e.g., group/multi-party scenarios).
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
openCamera(TUICamera camera, int? viewId)
→ Future<TUIActionCallback>
-
Open the local camera and publish the video stream.
-
openMicrophone()
→ Future<TUIActionCallback>
-
Open the local microphone and publish the audio stream.
-
queryRecentCalls(TUICallRecentCallsFilter filter)
→ Future<TUIValueCallBack<String?>>
-
Query recent call records.
-
reject()
→ Future<TUIActionCallback>
-
Reject an incoming call.
-
removeObserver(TUICallObserver observer)
→ Future<void>
-
Remove a previously added call observer.
-
selectAudioPlaybackDevice(TUIAudioPlaybackDevice device)
→ Future<void>
-
Select the audio playback device (speakerphone/earpiece).
-
setBeautyLevel(double level)
→ Future<TUIActionCallback>
-
Set beauty level for local video (range depends on SDK policy).
-
setBlurBackground(int level)
→ Future<TUIActionCallback>
-
Set blur background level for local video.
-
setSelfInfo(String nickname, String avatar)
→ Future<TUIActionCallback>
-
Set local user's basic profile, such as nickname and avatar URL.
-
setVideoEncoderParams(VideoEncoderParams params)
→ Future<TUIActionCallback>
-
Set video encoder parameters (resolution and orientation).
-
setVideoRenderParams(String userId, VideoRenderParams params)
→ Future<TUIActionCallback>
-
Set video render parameters for a specific user stream.
-
setVirtualBackground(String imagePath)
→ Future<TUIActionCallback>
-
Set a virtual background using an image path for local video.
-
startRemoteView(String userId, int? viewId)
→ Future<void>
-
Start rendering a remote user's video stream.
Pass
viewId (platform view identifier) where the stream should be displayed.
-
stopRemoteView(String userId)
→ Future<void>
-
Stop rendering a remote user's video stream.
-
switchCallMediaType(TUICallMediaType mediaType)
→ Future<void>
-
Switch the call media type (audio <-> video) during a call.
-
switchCamera(TUICamera camera)
→ Future<void>
-
Switch the local camera between front and back.
-
toString()
→ String
-
A string representation of this object.
inherited
-
unInit()
→ Future<TUIActionCallback>
-
Static Properties
-
instance
↔ TUICallEngine
-
Shared singleton instance of TUICallEngine.
getter/setter pair