class RPermission
class RequestFragment : Fragment |
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 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. |
|
fun checkPermissionGranted(context: Context, array: Array<String>): Boolean
check permission is granted |
val PERMISSION_FAILED: Int |
|
val PERMISSION_GRANTED: Int |
|
var instance: RPermission |