Added in API level 32
  
  
  
  
Spatializer.OnSpatializerStateChangedListener
  public
  static
  
  
  interface
  Spatializer.OnSpatializerStateChangedListener
  
  
  
| android.media.Spatializer.OnSpatializerStateChangedListener | 
An interface to be notified of changes to the state of the spatializer effect.
Summary
| Public methods | |
|---|---|
| 
        abstract
        
        
        
        
        void | 
      onSpatializerAvailableChanged(Spatializer spat, boolean available)
      Called when the availability of the spatializer effect changes | 
| 
        abstract
        
        
        
        
        void | 
      onSpatializerEnabledChanged(Spatializer spat, boolean enabled)
      Called when the enabled state of the spatializer effect changes | 
Public methods
onSpatializerAvailableChanged
    Added in API level 32
  
      
  
    public abstract void onSpatializerAvailableChanged (Spatializer spat, boolean available)
Called when the availability of the spatializer effect changes
| Parameters | |
|---|---|
| spat | Spatializer: theSpatializerinstance whose state changed
 This value cannot benull. | 
| available | boolean:trueif the spatializer effect is available and capable
                  of processing the audio for the current configuration of the device,falseotherwise. | 
See also:
onSpatializerEnabledChanged
    Added in API level 32
  
      
  
    public abstract void onSpatializerEnabledChanged (Spatializer spat, boolean enabled)
Called when the enabled state of the spatializer effect changes
| Parameters | |
|---|---|
| spat | Spatializer: theSpatializerinstance whose state changed
 This value cannot benull. | 
| enabled | boolean:trueif the spatializer effect is enabled on the device,falseotherwise | 
See also:
