All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.internal.model.Context.kt Maven / Gradle / Ivy

package dev.schlaubi.lyrics.internal.model

import kotlinx.serialization.Serializable

internal val mobileYoutubeMusicContext = Context(Context.Client("ANDROID_MUSIC", "6.31.55"))
internal fun mobileYoutubeMusicContext(region: String?) =
    Context(Context.Client("ANDROID_MUSIC", "6.31.55", region))

@Serializable
internal data class Context(
    val client: Client
) {
    @Serializable
    data class Client(val clientName: String, val clientVersion: String, val hl: String? = null)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy