Typedef
Static Public Summary | ||
public |
|
|
public |
A payload that the native app understands |
Static Public
public Metadata: Object source
Properties:
Name | Type | Attribute | Description |
'mpris:trackid' | string |
|
the track id (can be anything) |
'mpris:length' | number |
|
the length of the media |
'mpris:artUrl' | string |
|
the url of the cover image |
'xesam:url' | string |
|
the url of the media |
'xesam:title' | string |
|
the title of the media |
'xesam:artist' | Array<string> |
|
an array containing the artists |
public Payload: Object source
A payload that the native app understands
Properties:
Name | Type | Attribute | Description |
PlaybackStatus | PlaybackStatus |
|
Playing or Paused |
LoopStatus | LoopStatus |
|
the loop status |
Shuffle | boolean |
|
is shuffle on |
Volume | number |
|
the volume |
CanGoNext | boolean |
|
if the next button should be enabled |
CanGoPrevious | boolean |
|
if previous button should be enabled |
Identity | string |
|
the identity of the mpris player |
Rate | number |
|
the playback speed of the media |
Metadata | Metadata |
|
the media specific information |