ResultResume

open class ResultResume(val packageString: String, val action: String = Intent.ACTION_VIEW, val position: String? = null, val duration: String? = null, var launcher: ActivityResultLauncher<Intent>? = null)

Constructors

Link copied to clipboard
constructor(packageString: String, action: String = Intent.ACTION_VIEW, position: String? = null, duration: String? = null, launcher: ActivityResultLauncher<Intent>? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val duration: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val position: String? = null

Functions

Link copied to clipboard
open fun getDuration(intent: Intent?): Long
Link copied to clipboard
open fun getPosition(intent: Intent?): Long
Link copied to clipboard
suspend fun launch(id: Int?, callback: suspend Intent.() -> Unit)