AudioRecord.OnRoutingChangedListener
  public
  static
  
  
  interface
  AudioRecord.OnRoutingChangedListener
  
  
      implements
      
        AudioRouting.OnRoutingChangedListener
      
  
  
| android.media.AudioRecord.OnRoutingChangedListener | 
      This interface was deprecated
      in API level 24.
    users should switch to the general purpose
             AudioRouting.OnRoutingChangedListener class instead.
  
Defines the interface by which applications can receive notifications of
 routing changes for the associated AudioRecord.
Summary
| Public methods | |
|---|---|
| 
        
        default
        
        
        
        void | 
      onRoutingChanged(AudioRouting router)
       | 
| 
        abstract
        
        
        
        
        void | 
      onRoutingChanged(AudioRecord audioRecord)
      Called when the routing of an AudioRecord changes from either and explicit or policy rerouting. | 
| Inherited methods | |
|---|---|
Public methods
onRoutingChanged
public abstract void onRoutingChanged (AudioRecord audioRecord)
Called when the routing of an AudioRecord changes from either and
 explicit or policy rerouting. Use AudioRecord.getRoutedDevice() to
 retrieve the newly routed-from device.
| Parameters | |
|---|---|
| audioRecord | AudioRecord | 
