startPlayback

suspend fun startPlayback(deviceId: String? = null, contextUri: String? = null, uris: List<String>? = null, offset: JsonObject? = null, positionMs: Int? = null): HttpStatusCode(source)

Start or resume the user's playback, click here for further context

Return

HttpStatusCode.NoContent if the request succeeded, HttpStatusCode.NotFound if the device was not found, HttpStatusCode.Forbidden if the user is non-premium

Parameters

deviceId

The device ID, if not provided, the user's current active device is targeted