set Repeat Mode
suspend fun setRepeatMode(repeatState: RepeatState, deviceId: String? = null): HttpStatusCode(source)
Set the repeat mode of the user's player
Return
HttpStatusCode.NoContent if the request succeeded, HttpStatusCode.NotFound if the device was not found, HttpStatusCode.Forbidden if the user is non-premium
Parameters
repeat State
The repeat state, represented by the RepeatState enum class
device Id
The device ID, if not provided, the user's current active device is targeted