query method
The query() method of the Permissions interface returns the state
of a user permission on the global scope.
Implementation
external JSPromise<PermissionStatus> query(JSObject permissionDesc);The query() method of the Permissions interface returns the state
of a user permission on the global scope.
external JSPromise<PermissionStatus> query(JSObject permissionDesc);