checkPermission
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.
Determine whether the given permission is allowed. In the lower version, the default value is set to true.
– The name of the permission being checked.