-
Notifications
You must be signed in to change notification settings - Fork 0
remember media player state
milan jurkulák edited this page May 2, 2024
·
1 revision
//tvlib/org.mjdev.tvlib.ui.components.media/MediaPlayerState/Companion/rememberMediaPlayerState
[androidJvm]\
fun rememberMediaPlayerState(items: List<MediaItem> = listOf(), itemToPlay: Int = 0, autoPlay: Boolean = true, playNextOnError: Boolean = true, startSeek: Long? = null, context: Context = LocalContext.current, onError: MediaPlayerState.(error: Throwable) -> Boolean = { false }, isEdit: Boolean = isEditMode()): MediaPlayerState