ByteRTCHelper class

Inheritance
  • Object
  • PackClass
  • ByteRTCHelper

Constructors

ByteRTCHelper()

Properties

$instance → dynamic
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

$createInstance(List args) → dynamic
Factory method for creating instances
override
$destroy() → void
inherited
$init(List args) → void
inherited
addSnapshotEventHandler(TakeSnapshotResultObserver oberserver) Future<int>
添加截图事件回调
feedback({required List<ProblemFeedbackOption> types, ProblemFeedbackInfo? info}) Future<int>
findOverrideIndices(List args, List<List<int>> indicesList) List<int>
查找重载参数下标列表 @desc android 构造函数存在重载 此方法通过实际传入参数与构造函数参数列表集合的比对,来获取当前实际的需要使用的参数列表
inherited
fn2AndroidClass(Function callback, dynamic nativeClass(), String methodName) → dynamic
与 ts runtime 中的 fn2AndroidClass 功能一致 将 Dart 函数转换为 Android 回调类实例供 Android 侧使用
inherited
getAudioRoute() Future<AudioRoute>
getState(dynamic instance) Future<PlayerState>
getView(String id) Future
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeLocalVideo() Future<int>
removeRemoteVideo({required String streamId}) Future<int>
sendPublicStreamSEIMessage({StreamIndex streamIndex = $p.StreamIndex.main, required int channelId, required Uint8List message, required int repeatCount, SEICountPerFrame mode = $p.SEICountPerFrame.single}) Future<int>
setExtensionConfig({required String groupId, required String bundleId}) Future<int>
setVideoCaptureConfig(VideoCaptureConfig videoCaptureConfig) Future<int>
setZOrderMediaOverlay(String id, bool isMediaOverlay) Future<int>
Only for android surface view, set z order media overlay
setZOrderOnTop(String id, bool onTop) Future<int>
Only for android surface view, set z order on top
startPushMixedStream({required String taskId, required MixedStreamPushTargetConfig pushTargetConfig, required MixedStreamConfig mixedConfig}) Future<int>
startScreenCapture(ScreenMediaType type) Future<int>
Screen Capture for android
takeLocalSnapshot(String filePath, TakeSnapshotResultObserver observer) Future<int?>
takeRemoteSnapshot(String streamId, String filePath, TakeSnapshotResultObserver observer) Future<int?>
toString() String
A string representation of this object.
inherited
transformToPlatformConstructorArgs(List args, List<int> indices, Map<String, dynamic> typeMap, Map<String, dynamic> enumMap, Map<String, dynamic> classMap, String platformVar) List
实例化参数处理 将 pack 过后的 enum / class 转成 android / ios 平台侧的 enum / class
inherited
updateInstance(dynamic instance) → void
inherited
updatePushMixedStream({required String taskId, required MixedStreamPushTargetConfig pushTargetConfig, required MixedStreamConfig mixedConfig}) Future<int>
updateRemoteStreamVideoCanvas({required RemoteStreamKey remoteStreamKey, required VideoRenderMode renderMode, int backgroundColor = 0x000000}) Future<int>

Operators

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