ByteRtcScreenCapturerExtDelegate class

Inheritance
  • Object
  • NativeClass
  • NativeObserverClass
  • ByteRtcScreenCapturerExtDelegate

Constructors

ByteRtcScreenCapturerExtDelegate([NativeClassOptions? options])

Properties

$instance ↔ dynamic
getter/setter pairinherited
$resource → NativeResource
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

destroy() → void
inherited
emit(String name, List args) → dynamic
inherited
nativeCall<T>(String method, [List? args, NativeMethodMeta? meta]) Future<T>
Call instance method
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onNotifyAppRunning() FutureOr<void>
@detail api @brief 检测到 App 正在进行音视频通话时触发此回调。
onQuitFromApp() FutureOr<void>
@detail api @brief 通知 Broadcast Upload Extension 停止采集屏幕并退出。 @note iOS 端调用 stopScreenCapture{@link #ByteRTCEngine#stopScreenCapture},或 macOS 端调用 stopScreenVideoCapture{@link #ByteRTCEngine#stopScreenVideoCapture},会触发该方法通知 extension 端的 SDK 停止屏幕采集。
onReceiveMessageFromApp(NSData message) FutureOr<void>
@detail api @brief Socket 收到 App 侧发来的信息时,触发该回调 @param message App 侧发送的消息
onSocketConnect() FutureOr<void>
@detail api @brief Socket 连接成功时触发此回调
onSocketDisconnect() FutureOr<void>
@detail api @brief Socket 连接断开时触发此回调
registerEvent(String name, dynamic method) → void
inherited
sendInstanceGet<T>(String property) Future<T>
Get instance property
inherited
sendInstancePropertiesGet(dynamic nativeClass) Future<Map<String, dynamic>>
Get instance properties
inherited
sendInstanceSet(String property, dynamic value) Future<void>
Set instance property
inherited
toString() String
A string representation of this object.
inherited
updateInstance(dynamic instance) → void
inherited
updateResource(NativeResource resource) → void
inherited

Operators

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