2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: Permission
|
|
|
|
---
|
|
|
|
|
|
|
|
# Permission type
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
#### Signature:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
2023-01-09 09:58:41 +00:00
|
|
|
export type Permission =
|
2022-08-06 14:49:20 +00:00
|
|
|
| 'geolocation'
|
|
|
|
| 'midi'
|
|
|
|
| 'notifications'
|
|
|
|
| 'camera'
|
|
|
|
| 'microphone'
|
|
|
|
| 'background-sync'
|
|
|
|
| 'ambient-light-sensor'
|
|
|
|
| 'accelerometer'
|
|
|
|
| 'gyroscope'
|
|
|
|
| 'magnetometer'
|
|
|
|
| 'accessibility-events'
|
|
|
|
| 'clipboard-read'
|
|
|
|
| 'clipboard-write'
|
|
|
|
| 'payment-handler'
|
|
|
|
| 'persistent-storage'
|
|
|
|
| 'idle-detection'
|
|
|
|
| 'midi-sysex';
|
|
|
|
```
|