C# Class Plugin.BLE.Abstractions.CharacteristicBase

Inheritance: ICharacteristic
Datei anzeigen Open project: xabre/xamarin-bluetooth-le

Public Methods

Method Description
GetDescriptorAsync ( System.Guid id ) : Task
GetDescriptorsAsync ( ) : Task>
ReadAsync ( ) : Task
StartUpdatesAsync ( ) : System.Threading.Tasks.Task
StopUpdatesAsync ( ) : System.Threading.Tasks.Task
WriteAsync ( byte data ) : Task

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
GetWriteType ( ) : CharacteristicWriteType

Method Details

GetDescriptorAsync() public method

public GetDescriptorAsync ( System.Guid id ) : Task
id System.Guid
return Task

GetDescriptorsAsync() public method

public GetDescriptorsAsync ( ) : Task>
return Task>

GetDescriptorsNativeAsync() protected abstract method

protected abstract GetDescriptorsNativeAsync ( ) : Task>
return Task>

ReadAsync() public method

public ReadAsync ( ) : Task
return Task

ReadNativeAsync() protected abstract method

protected abstract ReadNativeAsync ( ) : Task
return Task

StartUpdatesAsync() public method

public StartUpdatesAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StartUpdatesNativeAsync() protected abstract method

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

StopUpdatesAsync() public method

public StopUpdatesAsync ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

StopUpdatesNativeAsync() protected abstract method

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

WriteAsync() public method

public WriteAsync ( byte data ) : Task
data byte
return Task

WriteNativeAsync() protected abstract method

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