mirror of
https://github.com/Michatec/Radio.git
synced 2026-04-01 16:06:27 +02:00
Initial commit
This commit is contained in:
30
app/src/main/java/com/michatec/radio/ui/PlayerState.kt
Normal file
30
app/src/main/java/com/michatec/radio/ui/PlayerState.kt
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* 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
|
||||
Reference in New Issue
Block a user