Class AppGuard


  • @Beta
    public final class AppGuard
    extends Object
    Aids SM-ONOS to perform API-level permission checking.
    • Method Detail

      • checkPermission

        public static void checkPermission​(AppPermission.Type permission)
        Checks if the caller has the required permission only when security-mode is enabled.
        Parameters:
        permission - permission to be checked