Package 

Interface RemoteControlKeyState


  • 
    public interface RemoteControlKeyState
    
                        

    Defines the interface to handle and react to the key events coming from the remote control, depending on the state of the media controller.

    • Method Detail

      • onDpadUp

         abstract boolean onDpadUp(KeyEvent event)

        On dpad up key actioned

        Parameters:
        event - the android.view.
      • onDpadDown

         abstract boolean onDpadDown(KeyEvent event)

        On dpad down key actioned

        Parameters:
        event - the android.view.
      • onDpadLeft

         abstract boolean onDpadLeft(KeyEvent event)

        On dpad left key actioned

        Parameters:
        event - the android.view.
      • onDpadRight

         abstract boolean onDpadRight(KeyEvent event)

        On dpad right key actioned

        Parameters:
        event - the android.view.
      • onDpadCenter

         abstract boolean onDpadCenter(KeyEvent event)

        On dpad center key actioned

        Parameters:
        event - the android.view.
      • onPlay

         abstract boolean onPlay(KeyEvent event)

        On play key actioned

        Parameters:
        event - the android.view.
      • onPause

         abstract boolean onPause(KeyEvent event)

        On pause key actioned

        Parameters:
        event - the android.view.
      • onPlayPause

         abstract boolean onPlayPause(KeyEvent event)

        On play pause key actioned

        Parameters:
        event - the android.view.
      • onFastForward

         abstract boolean onFastForward(KeyEvent event)

        On fast forward key actioned

        Parameters:
        event - the android.view.
      • onRewind

         abstract boolean onRewind(KeyEvent event)

        On rewind key actioned

        Parameters:
        event - the android.view.
      • onBack

         abstract boolean onBack(KeyEvent event)

        On back key actioned

        Parameters:
        event - the android.view.
      • onMenu

         abstract boolean onMenu(KeyEvent event)

        On menu key actioned

        Parameters:
        event - the android.view.
      • onHome

         abstract boolean onHome(KeyEvent event)

        On home key actioned

        Parameters:
        event - the android.view.
      • onSkipForward

         abstract boolean onSkipForward(KeyEvent event)

        On skip forward key actioned

        Parameters:
        event - the android.view.
      • onSkipBackward

         abstract boolean onSkipBackward(KeyEvent event)

        On skip backward key actioned

        Parameters:
        event - the android.view.