ByteRTCDeviceCollection class

Inheritance
  • Object
  • NativeClass
  • ByteRTCDeviceCollection

Constructors

ByteRTCDeviceCollection([NativeClassOptions? options])

Properties

$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
getCount() FutureOr<int>
@detail api @author dixing @brief 获取当前音视频设备数量 @return 音视频设备数量
getDevice(int index, NSString deviceName, NSString deviceID) FutureOr<int>
@detail api @author dixing @brief 根据索引号,获取设备信息 @param index 设备索引号,从 0 开始,注意需小于 getCount{@link #ByteRTCDeviceCollection#getCount} 返回值。 @param deviceName 设备名称 @param deviceID 设备 ID @return - 0:方法调用成功 - !0:方法调用失败
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