ByteRTCVideoCanvas class

Inheritance
  • Object
  • NativeClass
  • ByteRTCVideoCanvas

Constructors

ByteRTCVideoCanvas([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
backgroundColor FutureOr<NSInteger?>
@brief Set the background color of the canvas which is not filled with video frame. The range is [0x00000000, 0xFFFFFFFF]. The default is 0x00000000. The Alpha index is ignored.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
ready Future<void>
Whether the instance is initialized
no setterinherited
renderMode FutureOr<ByteRTCRenderMode?>
@brief See ByteRTCRenderMode{@link #ByteRTCRenderMode}
getter/setter pair
renderRotation FutureOr<ByteRTCVideoRotation?>
@brief Video frame rotation angle. See ByteRTCVideoRotation{@link #ByteRTCVideoRotation}. The default value is 0, which means no rotation is applied.
This parameter only applies to remote video and does not affect local video settings.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
view FutureOr
@brief Local view handle
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