@JvmOverloads fun checkPermission(context: Context, array: Array<String>, callback: (Int, List<String>) -> Unit = { _, _ -> }): Boolean
fun checkPermission(context: Context, array: Array<String>, callback: F2<Int, List<String>>?): Boolean
check and request Permission which given.
array
- array of Permission to check
Return
check result
fun checkPermission(context: Context, list: List<String>, callback: (Int, List<String>) -> Unit): Boolean
fun checkPermission(context: Context, list: List<String>, callback: F2<Int, List<String>>?): Boolean
check and request Permission which given.
list
- list of Permission to check
Return
check result