ByteRTCRemoteStreamSwitchEvent class

Inheritance
  • Object
  • NativeClass
  • ByteRTCRemoteStreamSwitchEvent

Constructors

ByteRTCRemoteStreamSwitchEvent([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
afterVideoEnabled FutureOr<BOOL?>
@brief Whether a video stream after the stream switching
getter/setter pair
afterVideoIndex FutureOr<NSInteger?>
@brief The quality index of the subscribed stream after the stream switching
getter/setter pair
beforeVideoEnabled FutureOr<BOOL?>
@brief Whether a video stream before the stream switching
getter/setter pair
beforeVideoIndex FutureOr<NSInteger?>
@brief The quality index of the subscribed stream before the stream switching
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isScreen FutureOr<BOOL?>
@brief Whether it is a screen-sharing stream
getter/setter pair
ready Future<void>
Whether the instance is initialized
no setterinherited
reason FutureOr<ByteRTCFallbackOrRecoverReason?>
@brief Refer to ByteRTCFallbackOrRecoverReason{@link #ByteRTCFallbackOrRecoverReason} for the reason of the Fallback or reverting from the Fallback of the subscribed stream.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uid FutureOr<NSString?>
@brief User ID of the publisher of the subscribed media stream
getter/setter pair

Methods

destroy() → void
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
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
updateResource(NativeResource resource) → void
inherited

Operators

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

Static Properties

codegen_$namespace → dynamic
no setter