Other Classes
The following classes are available globally.
-
Buttonless Dfu Characteristic
See more -
Buttonless Dfu Characteristic
See more -
Represents the DFU Service.
See more -
Buttonless Dfu Characteristic
See more -
Firmware characteristic
See more -
Hardware characteristic
See more -
Manufacturer name characteristic
See more -
Model number characteristic
See more -
Serial number characteristic
See more -
Represents the primary Service.
See more -
BLE Manager responsible for finding and connecting to peripherals. It can be subscribed to be notified about
- onBluetoothStateChange (Bluetooth state changed)
- onDeviceDiscovered (Device discovered)
- onDeviceStateChange (Device connected / disconnected)
- onDeviceConnectionFailed ()
Declaration
Swift
-
Create instances of
See moreZTSignal
and assign them to public constants on your class for each event type that your class fires. -
-
Logger
-
Property list, A file with the default settings.
In the macOS, iOS, NeXTSTEP, and GNUstep programming frameworks, property list files are files that store serialized objects.
Property list files use the filename extension .plist, and thus are often referred to as p-list files.
See morelet plist = ZTPlist(withNameAtDocumentDirectory: "Plister") plist.set(2020,for: "new.year") plist.get("new.year") // Output: 2020
-