Functions in mediacontroller.h
Functions that are available working with and controlling media.
mediacontroller_button_down()
Send a button-down message.
mediacontroller_button_up()
Send a button-up message.
mediacontroller_event_get_metadata_album()
Retrieve the album from the
MEDIACONTROLLER_METADATA
event.
mediacontroller_event_get_metadata_album_artwork()
Retrieve the path to the album artwork from the
MEDIACONTROLLER_METADATA
event.
mediacontroller_event_get_metadata_artist()
Retrieve the artist from the
MEDIACONTROLLER_METADATA
event.
mediacontroller_event_get_metadata_duration()
Retrieve the duration from the
MEDIACONTROLLER_METADATA
event.
mediacontroller_event_get_metadata_position()
Retrieve the current position in the track from the
MEDIACONTROLLER_METADATA
event.
mediacontroller_event_get_metadata_track()
Retrieve the track from the
MEDIACONTROLLER_METADATA
event.
mediacontroller_event_get_next_enabled()
Retrieve whether the
next
track
functionality should be enabled from the
MEDIACONTROLLER_METADATA
event.
mediacontroller_event_get_previous_enabled()
Retrieve whether the
previous
track
functionality should be enabled from the
MEDIACONTROLLER_METADATA
event.
mediacontroller_event_get_state()
Retrieve the state of the Media Controller from the
MEDIACONTROLLER_STATE
event.
mediacontroller_fast_forward()
Fast-forward the media.
mediacontroller_get_domain()
Retrieve the unique domain ID for the Media Controller service.
mediacontroller_next_track()
Skip to the next track.
mediacontroller_pause()
Pause the current media content.
mediacontroller_play()
Play the current media content.
mediacontroller_play_pause()
Play or pause the current media content.
mediacontroller_previous_track()
Skip to the beginning of the current track, or to the previous track.
mediacontroller_request_events()
Start receiving Media Controller events.
mediacontroller_rewind()
Rewind the media.
mediacontroller_stop()
Stop the current media content.
mediacontroller_stop_events()
Stop receiving Media Controller events.
mediacontroller_volume_down()
Decrease the volume level.
mediacontroller_volume_set_level()
Set the volume level.
mediacontroller_volume_set_mute()
Set the volume mute state.
mediacontroller_volume_up()
Increase the volume level.
mediacontroller_volume_update()
Indicate that the volume was changed.
Parent topic:
Media controllers (mediacontroller.h)
Related concepts
Data types in mediacontroller.h