Files
Radio/app/src/main/java/com/michatec/radio/ui/PlayerState.kt
2025-04-27 15:07:05 +02:00

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