WebBrowser
Configuration of an internet-connected web browser device with no built-in sensors.
A PrimaryDeviceConfiguration registered with a WebBrowserRegistration.
- Inheritance
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
WebBrowser.fromJson
WebBrowser
- String roleName = WebBrowser.DEFAULT_ROLE_NAME,
Create a new web browser device descriptor. If roleName is not specified, then the DEFAULT_ROLE_NAME is used.
Constants
DEFAULT_ROLE_NAME
The default role name for a web browser device.
DEVICE_TYPE
The type of a web browser device.
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
Methods
createRegistration
- String? deviceId,
- String? deviceDisplayName,
- String? browserName,
- int? deviceMemory,
- String? language,
- String? vendor,
- int? maxTouchPoints,
- int? hardwareConcurrency,
override
Create a DeviceRegistration which can be used to configure this device for deployment.
Override this method to configure device-specific registration options, if any.
toJson
Return a JSON encoding of this object.