Class: Selenium::WebDriver::BiDi::Protocol::Bluetooth::HandleRequestDevicePromptParameters Private

Inherits:
Serialization::Union
  • Object
show all
Defined in:
lib/selenium/webdriver/bidi/protocol/bluetooth.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Constant Summary collapse

AcceptParameters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  accept: {fixed: true},
  context: {wire_key: 'context', primitive: 'string'},
  prompt: {wire_key: 'prompt', primitive: 'string'},
  device: {wire_key: 'device', primitive: 'string'}
)
CancelParameters =

This constant is part of a private API. You should avoid using this constant if possible, as it may be removed or be changed in the future.

Serialization::Record.define(
  accept: {fixed: false},
  context: {wire_key: 'context', primitive: 'string'},
  prompt: {wire_key: 'prompt', primitive: 'string'}
)

Class Method Summary collapse

Methods inherited from Serialization::Union

build, discriminator, fallback, from_json, object_only, presence, scalar_values, valid_outbound?, variants

Class Method Details

.falseObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



155
# File 'lib/selenium/webdriver/bidi/protocol/bluetooth.rb', line 155

def self.false(**) = Bluetooth::HandleRequestDevicePromptParameters::CancelParameters.new(**)

.trueObject

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



154
# File 'lib/selenium/webdriver/bidi/protocol/bluetooth.rb', line 154

def self.true(**) = Bluetooth::HandleRequestDevicePromptParameters::AcceptParameters.new(**)