Permissions$Typings extension
- on
Methods
-
query(
Object desc) → Future< PermissionStatus> - Resolves to the current status of a permission.
-
querySync(
Object desc) → PermissionStatus - Returns the current status of a permission.
-
request(
Object desc) → Future< PermissionStatus> - Requests the permission, and resolves to the state of the permission.
-
requestSync(
Object desc) → PermissionStatus - Requests the permission, and returns the state of the permission.
-
revoke(
Object desc) → Future< PermissionStatus> - Revokes a permission, and resolves to the state of the permission.
-
revokeSync(
Object desc) → PermissionStatus - Revokes a permission, and returns the state of the permission.