Package Torello.Browser.BrowserAPI
Class BluetoothEmulation.characteristicOperationReceived
- java.lang.Object
-
- Torello.Browser.BaseType<DOMAIN_NESTED>
-
- Torello.Browser.BrowserEvent<BluetoothEmulation.characteristicOperationReceived>
-
- Torello.Browser.BrowserAPI.BluetoothEmulation.characteristicOperationReceived
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<BaseType<?>>
- Enclosing class:
- BluetoothEmulation
public static class BluetoothEmulation.characteristicOperationReceived extends BrowserEvent<BluetoothEmulation.characteristicOperationReceived> implements java.io.Serializable
This Nested Java Class is declared as an Event-Type by the CDP API Specifications. This class largely functions as a data container or "data record", and encapsulates the datum values that Google Chrome is incorporating into the event that it is firing.
📌 All browser domain event classes will have a class name that begins with a lower case letter.
👉 Note that this particular event can be fired by theBluetoothEmulationdomain, located in theBrowserAPI. A browser 'domain' is quite similar to a Java Package. It incorporates a suite of features, types and functions under one umbrella.Event for when a characteristic operation of |type| to the characteristic respresented by |characteristicId| happened. |data| and |writeType| is expected to exist when |type| is write.- 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: 3,058 Bytes Line Count: 69 '\n' Characters Found
Helper: Equals, HashCode, toJSON, etc
- View Here: BluetoothEmulation$$characteristicOperationReceived$$.java
- Open New Browser-Tab: BluetoothEmulation$$characteristicOperationReceived$$.java
File Size: 10,026 Bytes Line Count: 232 '\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 StringcharacteristicId[No Description Provided by Google]Stringdata[No Description Provided by Google]Stringtype[No Description Provided by Google]StringwriteType[No Description Provided by Google]
-
Constructor Summary
Constructors Constructor Description characteristicOperationReceived(ReadOnlyList<Boolean> isPresent, String characteristicId, String type, String data, String writeType)Constructor.
-
Method Summary
Static Builder Convert a JsonObject to a POJO Modifier and Type Method Description static BluetoothEmulation.characteristicOperationReceivedfromJSON(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.characteristicOperationReceived>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
-
characteristicId
public final java.lang.String characteristicId
[No Description Provided by Google]
-
type
public final java.lang.String type
[No Description Provided by Google]This particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎BluetoothEmulation.CharacteristicOperationType
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = BluetoothEmulation.CharacteristicOperationType.enumStrList("type"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
data
public final java.lang.String data
[No Description Provided by Google]
OPTIONAL
-
writeType
public final java.lang.String writeType
[No Description Provided by Google]
OPTIONALThis particular field will have its values resricted to the contents of a CDP defined Enumerated String List. That list may be viewed here:
📎BluetoothEmulation.CharacteristicWriteType
Programmatically Accessing the Enum:
// Retrieve the list of enumerated strings for this field ReadOnlyList<String> enumerationStrs = BluetoothEmulation.CharacteristicWriteType.enumStrList("writeType"); // Print the list of strings to the terminal for (final String s : enumerationStrs) System.out.println('\"' + s + "\", ");
- See Also:
BaseType.enumStrList(String)
-
-
Constructor Detail
-
characteristicOperationReceived
public characteristicOperationReceived (ReadOnlyList<java.lang.Boolean> isPresent, java.lang.String characteristicId, java.lang.String type, java.lang.String data, java.lang.String writeType)
Constructor. Please review this class' fields for documentation.
-
-
Method Detail
-
fromJSON
public static BluetoothEmulation.characteristicOperationReceived fromJSON (JsonObject jo)
Creates an instance of this class from aJsonObject.- Code:
- Exact Method Body:
return singleton.fromJSON(jo);
-
descriptor
public static NestedDescriptor<BluetoothEmulation.characteristicOperationReceived> descriptor ()
Returns this class'sNestedDescriptorsingleton-instance. class / type.- Code:
- Exact Method Body:
return singleton.descriptor();
-
-