Skip to content

Commit 0a8a959

Browse files
wvanhaevretvanlaerhoven
authored andcommitted
Describe the correct MediaControlActions in the documentation
1 parent 9f45883 commit 0a8a959

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

doc/mediacontrol.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ The [MediaControlAction](../src/api/media/MediaControlAPI.ts) enum defines all a
2525

2626
- `PLAY`: Triggered when the user presses play.
2727
- `PAUSE`: Triggered when the user presses pause.
28-
- `SEEK_FORWARD`: Triggered when the user requests to seek forward by a preset interval.
29-
- `SEEK_BACKWARD`: Triggered when the user requests to seek backward by a preset interval.
3028
- `SKIP_TO_NEXT`: Triggered when the user requests to go to the next track or playlist item.
3129
- `SKIP_TO_PREVIOUS`: Triggered when the user requests to go to the previous track or playlist item.
3230

@@ -42,7 +40,7 @@ On iOS, when you set handlers for `SKIP_TO_NEXT` or `SKIP_TO_PREVIOUS`, these ha
4240
- System controls (e.g., lock screen) will display and trigger your handlers for track navigation.
4341
- Seeking forward/backward via next/previous is not shown as seperate controls. (Platform limitation)
4442
- **If you do not provide next/previous handlers:**
45-
- The system will display and use the default or configured seek forward/backward functionality.
43+
- The system will display and use the seek forward/backward functionality with the configured or default intervals.
4644

4745
This allows you to customize whether system controls are used for playlist navigation or for seeking within the current track.
4846

0 commit comments

Comments
 (0)