SKVideo
Parameters
url
url of video you want play
playing Initial
indicate if the video should play automatically when ready
sound Initial
indicate if the soud should be on or of
Constructors
Functions
compute Item Id
Link copied to clipboard
do With Permission
Link copied to clipboard
fun doWithPermission(permission: SKPermission, onKo: () -> Unit?, onOk: () -> Unit)
Content copied to clipboard
has Permission
Link copied to clipboard
launch With Loader And Errors
Link copied to clipboard
fun launchWithLoaderAndErrors(context: CoroutineContext, start: CoroutineStart, errorMessage: String?, block: suspend CoroutineScope.() -> Unit): Job
Content copied to clipboard
launch With Options
Link copied to clipboard
fun launchWithOptions(context: CoroutineContext, start: CoroutineStart, withLoader: Boolean, specificErrorTreatment: (ex: Exception) -> Unit?, errorMessage: String?, block: suspend CoroutineScope.() -> Unit): Job
Content copied to clipboard
request Permissions
Link copied to clipboard
fun requestPermissions(permissions: List<SKPermission>, onResult: (grantedPermissions: List<SKPermission>) -> Unit)
Content copied to clipboard
treat Error
Link copied to clipboard