TRTCMethodChannel class
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
-
destroySharedInstance()
→ Future<void>
-
-
enableVideoProcessByNative(String jsonStr)
→ Future<void>
-
-
initialize()
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
setListener(TRTCChannelListener? listener)
→ dynamic
-
-
setVideoMuteImage(String imagePath, int fps)
→ Future<void>
-
-
setWatermark(String imagePath, TRTCVideoStreamType streamType, double x, double y, double width)
→ Future<void>
-
-
snapshotVideo(String userId, TRTCVideoStreamType streamType, TRTCSnapshotSourceType sourceType, String path)
→ Future<void>
-
-
startLocalPreview(int viewId)
→ Future<void>
-
-
startRemoteView(String userId, TRTCVideoStreamType streamType, int viewId)
→ Future<void>
-
-
startScreenCapture(int viewId, TRTCVideoStreamType streamType, TRTCVideoEncParam encParam)
→ Future<void>
-
-
startScreenCaptureByReplaykit(TRTCVideoStreamType streamType, TRTCVideoEncParam encParam, String? appGroup)
→ Future<void>
-
-
stopLocalPreview()
→ Future<void>
-
-
stopRemoteView(String userId, TRTCVideoStreamType streamType)
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
updateLocalView(int viewId)
→ Future<void>
-
-
updateRemoteView(String userId, TRTCVideoStreamType streamType, int viewId)
→ Future<void>
-