Udostępnij za pośrednictwem


Spatializer.IsEnabled Property

Definition

Returns whether spatialization is enabled or not.

public virtual bool IsEnabled { [Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler", ApiSince=32)] get; }
[<get: Android.Runtime.Register("isEnabled", "()Z", "GetIsEnabledHandler", ApiSince=32)>]
member this.IsEnabled : bool

Property Value

true if spatialization is enabled

Attributes

Remarks

Returns whether spatialization is enabled or not. A false value can originate for instance from the user electing to disable the feature, or when the feature is not supported on the device (indicated by #getImmersiveAudioLevel() returning #SPATIALIZER_IMMERSIVE_LEVEL_NONE). <br> Note that this state reflects a platform-wide state of the "desire" to use spatialization, but availability of the audio processing is still dictated by the compatibility between the effect and the hardware configuration, as indicated by #isAvailable().

Java documentation for android.media.Spatializer.isEnabled().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to