MediaControllerKeyDispatcher

The key dispatcher interface for the Media Controller.

Functions

Link copied to clipboard
abstract fun dispatchKeyEvent(event: KeyEvent): Boolean
Dispatch the key event received by the BrightcoveMediaController.
Link copied to clipboard
open fun isDirectionalPadKeyCode(keyCode: Int): Boolean
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.