C# Class Plugin.BLE.iOS.Characteristic

Inheritance: Plugin.BLE.Abstractions.CharacteristicBase
Mostrar archivo Open project: xabre/xamarin-bluetooth-le Class Usage Examples

Public Methods

Method Description
Characteristic ( CBCharacteristic nativeCharacteristic, CBPeripheral parentDevice ) : System

Protected Methods

Method Description
GetDescriptorsNativeAsync ( ) : Task>
ReadNativeAsync ( ) : Task
StartUpdatesNativeAsync ( ) : System.Threading.Tasks.Task
StopUpdatesNativeAsync ( ) : System.Threading.Tasks.Task
WriteNativeAsync ( byte data, CharacteristicWriteType writeType ) : Task

Private Methods

Method Description
UpdatedNotify ( object sender, CBCharacteristicEventArgs e ) : void

Method Details

Characteristic() public method

public Characteristic ( CBCharacteristic nativeCharacteristic, CBPeripheral parentDevice ) : System
nativeCharacteristic CBCharacteristic
parentDevice CBPeripheral
return System

GetDescriptorsNativeAsync() protected method

protected GetDescriptorsNativeAsync ( ) : Task>
return Task>

ReadNativeAsync() protected method

protected ReadNativeAsync ( ) : Task
return Task

StartUpdatesNativeAsync() protected method

protected StartUpdatesNativeAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StopUpdatesNativeAsync() protected method

protected StopUpdatesNativeAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

WriteNativeAsync() protected method

protected WriteNativeAsync ( byte data, CharacteristicWriteType writeType ) : Task
data byte
writeType CharacteristicWriteType
return Task