-
public interface MediaControllerKeyDispatcher
The key dispatcher interface for the Media Controller.
-
-
Method Summary
Modifier and Type Method Description abstract boolean
dispatchKeyEvent(KeyEvent event)
Dispatch the key event received by the BrightcoveMediaController. static boolean
isDirectionalPadKeyCode(int keyCode)
Returns true when the key code is one of the following:- KEYCODE_DPAD_UP - KEYCODE_DPAD_DOWN - KEYCODE_DPAD_CENTER - KEYCODE_DPAD_RIGHT - KEYCODE_DPAD_LEFT or false otherwise. -
-
Method Detail
-
dispatchKeyEvent
abstract boolean dispatchKeyEvent(KeyEvent event)
Dispatch the key event received by the BrightcoveMediaController.
- Parameters:
event
- the Key Event
-
isDirectionalPadKeyCode
static boolean isDirectionalPadKeyCode(int keyCode)
Returns true when the key code is one of the following:- KEYCODE_DPAD_UP - KEYCODE_DPAD_DOWN - KEYCODE_DPAD_CENTER - KEYCODE_DPAD_RIGHT - KEYCODE_DPAD_LEFT or false otherwise.
- Parameters:
keyCode
- the KeyEvent key code
-
-
-
-