Mobile Web Wearable Web

Media Key

Tizen enables you to handle media keys in your application.

The Media Key API is optional for both Tizen mobile and wearable profiles, which means that it may not be supported in all mobile and wearable devices. The Media Key API is not supported on any Tizen Emulators.

The media keys are used to control multimedia playback. The user can click keys, such as PLAY and FAST FORWARD, and you can detect the key clicks in your application and change the playback accordingly.

The main features of the Media Key API include:

  • Registering a listener

    You can register and unregister a listener for the media key state changes.

    Note
    You can register only 1 media key state change listener for your application. If you attempt to register a second listener, the first listener is unset and replaced with the new one.
  • Handling state changes

    With the registered listener, you can monitor the media keys and react to their state changes, when the user presses or releases a key.

Go to top