Module permissions

Index

Variables

Interfaces

Functions

Variables

onAdded: PermissionsAddedEvent

onRemoved: PermissionsRemovedEvent

Functions

contains(permissions: Permissions, callback: (result: boolean) => void)

Parameters

  • permissions: Permissions
  • callback: (result: boolean) => void

getAll(callback: (permissions: chrome.permissions.Permissions) => void)

Parameters

  • callback: (permissions: chrome.permissions.Permissions) => void

remove(permissions: Permissions, callback?: (removed: boolean) => void)

Parameters

  • permissions: Permissions
  • callback?: (removed: boolean) => void optional

request(permissions: Permissions, callback?: (granted: boolean) => void)

Parameters

  • permissions: Permissions
  • callback?: (granted: boolean) => void optional