checkPermission

open override fun checkPermission(permission: String): Boolean

Determine whether the given permission is allowed. In the lower version, the default value is set to true.

Parameters

permission

– The name of the permission being checked.