ByteRTCAudioPropertiesConfig class
- Inheritance
-
- Object
- NativeClass
- ByteRTCAudioPropertiesConfig
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