@btfuse/core
Version:
A native-first framework for building hybdrid web-native applications
10 lines (9 loc) • 391 B
TypeScript
import { IFuseGrantResult } from './IFuseGrantResult';
export declare class FusePermissionGrantResult<TSupportedPermission extends number = number> {
private $results;
constructor(results: IFuseGrantResult<TSupportedPermission>);
isGranted(permission: TSupportedPermission): boolean;
isAllGranted(): boolean;
rejectJustifications(): void;
shouldJustify(): boolean;
}