added in version 25.1.0
  
    
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
  
   
  
  
  
  
belongs to Maven artifact com.android.support:leanback-v17:28.0.0-alpha1
PlaybackGlue.PlayerCallback
  public
  static
  
  abstract
  class
  PlaybackGlue.PlayerCallback
  
    extends Object
  
  
  
  
  
  
| java.lang.Object | |
| ↳ | android.support.v17.leanback.media.PlaybackGlue.PlayerCallback | 
Interface to allow clients to take action once the video is ready to play and start stop.
Summary
| Public constructors | |
|---|---|
| 
      PlaybackGlue.PlayerCallback()
       | |
| Public methods | |
|---|---|
| 
        
        
        
        
        
        void | 
      onPlayCompleted(PlaybackGlue glue)
      Event of the current media is finished. | 
| 
        
        
        
        
        
        void | 
      onPlayStateChanged(PlaybackGlue glue)
      Event for Play/Pause state change. | 
| 
        
        
        
        
        
        void | 
      onPreparedStateChanged(PlaybackGlue glue)
      Event for  | 
| Inherited methods | |
|---|---|
|  From
class 
  
    java.lang.Object
  
 | |
Public constructors
Public methods
onPlayCompleted
    added in version 26.1.0
      
  
    void onPlayCompleted (PlaybackGlue glue)
Event of the current media is finished.
| Parameters | |
|---|---|
| glue | PlaybackGlue: The PlaybackGlue that has finished current media playing. | 
onPlayStateChanged
    added in version 26.1.0
      
  
    void onPlayStateChanged (PlaybackGlue glue)
Event for Play/Pause state change. See isPlaying()}.
| Parameters | |
|---|---|
| glue | PlaybackGlue: The PlaybackGlue that has changed playing or pausing state. | 
onPreparedStateChanged
    added in version 26.1.0
      
  
    void onPreparedStateChanged (PlaybackGlue glue)
Event for isPrepared() changed.
| Parameters | |
|---|---|
| glue | PlaybackGlue: The PlaybackGlue that has changedisPrepared(). | 
- Interfaces
- Classes- MediaControllerAdapter
- MediaControllerGlue
- MediaPlayerAdapter
- PlaybackBannerControlGlue
- PlaybackBaseControlGlue
- PlaybackControlGlue
- PlaybackGlue
- PlaybackGlue.PlayerCallback
- PlaybackGlueHost
- PlaybackGlueHost.HostCallback
- PlaybackGlueHost.PlayerCallback
- PlaybackTransportControlGlue
- PlayerAdapter
- PlayerAdapter.Callback
 
