Protected
constructorInstantiate a ScannedChargerNotifier with the properties of a ScannedCharger object.
Readonly
isReadonly
typeStatic
ExtendedStatic
MutableBluetooth MAC address, 48 bits, Not available on iOS.
The Pixel battery level (percentage).
The Pixel color.
The value of the die face that is currently facing up.
The 0-based index of the die face that is currently facing up.
A D20 die will have face indices ranging from 0 to 19.
Index 0 corresponds to face 1 and index 19 to face 20.
D10 and D00 share the same face indices but have different face values.
Index 0 corresponds to face 0 of both dice types.
Index 9 corresponds to face 9 for a D10 and to face 90 for a D00.
The fudge die returns the following indices:
- O and 5 for the "+" face .
- 1 and 4 for the "-" face.
- 2 and 3 for the "blank" face.
The Pixel die type.
The Pixel firmware build date.
Whether the Pixel battery is charging or not. Set to 'true' if fully charged but still on charger.
The number of LEDs of the Pixel.
The Pixels die name.
The unique Pixel id of the device.
The Pixel roll state.
The last RSSI value measured by the Pixel.
The unique id assigned by the system to the Pixel Bluetooth peripheral.
Timestamp when the advertisement data was received.
Adds the given listener function for the specified property.
The name of the property.
The callback function.
Protected
emitRemoves the given listener function for the specified property.
The name of the property.
The callback function to unregister.
Update the mutable properties and raise the corresponding events.
The new values for the properties to update.
Static
findStatic
get
Wraps a ScannedCharger to raise events on mutable property changes.