state property

PermissionState get state

The state read-only property of the PermissionStatus interface returns the state of a requested permission. This property returns one of 'granted', 'denied', or 'prompt'.

Implementation

external PermissionState get state;