DeviceAccessApi class
Constructors
- DeviceAccessApi(Client _client)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onDeviceRequestPrompted
→ Stream<
DeviceRequestPromptedEvent> -
A device request opened a user prompt to select a device. Respond with the
selectPrompt or cancelPrompt command.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
cancelPrompt(
RequestId id) → Future< void> - Cancel a prompt in response to a DeviceAccess.deviceRequestPrompted event.
-
disable(
) → Future< void> - Disable events in this domain.
-
enable(
) → Future< void> - Enable events in this domain.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
selectPrompt(
RequestId id, DeviceId deviceId) → Future< void> - Select a device in response to a DeviceAccess.deviceRequestPrompted event.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited