Permissions$Typings extension

on

Methods

query(Object desc) Future<PermissionStatus>

Available on Permissions, provided by the Permissions$Typings extension

Resolves to the current status of a permission.
querySync(Object desc) PermissionStatus

Available on Permissions, provided by the Permissions$Typings extension

Returns the current status of a permission.
request(Object desc) Future<PermissionStatus>

Available on Permissions, provided by the Permissions$Typings extension

Requests the permission, and resolves to the state of the permission.
requestSync(Object desc) PermissionStatus

Available on Permissions, provided by the Permissions$Typings extension

Requests the permission, and returns the state of the permission.
revoke(Object desc) Future<PermissionStatus>

Available on Permissions, provided by the Permissions$Typings extension

Revokes a permission, and resolves to the state of the permission.
revokeSync(Object desc) PermissionStatus

Available on Permissions, provided by the Permissions$Typings extension

Revokes a permission, and returns the state of the permission.