Package 

Interface PlaybackNotification.OnRestorePlaybackHandler


  • 
    public interface PlaybackNotification.OnRestorePlaybackHandler
    
                        

    Interface definition used to restore playback when re-creating an activity when the userclicks on the on-going notification.This should be implemented by the Activity. By default, it returns true if thenotification is visible and the activity's intent contains NOTIFICATION.

    • Method Summary

      Modifier and Type Method Description
      boolean shouldRestorePlayback(BaseVideoView view, PlaybackNotification notification) Check if playback should be restored for a given BaseVideoView.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait