Functions in mediaplayer.h
Functions that are available for playing media.
mediaplayer_acquire()
Acquire the status of active media player in the system.
mediaplayer_button()
Deprecated: Register a button to a forwarding action.
mediaplayer_deregister_button()
Deregister a button to a forwarding action.
mediaplayer_event_get_button1()
Retrieve the first button from the
MEDIAPLAYER_BUTTON
event.
mediaplayer_event_get_button2()
Retrieve the second button from the
MEDIAPLAYER_BUTTON
event.
mediaplayer_event_get_button_length()
Retrieve the button length of time a button was held down from the
MEDIAPLAYER_BUTTON
event.
mediaplayer_event_get_command()
Retrieve the command from the
MEDIAPLAYER_COMMAND
event.
mediaplayer_event_get_id()
Retrieve the ID from a Media player event.
mediaplayer_get_domain()
Retrieve the unique domain ID for the Media Player service.
mediaplayer_metadata_create()
Create a metadata structure.
mediaplayer_metadata_destroy()
Destroy a metadata structure.
mediaplayer_metadata_set_album()
Set the album in a metadata structure.
mediaplayer_metadata_set_album_artwork()
Set the album artwork in a metadata structure.
mediaplayer_metadata_set_artist()
Set the artist in a metadata structure.
mediaplayer_metadata_set_duration()
Set the duration in a metadata structure.
mediaplayer_metadata_set_next_enabled()
Set the
next
track
enabled state in a metadata structure.
mediaplayer_metadata_set_position()
Set the position in a metadata structure.
mediaplayer_metadata_set_previous_enabled()
Set the
previous
track
enabled state in a metadata structure.
mediaplayer_metadata_set_track()
Set the track in a metadata structure.
mediaplayer_register()
Register the media player.
mediaplayer_register_button()
Register a button to a forwarding action.
mediaplayer_release()
Release the status of the active media player in the system.
mediaplayer_request_events()
Start receiving Media player events.
mediaplayer_set_metadata()
Sets the metadata of the currently playing track.
mediaplayer_set_state()
Set the state of the media player.
mediaplayer_stop_events()
Stop receiving Media player events.
Parent topic:
Media players (mediaplayer.h)
Related concepts
Data types in mediaplayer.h