AudioPropertiesConfig class
- Inheritance
-
- Object
- NativeClass
- AudioPropertiesConfig
Properties
-
$resource
→ NativeResource
-
no setterinherited
-
audioReportMode
↔ FutureOr<AudioPropertiesMode?>
-
@brief The audio info included in onLocalAudioPropertiesReport{@link #IRTCEngineEventHandler#onLocalAudioPropertiesReport}. See AudioPropertiesMode{@link #AudioPropertiesMode}.
Locally captured microphone audio info and locally captured screen audio info are included by default.
getter/setter pair
-
enableSpectrum
↔ FutureOr<boolean?>
-
@brief Whether to enable audio spectrum detection
getter/setter pair
-
enableVad
↔ FutureOr<boolean?>
-
@brief Whether to enable Voice Activity Detection
getter/setter pair
-
enableVoicePitch
↔ FutureOr<boolean?>
-
@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<int?>
-
@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<AudioReportMode?>
-
@brief The volume callback modes. See AudioReportMode{@link #AudioReportMode}.
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