Documentation

DeviceRequest

Table of Contents

$capabilities  : array<string|int, array<string|int, string>>|null
A list of capabilities; an OR list of AND lists of capabilities.
$count  : int|null
$deviceIDs  : array<string|int, string>|null
$driver  : string|null
$options  : array<string|int, string>|null
Driver-specific options, specified as a key/value pairs. These options.
getCapabilities()  : array<string|int, array<string|int, string>>|null
A list of capabilities; an OR list of AND lists of capabilities.
getCount()  : int|null
getDeviceIDs()  : array<string|int, string>|null
getDriver()  : string|null
getOptions()  : array<string|int, string>|null
Driver-specific options, specified as a key/value pairs. These options.
setCapabilities()  : self
A list of capabilities; an OR list of AND lists of capabilities.
setCount()  : self
setDeviceIDs()  : self
setDriver()  : self
setOptions()  : self
Driver-specific options, specified as a key/value pairs. These options.

Properties

$capabilities

A list of capabilities; an OR list of AND lists of capabilities.

protected array<string|int, array<string|int, string>>|null $capabilities

$deviceIDs

protected array<string|int, string>|null $deviceIDs

$options

Driver-specific options, specified as a key/value pairs. These options.

protected array<string|int, string>|null $options

Methods

getCapabilities()

A list of capabilities; an OR list of AND lists of capabilities.

public getCapabilities() : array<string|int, array<string|int, string>>|null
Return values
array<string|int, array<string|int, string>>|null

getCount()

public getCount() : int|null
Return values
int|null

getDeviceIDs()

public getDeviceIDs() : array<string|int, string>|null
Return values
array<string|int, string>|null

getDriver()

public getDriver() : string|null
Return values
string|null

getOptions()

Driver-specific options, specified as a key/value pairs. These options.

public getOptions() : array<string|int, string>|null
Return values
array<string|int, string>|null

setCapabilities()

A list of capabilities; an OR list of AND lists of capabilities.

public setCapabilities(array<string|int, array<string|int, string>>|null $capabilities) : self
Parameters
$capabilities : array<string|int, array<string|int, string>>|null
Return values
self

setCount()

public setCount(int|null $count) : self
Parameters
$count : int|null
Return values
self

setDeviceIDs()

public setDeviceIDs(array<string|int, string>|null $deviceIDs) : self
Parameters
$deviceIDs : array<string|int, string>|null
Return values
self

setDriver()

public setDriver(string|null $driver) : self
Parameters
$driver : string|null
Return values
self

setOptions()

Driver-specific options, specified as a key/value pairs. These options.

public setOptions(array<string|int, string>|null $options) : self
Parameters
$options : array<string|int, string>|null
Return values
self

Search results