mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2024-09-09 05:56:54 +00:00
26 lines
537 B
Kotlin
26 lines
537 B
Kotlin
|
package org.schabi.newpipe.util
|
||
|
|
||
|
import android.os.Parcelable
|
||
|
import kotlinx.android.parcel.Parcelize
|
||
|
|
||
|
/**
|
||
|
* Information about the saved state on the disk.
|
||
|
*/
|
||
|
@Parcelize
|
||
|
class SavedState(
|
||
|
/**
|
||
|
* Get the prefix of the saved file.
|
||
|
*
|
||
|
* @return the file prefix
|
||
|
*/
|
||
|
val prefixFileSaved: String,
|
||
|
/**
|
||
|
* Get the path to the saved file.
|
||
|
*
|
||
|
* @return the path to the saved file
|
||
|
*/
|
||
|
val pathFileSaved: String
|
||
|
) : Parcelable {
|
||
|
override fun toString() = "$prefixFileSaved > $pathFileSaved"
|
||
|
}
|