CDPotion.Domain.DeviceAccess (cdpotion v0.1.3)
Summary
Types
A device id.
Device information displayed in a user prompt to select a device.
Device request id.
Functions
Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
Disable events in this domain.
Enable events in this domain.
Select a device in response to a DeviceAccess.deviceRequestPrompted event.
Types
Link to this type
device_id()
@type device_id() :: String.t()
A device id.
Link to this type
prompt_device()
Device information displayed in a user prompt to select a device.
Link to this type
request_id()
@type request_id() :: String.t()
Device request id.
Functions
Link to this function
cancel_prompt(id)
Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
Parameters:
- (Required)
id: description not provided :(
Link to this function
disable()
Disable events in this domain.
Link to this function
enable()
Enable events in this domain.
Link to this function
select_prompt(id, device_id)
@spec select_prompt( CDPotion.Domain.DeviceAccess.RequestId, CDPotion.Domain.DeviceAccess.DeviceId ) :: {String.t(), map()}
Select a device in response to a DeviceAccess.deviceRequestPrompted event.
Parameters:
- (Required)
id: description not provided :( - (Required)
device_id: description not provided :(