mirror of
https://github.com/Michatec/Radio.git
synced 2026-04-01 07:56:27 +02:00
31 lines
683 B
Kotlin
31 lines
683 B
Kotlin
/*
|
|
* PlayerState.kt
|
|
* Implements the PlayerState class
|
|
* A PlayerState holds parameters describing the state of the player part of the UI
|
|
*
|
|
* This file is part of
|
|
* TRANSISTOR - Radio App for Android
|
|
*
|
|
* Copyright (c) 2015-22 - Y20K.org
|
|
* Licensed under the MIT-License
|
|
* http://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
|
|
package com.michatec.radio.ui
|
|
|
|
import android.os.Parcelable
|
|
import com.google.gson.annotations.Expose
|
|
import kotlinx.parcelize.Parcelize
|
|
|
|
|
|
/*
|
|
* PlayerState class
|
|
*/
|
|
@Parcelize
|
|
data class PlayerState(
|
|
@Expose var stationUuid: String = String(),
|
|
@Expose var isPlaying: Boolean = false,
|
|
@Expose var sleepTimerRunning: Boolean = false
|
|
) : Parcelable
|