checkPermission

fun checkPermission(permission: String): Boolean

Function to check if application has permission

Return

is the application has the permission?

Parameters

permission

name of the permission to check