ByteRTCAudioPropertiesConfig class

Inheritance
  • Object
  • NativeClass
  • ByteRTCAudioPropertiesConfig

Constructors

ByteRTCAudioPropertiesConfig([NativeClassOptions? options])

Properties

$resource → NativeResource
no setterinherited
audioReportMode FutureOr<ByteRTCAudioPropertiesMode?>
@brief The audio info included in rtcEngine:onLocalAudioPropertiesReport:{@link #ByteRTCEngineDelegate#rtcEngine:onLocalAudioPropertiesReport}. See ByteRTCAudioPropertiesMode{@link #ByteRTCAudioPropertiesMode}.
Locally captured microphone audio info and locally captured screen audio info are included by default.
getter/setter pair
enableSpectrum FutureOr<BOOL?>
@brief Whether to enable audio spectrum detection.
getter/setter pair
enableVad FutureOr<BOOL?>
@brief Whether to enable Voice Activity Detection.
getter/setter pair
enableVoicePitch FutureOr<BOOL?>
@brief Sets whether to return the vocal pitch of the local user.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
interval FutureOr<NSInteger?>
@brief Prompt interval in ms
- <= 0: Turn off prompt - (0,100]: Invalid interval value, and will be automatically reset to 100ms. - > 100: the actual value of interval
getter/setter pair
localMainReportMode FutureOr<ByteRTCAudioReportMode?>
@brief The volume callback modes. See ByteRTCAudioReportMode{@link #ByteRTCAudioReportMode}.
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
smooth FutureOr<float?>
@brief The smoothing coefficient for audio attribute information prompt. The range is (0.0, 1.0].
The default value is 1.0, which means the smoothing effect is off by default. Smaller the value, smoother the audio volume prompt. If you want to enable the smooth effect, the recommended value is 0.3.
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