Метод | Описание | |
---|---|---|
Characteristic ( CBPeripheral peripheral, CBCharacteristic nativeCharacteristic ) : System |
Initializes a new instance of the BluetoothLE.iOS.Characteristic class.
|
|
Dispose ( ) : void |
Releases all resource used by the BluetoothLE.iOS.Characteristic object. Call Dispose when you are finished using the BluetoothLE.iOS.Characteristic. The Dispose method leaves the BluetoothLE.iOS.Characteristic in an unusable state. After calling Dispose, you must release all references to the BluetoothLE.iOS.Characteristic so the garbage collector can reclaim the memory that the BluetoothLE.iOS.Characteristic was occupying. |
|
Read ( ) : void |
Read the characteristic's value
|
|
StartUpdates ( ) : void |
Subscribe to the characteristic
|
|
StopUpdates ( ) : void |
Unsubscribe from the characteristic
|
|
Write ( byte data ) : void |
Write the specified data to the characteristic
|
Метод | Описание | |
---|---|---|
UpdatedCharacteristicValue ( object sender, CBCharacteristicEventArgs e ) : void |
public Characteristic ( CBPeripheral peripheral, CBCharacteristic nativeCharacteristic ) : System | ||
peripheral | CBPeripheral | The native peripheral. |
nativeCharacteristic | CBCharacteristic | The native characteristic. |
Результат | System |