Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PermissionGrant

import type { PermissionGrant } from "https://googleapis.deno.dev/v1/androidmanagement:v1.ts";

Configuration for an Android permission and its grant state.

interface PermissionGrant {
permission?: string;
policy?:
| "PERMISSION_POLICY_UNSPECIFIED"
| "PROMPT"
| "GRANT"
| "DENY";
}

§Properties

§
permission?: string
[src]

The Android permission or group, e.g. android.permission.READ_CALENDAR or android.permission_group.CALENDAR.

§
policy?: "PERMISSION_POLICY_UNSPECIFIED" | "PROMPT" | "GRANT" | "DENY"
[src]

The policy for granting the permission.