Added in API level 33
    OnHeadTrackerAvailableListener
interface OnHeadTrackerAvailableListener
| android.media.Spatializer.OnHeadTrackerAvailableListener | 
Interface to be notified of changes to the availability of a head tracker on the audio device to be used by the spatializer effect.
Summary
| Public methods | |
|---|---|
| abstract Unit | 
            onHeadTrackerAvailableChanged(spatializer: Spatializer, available: Boolean)Called when the availability of the head tracker changed.  | 
        
Public methods
onHeadTrackerAvailableChanged
Added in API level 33
      abstract fun onHeadTrackerAvailableChanged(
spatializer: Spatializer,
available: Boolean
): Unit
Called when the availability of the head tracker changed.
| Parameters | |
|---|---|
spatializer | 
            Spatializer: the Spatializer instance for which the head tracker availability was updated This value cannot be null. | 
          
available | 
            Boolean: true if the audio device that would output audio processed by the Spatializer has a head tracker associated with it, false otherwise. |