ByteRTCVideoFrame class
- Inheritance
-
- Object
- NativeClass
- NativeObserverClass
- ByteRTCVideoFrame
- Implementers
Constructors
- ByteRTCVideoFrame([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
-
addRef(
) → FutureOr< void> -
@brief Increase the reference count of the video frame by 1.
@note If you wants to asynchronously process the video frame (for example, switch the thread for rendering), you need to call this interface to increase the reference count. After the asynchronous processing is completed, you need to call
releaseRefto reduce the reference count by 1. -
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
-
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