| java.lang.Object | |
| ↳ | android.support.v7.media.MediaRouter.Callback | 
Interface for receiving events about media routing changes. All methods of this interface will be called from the application's main thread.
       A Callback will only receive events relevant to routes that the callback
 was registered for unless the
       
        
         CALLBACK_FLAG_UNFILTERED_EVENTS
        
       
       flag was specified in
       
        
         addCallback(MediaRouteSelector, Callback, int)
        
       
       .
      
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          | 
       ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| 
          | 
        
          
          Called when a media route provider has been added.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when a property of the indicated media route provider has changed.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when a media route provider has been removed.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when a media route has been added.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when a property of the indicated media route has changed.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when a media route's presentation display changes.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when a media route has been removed.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when the supplied media route becomes selected as the active route.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when the supplied media route becomes unselected as the active route.
          
         | 
       ||||||||||
| 
          | 
        
          
          Called when a media route's volume changes.
          
         | 
       ||||||||||
| 
         
          [Expand]
         
          
          Inherited Methods
          
         | 
       |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
         
           
         
         From class
         
          java.lang.Object
         
          | 
       |||||||||||
Called when a media route provider has been added.
| router | The media router reporting the event. | 
|---|---|
| provider | The provider that has become available for use. | 
Called when a property of the indicated media route provider has changed.
| router | The media router reporting the event. | 
|---|---|
| provider | The provider that was changed. | 
Called when a media route provider has been removed.
| router | The media router reporting the event. | 
|---|---|
| provider | The provider that has been removed from availability. | 
Called when a media route has been added.
| router | The media router reporting the event. | 
|---|---|
| route | The route that has become available for use. | 
Called when a property of the indicated media route has changed.
| router | The media router reporting the event. | 
|---|---|
| route | The route that was changed. | 
Called when a media route's presentation display changes.
This method is called whenever the route's presentation display becomes available, is removed or has changes to some of its properties (such as its size).
| router | The media router reporting the event. | 
|---|---|
| route | The route whose presentation display changed. | 
Called when a media route has been removed.
| router | The media router reporting the event. | 
|---|---|
| route | The route that has been removed from availability. | 
Called when the supplied media route becomes selected as the active route.
| router | The media router reporting the event. | 
|---|---|
| route | The route that has been selected. | 
Called when the supplied media route becomes unselected as the active route.
| router | The media router reporting the event. | 
|---|---|
| route | The route that has been unselected. | 
Called when a media route's volume changes.
| router | The media router reporting the event. | 
|---|---|
| route | The route whose volume changed. |