Share via


Spatializer.IOnSpatializerStateChangedListener.OnSpatializerEnabledChanged Method

Definition

Called when the enabled state of the spatializer effect changes

[Android.Runtime.Register("onSpatializerEnabledChanged", "(Landroid/media/Spatializer;Z)V", "GetOnSpatializerEnabledChanged_Landroid_media_Spatializer_ZHandler:Android.Media.Spatializer/IOnSpatializerStateChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)]
public void OnSpatializerEnabledChanged (Android.Media.Spatializer spat, bool enabled);
[<Android.Runtime.Register("onSpatializerEnabledChanged", "(Landroid/media/Spatializer;Z)V", "GetOnSpatializerEnabledChanged_Landroid_media_Spatializer_ZHandler:Android.Media.Spatializer/IOnSpatializerStateChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=32)>]
abstract member OnSpatializerEnabledChanged : Android.Media.Spatializer * bool -> unit

Parameters

spat
Spatializer

the Spatializer instance whose state changed

enabled
Boolean

true if the spatializer effect is enabled on the device, false otherwise

Attributes

Remarks

Called when the enabled state of the spatializer effect changes

Java documentation for android.media.Spatializer.OnSpatializerStateChangedListener.onSpatializerEnabledChanged(android.media.Spatializer, boolean).

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