Package Torello.Browser.BrowserAPI
Class BluetoothEmulation.ScanRecord
- java.lang.Object
-
- Torello.Browser.BaseType<BluetoothEmulation.ScanRecord>
-
- Torello.Browser.BrowserAPI.BluetoothEmulation.ScanRecord
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- BluetoothEmulation
public static class BluetoothEmulation.ScanRecord extends BaseType<BluetoothEmulation.ScanRecord> implements java.io.Serializable
This Nested Java Class is declared as a "Type", which is similar to a Java Class. The CDP API Specifications list this type among the types, events & commands located in theBluetoothEmulationdomain, which may be found within theBrowserAPI.
📌 All browser domain type classes will have a class name that begins with an upper case letter.Stores the byte data of the advertisement packet sent by a Bluetooth device.- See Also:
- Serialized Form
Hi-Lited Source-Code:This File's Source Code:
- View Here: Torello/Browser/BrowserAPI/BluetoothEmulation.java
- Open New Browser-Tab: Torello/Browser/BrowserAPI/BluetoothEmulation.java
File Size: 2,857 Bytes Line Count: 75 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: BluetoothEmulation$$ScanRecord$$.java
- Open New Browser-Tab: BluetoothEmulation$$ScanRecord$$.java
File Size: 10,752 Bytes Line Count: 255 '\n' Characters Found
-
-
Field Summary
Serializable ID Modifier and Type Field Description protected static longserialVersionUIDType Fields / Properties (from Google & Browser Specs) Modifier and Type Field Description IntegerappearanceStores the external appearance description of the device.BluetoothEmulation.ManufacturerData[]manufacturerDataKey is the company identifier and the value is an array of bytes of manufacturer specific data.Stringname[No Description Provided by Google]IntegertxPowerStores the transmission power of a broadcasting device.String[]uuids[No Description Provided by Google]-
Fields inherited from class Torello.Browser.BaseType
domain, helperSingleton, isPresent, numFields
-
-
Constructor Summary
Constructors Constructor Description ScanRecord(ReadOnlyList<Boolean> isPresent, String name, String[] uuids, Integer appearance, Integer txPower, BluetoothEmulation.ManufacturerData[] manufacturerData)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static BluetoothEmulation.ScanRecordfromJSON(JsonObject jo)Creates an instance of this class from aJsonObject.Retrieve the Type-Descriptor Singleton-Instance for this Nested Class. Modifier and Type Method Description static NestedDescriptor<BluetoothEmulation.ScanRecord>descriptor()Returns this class'sNestedDescriptorsingleton-instance.-
Methods inherited from class Torello.Browser.BaseType
allEnumStrROLs, compareTo, enumStrList, enumStrValidate, enumStrValidateThrow, equals, hashCode, isPresent, optionalsValidate, optionalsValidateThrow, toJSON, toString
-
-
-
-
Field Detail
-
serialVersionUID
protected static final long serialVersionUID
This fulfils the SerialVersion UID requirement for all classes that implement Java'sinterface java.io.Serializable. Using theSerializableImplementation offered by java is very easy, and can make saving program state when debugging a lot easier. It can also be used in place of more complicated systems like "hibernate" to store data as well.- See Also:
- Constant Field Values
-
name
public final java.lang.String name
[No Description Provided by Google]
OPTIONAL
-
uuids
public final java.lang.String[] uuids
[No Description Provided by Google]
OPTIONAL
-
appearance
public final java.lang.Integer appearance
Stores the external appearance description of the device.
OPTIONAL
-
txPower
public final java.lang.Integer txPower
Stores the transmission power of a broadcasting device.
OPTIONAL
-
manufacturerData
public final BluetoothEmulation.ManufacturerData[] manufacturerData
Key is the company identifier and the value is an array of bytes of manufacturer specific data.
OPTIONAL
-
-
Constructor Detail
-
ScanRecord
public ScanRecord(ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String name, java.lang.String[] uuids, java.lang.Integer appearance, java.lang.Integer txPower, BluetoothEmulation.ManufacturerData[] manufacturerData)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static BluetoothEmulation.ScanRecord fromJSON(JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<BluetoothEmulation.ScanRecord> descriptor()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-