@Beta
public final class AppGuard
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
checkPermission(AppPermission.Type permission)
Checks if the caller has the required permission only when security-mode is enabled.
|
public static void checkPermission(AppPermission.Type permission)
permission
- permission to be checked