Spatializer.IOnHeadTrackerAvailableListener.OnHeadTrackerAvailableChanged Method

Definition

Called when the availability of the head tracker changed.

[Android.Runtime.Register("onHeadTrackerAvailableChanged", "(Landroid/media/Spatializer;Z)V", "GetOnHeadTrackerAvailableChanged_Landroid_media_Spatializer_ZHandler:Android.Media.Spatializer/IOnHeadTrackerAvailableListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)]
public void OnHeadTrackerAvailableChanged (Android.Media.Spatializer spatializer, bool available);
[<Android.Runtime.Register("onHeadTrackerAvailableChanged", "(Landroid/media/Spatializer;Z)V", "GetOnHeadTrackerAvailableChanged_Landroid_media_Spatializer_ZHandler:Android.Media.Spatializer/IOnHeadTrackerAvailableListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=33)>]
abstract member OnHeadTrackerAvailableChanged : Android.Media.Spatializer * bool -> unit

Parameters

spatializer
Spatializer

the Spatializer instance for which the head tracker availability was updated

available
Boolean

true if the audio device that would output audio processed by the Spatializer has a head tracker associated with it, false otherwise.

Attributes

Remarks

Called when the availability of the head tracker changed.

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