Skip to main content

Module device_access

Module device_access 

Source
Expand description

The DeviceAccess domain.

Types, command parameters and event payloads for the DeviceAccess domain. The method-name constants for the same domain are in crate::methods.

This domain is experimental and may change without notice.

Structs§

CancelPromptParams
Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
DeviceRequestPromptedEvent
A device request opened a user prompt to select a device. Respond with the selectPrompt or cancelPrompt command.
DisableParams
Disable events in this domain.
EnableParams
Enable events in this domain.
PromptDevice
Device information displayed in a user prompt to select a device.
SelectPromptParams
Select a device in response to a DeviceAccess.deviceRequestPrompted event.

Type Aliases§

DeviceId
A device id.
RequestId
Device request id.