Type Alias: MediaRepeatMode
type MediaRepeatMode = "off" | "one" | "all";
Defined in: packages/media-session/src/specs/media-session.nitro.ts:173
Repeat mode as every remote surface understands it.
Deliberately three members and no integer count: this is the session's
vocabulary, and it is exactly what both platforms can express —
media3's Player.REPEAT_MODE_OFF/_ONE/_ALL (0/1/2) and MediaPlayer's
MPRepeatType.off/.one/.all. @afkcodes/timbre-player's richer loopRaw (mpv
accepts a repeat count) does not fit on a notification button and is not
flattened into a lie here — an app playing "repeat this track 3×" broadcasts
whichever of these three is the honest summary.