C# Class AncsNotifier.AncsManager

Datei anzeigen Open project: troufster/AncsNotifier Class Usage Examples

Public Properties

Property Type Description
FlagCache EventFlags>.Dictionary
OnUpdate Action

Public Methods

Method Description
AncsManager ( ) : System
Connect ( ) : void
OnAction ( PlainNotification notification, bool positive ) : void

Private Methods

Method Description
ByteArrayToNotificationSourceData ( byte packet ) : NotificationSourceData
DataSourceCharacteristicOnValueChanged ( GattCharacteristic sender, GattValueChangedEventArgs args ) : void
DeviceOnConnectionStatusChanged ( BluetoothLEDevice device, object args ) : void
NotificationSourceCharacteristicOnValueChanged ( GattCharacteristic sender, GattValueChangedEventArgs args ) : void
OnUpdateReceived ( IActivatedEventArgs activatedEventArgs ) : void
StructureToByteArray ( object obj ) : byte[]

Method Details

AncsManager() public method

public AncsManager ( ) : System
return System

Connect() public method

public Connect ( ) : void
return void

OnAction() public method

public OnAction ( PlainNotification notification, bool positive ) : void
notification PlainNotification
positive bool
return void

Property Details

FlagCache public_oe property

public Dictionary FlagCache
return EventFlags>.Dictionary

OnUpdate public_oe static_oe property

public static Action OnUpdate
return Action