BTLEDeviceManager class

Inheritance

Constructors

BTLEDeviceManager()

Properties

batteryLevel int
The runtime battery level of this device.
read-only, inherited
btleAddress String
The Bluetooth address of this BTLE device in the form 00:04:79:00:0F:4D.
read-only
deviceRegistration DeviceRegistration
The registration for this device.
read / write, inherited
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
Get a unique id for this device.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
status DeviceStatus
The runtime status of this device.
read / write, inherited
statusEvents Stream<DeviceStatus>
The stream of status events for this device.
read-only, inherited
supportedDataTypes Set<String>
The set of data types defining which data can be collected on this device.
read-only, inherited
type String
The type of this device
read-only, inherited

Methods

canConnect() bool
Determines whether a connection can be made at this point in time to the device.
inherited
connect() Future
Ask this DeviceManager to connect to the device.
inherited
disconnect() Future
Ask this DeviceManager to disconnect from the device.
inherited
initialize(String type) → void
Initialize the device data collector by specifying its type. [...]
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited