Class: $.ThingyDelegate
- Inherits:
-
BluetoothLowEnergy.BleDelegate
-
BluetoothLowEnergy.BleDelegate
-
Overview
Instance Member Summary collapse
- _onCharWrite as Lang.WeakReference or Null
- _onConnection as Lang.WeakReference or Null
- _onScanResult as Lang.WeakReference or Null
- _profileManager as $.ProfileManager
Instance Method Summary collapse
-
broadcastScanResult(scanResult as BluetoothLowEnergy.ScanResult) as Void
Broadcast a new scan result.
-
contains(iter as BluetoothLowEnergy.Iterator, obj as BluetoothLowEnergy.Uuid) as Lang.Boolean
Get whether the iterator contains a specific uuid.
-
initialize(profileManager as $.ProfileManager)
Constructor.
-
notifyCharWrite(manager as $.DeviceManager) as Void
Store a new manager to handle characteristic writes.
-
notifyConnection(manager as $.DeviceManager) as Void
Store a new manager to manage device connections.
-
notifyScanResult(manager as $.DeviceManager) as Void
Store a new manager to manage scan results.
-
onCharacteristicWrite(characteristic as BluetoothLowEnergy.Characteristic, status as BluetoothLowEnergy.Status) as Void
Handle the completion of a write operation on a characteristic.
-
onConnectedStateChanged(device as BluetoothLowEnergy.Device, state as BluetoothLowEnergy.ConnectionState) as Void
Handle pairing and connecting to a device.
-
onScanResults(scanResults as BluetoothLowEnergy.Iterator) as Void
Handle new Scan Results being received.
Instance Attribute Details
var _onCharWrite as Lang.WeakReference or Null
var _onConnection as Lang.WeakReference or Null
var _onScanResult as Lang.WeakReference or Null
var _profileManager as $.ProfileManager
Instance Method Details
broadcastScanResult(scanResult as BluetoothLowEnergy.ScanResult) as Void
Broadcast a new scan result
contains(iter as BluetoothLowEnergy.Iterator, obj as BluetoothLowEnergy.Uuid) as Lang.Boolean
Get whether the iterator contains a specific uuid
initialize(profileManager as $.ProfileManager)
Constructor
notifyCharWrite(manager as $.DeviceManager) as Void
Store a new manager to handle characteristic writes
notifyConnection(manager as $.DeviceManager) as Void
Store a new manager to manage device connections
notifyScanResult(manager as $.DeviceManager) as Void
Store a new manager to manage scan results
onCharacteristicWrite(characteristic as BluetoothLowEnergy.Characteristic, status as BluetoothLowEnergy.Status) as Void
Handle the completion of a write operation on a characteristic
onConnectedStateChanged(device as BluetoothLowEnergy.Device, state as BluetoothLowEnergy.ConnectionState) as Void
Handle pairing and connecting to a device
onScanResults(scanResults as BluetoothLowEnergy.Iterator) as Void
Handle new Scan Results being received