Added in API level 33
  
  
  
  
Spatializer.OnHeadTrackerAvailableListener
  public
  static
  
  
  interface
  Spatializer.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
        
        
        
        
        void
     | 
  
    
      
      onHeadTrackerAvailableChanged(Spatializer spatializer, boolean available)
      
      
        Called when the availability of the head tracker changed.  | 
  
Public methods
onHeadTrackerAvailableChanged
    Added in API level 33
  
      
  
    public abstract void onHeadTrackerAvailableChanged (Spatializer spatializer, boolean available)
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. |