다음을 통해 공유


Spatializer.IOnSpatializerStateChangedListener.OnSpatializerAvailableChanged Method

Definition

Called when the availability of the spatializer effect changes

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

Parameters

spat
Spatializer

the Spatializer instance whose state changed

available
Boolean

true if the spatializer effect is available and capable of processing the audio for the current configuration of the device, false otherwise.

Attributes

Remarks

Called when the availability of the spatializer effect changes

Java documentation for android.media.Spatializer.OnSpatializerStateChangedListener.onSpatializerAvailableChanged(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