Type Alias: MediaControl
type MediaControl =
| "play"
| "pause"
| "stop"
| "skipToNext"
| "skipToPrevious"
| "fastForward"
| "rewind"
| "repeatMode"
| "shuffle";
Defined in: packages/media-session/src/specs/media-session.nitro.ts:49
A button the app wants offered on remote surfaces.
Android: these become the media3 notification's actions (see
compactControlIndices for the ≤3 collapsed slots). iOS: controls and
MediaCapability are unioned into the set of enabled
MPRemoteCommandCenter commands — iOS has no notion of "button layout".