has Permission

fun hasPermission(permission: String): Boolean

Method to check if application has permission

Return

is the application has the permission?

Parameters

permission

name of the permission to check

Sources

Link copied to clipboard