SyncPlayApi

class SyncPlayApi(api: ApiClient) : Api

Constructors

Link copied to clipboard
constructor(api: ApiClient)

Functions

Link copied to clipboard
suspend fun syncPlayBuffering(data: ERROR CLASS: Symbol not found for BufferRequestDto): Response<Unit>

Notify SyncPlay group that member is buffering.

Link copied to clipboard
suspend fun syncPlayCreateGroup(data: ERROR CLASS: Symbol not found for NewGroupRequestDto): Response<ERROR CLASS: Symbol not found for GroupInfoDto>

Create a new SyncPlay group.

Link copied to clipboard
suspend fun syncPlayGetGroup(id: ERROR CLASS: Symbol not found for UUID): Response<ERROR CLASS: Symbol not found for GroupInfoDto>

Gets a SyncPlay group by id.

Link copied to clipboard
suspend fun syncPlayGetGroups(): Response<List<ERROR CLASS: Symbol not found for GroupInfoDto>>

Gets all SyncPlay groups.

Link copied to clipboard
suspend fun syncPlayJoinGroup(data: ERROR CLASS: Symbol not found for JoinGroupRequestDto): Response<Unit>

Join an existing SyncPlay group.

Link copied to clipboard

Leave the joined SyncPlay group.

Link copied to clipboard
suspend fun syncPlayMovePlaylistItem(data: ERROR CLASS: Symbol not found for MovePlaylistItemRequestDto): Response<Unit>

Request to move an item in the playlist in SyncPlay group.

Link copied to clipboard
suspend fun syncPlayNextItem(data: ERROR CLASS: Symbol not found for NextItemRequestDto): Response<Unit>

Request next item in SyncPlay group.

Link copied to clipboard
suspend fun syncPlayPause(): Response<Unit>

Request pause in SyncPlay group.

Link copied to clipboard
suspend fun syncPlayPing(data: ERROR CLASS: Symbol not found for PingRequestDto): Response<Unit>

Update session ping.

Link copied to clipboard
suspend fun syncPlayPreviousItem(data: ERROR CLASS: Symbol not found for PreviousItemRequestDto): Response<Unit>

Request previous item in SyncPlay group.

Link copied to clipboard
suspend fun syncPlayQueue(data: ERROR CLASS: Symbol not found for QueueRequestDto): Response<Unit>

Request to queue items to the playlist of a SyncPlay group.

Link copied to clipboard
suspend fun syncPlayReady(data: ERROR CLASS: Symbol not found for ReadyRequestDto): Response<Unit>

Notify SyncPlay group that member is ready for playback.

Link copied to clipboard
suspend fun syncPlayRemoveFromPlaylist(data: ERROR CLASS: Symbol not found for RemoveFromPlaylistRequestDto): Response<Unit>

Request to remove items from the playlist in SyncPlay group.

Link copied to clipboard
suspend fun syncPlaySeek(data: ERROR CLASS: Symbol not found for SeekRequestDto): Response<Unit>

Request seek in SyncPlay group.

Link copied to clipboard
suspend fun syncPlaySetIgnoreWait(data: ERROR CLASS: Symbol not found for IgnoreWaitRequestDto): Response<Unit>

Request SyncPlay group to ignore member during group-wait.

Link copied to clipboard
suspend fun syncPlaySetNewQueue(data: ERROR CLASS: Symbol not found for PlayRequestDto): Response<Unit>

Request to set new playlist in SyncPlay group.

Link copied to clipboard
suspend fun syncPlaySetPlaylistItem(data: ERROR CLASS: Symbol not found for SetPlaylistItemRequestDto): Response<Unit>

Request to change playlist item in SyncPlay group.

Link copied to clipboard
suspend fun syncPlaySetRepeatMode(data: ERROR CLASS: Symbol not found for SetRepeatModeRequestDto): Response<Unit>

Request to set repeat mode in SyncPlay group.

Link copied to clipboard
suspend fun syncPlaySetShuffleMode(data: ERROR CLASS: Symbol not found for SetShuffleModeRequestDto): Response<Unit>

Request to set shuffle mode in SyncPlay group.

Link copied to clipboard
suspend fun syncPlayStop(): Response<Unit>

Request stop in SyncPlay group.

Link copied to clipboard
suspend fun syncPlayUnpause(): Response<Unit>

Request unpause in SyncPlay group.