Skip to content

Commit

Permalink
adds more documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hayribakici authored and rinukkusu committed Feb 7, 2024
1 parent 03cf3c9 commit d925704
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/src/endpoints/player.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ class PlayerEndpoint extends _MeEndpointBase {
/// will be retrieved. Default's to `true`.
///
/// Note: Before starting a new playback context check the [playbackState]
/// if necessary before [resume]ing.
/// if necessary before [resume]ing, otherwise you overwrite the current
/// context.
Future<PlaybackState?> startWithTracks(List<String> trackUris,
{String? deviceId,
int positionMs = 0,
Expand All @@ -134,7 +135,8 @@ class PlayerEndpoint extends _MeEndpointBase {
/// will be retrieved. Default's to `true`.
///
/// Note: Before starting a new playback context check the [playbackState]
/// if necessary before [resume]ing.
/// if necessary before [resume]ing, otherwise you overwrite the current
/// context.
Future<PlaybackState?> startWithContext(String contextUri,
{String? deviceId,
Offset? offset,
Expand Down

0 comments on commit d925704

Please sign in to comment.