Class JWMediaButtonReceiver

java.lang.Object
android.content.BroadcastReceiver
com.jwplayer.pub.api.background.JWMediaButtonReceiver

public class JWMediaButtonReceiver extends android.content.BroadcastReceiver
Used to intercept and handle media button events, such as play, pause, and skip, when they are pressed on remote controls
  • Nested Class Summary

    Nested classes/interfaces inherited from class android.content.BroadcastReceiver

    android.content.BroadcastReceiver.PendingResult
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onReceive(android.content.Context context, android.content.Intent intent)
     

    Methods inherited from class android.content.BroadcastReceiver

    abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, getSentFromPackage, getSentFromUid, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JWMediaButtonReceiver

      public JWMediaButtonReceiver(MediaSessionHelper mediaSessionHelper)
  • Method Details

    • onReceive

      public void onReceive(android.content.Context context, android.content.Intent intent)
      Specified by:
      onReceive in class android.content.BroadcastReceiver