checkPermission

fun checkPermission(permission: String): Boolean

Function to check if application has permission

Return

Does the application has the requested permission?

Parameters

permission

name of the permission to check