Media
MediaPlayPause, MediaPrevious, MediaNext
Presses the matching Windows media key.
send('MediaPlayPause');UpdateMediaPlayerInformation
Sets what the wrist media player shows. Same shape as the RequestMediaPlayerUpdate response.
send('UpdateMediaPlayerInformation', {
jsonData: { title: 'Song', artist: 'Artist', album: 'Album', applicationName: 'MyPlayer' },
});RequestMediaPlayerUpdate
on('UpdateMediaPlayer', (media) => console.log(`${media.artist} – ${media.title}`));
send('RequestMediaPlayerUpdate');Response
{
title: string
album: string
artist: string
albumArt: string // base64 image
applicationName: string
playbackStatus: string
}