MediaKey

Since: BlackBerry 10.0.0

#include <bb/multimedia/MediaKey>

To link against this class, add the following line to your .pro file: LIBS += -lbbmultimedia

Represents a hardware media key used with MediaKeyWatcher.


Overview

Public Types Index

enum Type

None = 0, FastForward = 1, Pause = 2, Play = 3, PlayPause = 4, Rewind = 5, Stop = 6, VolumeDown = 7, VolumeUp = 8, Previous = 9, Next = 10

Public Types

Type

Represents a hardware media key.

Since:

BlackBerry 10.0.0

None = 0

Represents no set media button.

FastForward = 1

Represents the fast forward hardware button.

Since:

BlackBerry 10.0.0

Pause = 2

Represents the pause hardware button.

Since:

BlackBerry 10.0.0

Play = 3

Represents the play hardware button.

Since:

BlackBerry 10.0.0

PlayPause = 4

Represents the dual play/pause hardware toggle button.

Since:

BlackBerry 10.0.0

Rewind = 5

Represents the rewind hardware button.

Since:

BlackBerry 10.0.0

Stop = 6

Represents the stop hardware button.

Since:

BlackBerry 10.0.0

VolumeDown = 7

Represents the volume down hardware button.

Since:

BlackBerry 10.0.0

VolumeUp = 8

Represents the volume up hardware button.

Since:

BlackBerry 10.0.0

Previous = 9

Represents the previous track hardware button.

Since:

BlackBerry 10.0.0

Next = 10

Represents the next track hardware button.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-29



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus