Methods

Chrome DevTools

DeviceAccess.cancelPrompt #

Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.

Parameters


Chrome DevTools

DeviceAccess.disable #

Disable events in this domain.


Chrome DevTools

DeviceAccess.enable #

Enable events in this domain.


Chrome DevTools

DeviceAccess.selectPrompt #

Select a device in response to a DeviceAccess.deviceRequestPrompted event.

Parameters

deviceId

Events

Chrome DevTools

DeviceAccess.deviceRequestPrompted #

A device request opened a user prompt to select a device. Respond with the selectPrompt or cancelPrompt command.

Parameters

devices
array[ PromptDevice ]

Types

Chrome DevTools

DeviceAccess.DeviceId #

A device id.

Type: string


Chrome DevTools

DeviceAccess.PromptDevice #

Device information displayed in a user prompt to select a device.

Type: object

Properties

name
string

Display name as it appears in a device request user prompt.


Chrome DevTools

DeviceAccess.RequestId #

Device request id.

Type: string