AudioPropertiesInfo class

Inheritance
  • Object
  • NativeClass
  • AudioPropertiesInfo

Constructors

AudioPropertiesInfo([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
linearVolume FutureOr<int?>
@brief linear volume. The value is in linear relation to the original volume. The higher the value, the higher the volume. The range is 0,255.
- 0, 25: Near silence - 26, 75: Low volume - 76, 204: Medium volume - 205, 255: High volume
getter/setter pair
nonlinearVolume FutureOr<int?>
@brief non-linear volume in dB. The value is in proportion to the log value of the original volume. You can use the value to recognize the Active Speaker in the room. The range is -127, 0.
- -127, -60: Near silence - -59, -40: Low volume - -39, -20: Medium volume - -19, 0: High volume
getter/setter pair
ready Future<void>
Whether the instance is initialized
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
spectrum FutureOr<Array<float>?>
@brief Spectrum array
getter/setter pair
vad FutureOr<int?>
@brief Voice Activity Detection (VAD) result
- 1: Voice activity detected. - 0: No voice activity detected. - -1: VAD not activated.
getter/setter pair
voicePitch FutureOr<double?>
@brief The vocal pitch of the local user, in Hertz.
When the following two conditions are met at the same time, the vocal pitch of the local user will be returned:
- Calls enableAudioPropertiesReport{@link #RTCEngine#enableAudioPropertiesReport}, and sets the value of enableVoicePitch to true. - The local user's voice is included in the locally captured audio data. In other situations, 0 will be returned.
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