Method | Description | |
---|---|---|
ConnectToDeviceAsync ( IDevice device, bool autoconnect = false, |
||
ConnectToKnownDeviceAsync ( System.Guid deviceGuid, |
||
DisconnectDeviceAsync ( IDevice device ) : Task | ||
GetSystemConnectedOrPairedDevices ( System.Guid services = null ) : List |
||
HandleConnectedDevice ( IDevice device ) : void | ||
HandleConnectionFail ( IDevice device, string errorMessage ) : void | ||
HandleDisconnectedDevice ( bool disconnectRequested, IDevice device ) : void | ||
HandleDiscoveredDevice ( IDevice device ) : void | ||
StartScanningForDevicesAsync ( System.Guid serviceUuids = null, bool>.Func |
||
StopScanningForDevicesAsync ( ) : Task |
Method | Description | |
---|---|---|
AdapterBase ( ) : System | ||
ConnectToDeviceNativeAsync ( IDevice device, bool autoconnect, |
||
DisconnectDeviceNative ( IDevice device ) : void | ||
StartScanningForDevicesNativeAsync ( System.Guid serviceUuids, bool allowDuplicatesKey, |
||
StopScanNative ( ) : void |
Method | Description | |
---|---|---|
CleanupScan ( ) : void |
public ConnectToDeviceAsync ( IDevice device, bool autoconnect = false, |
||
device | IDevice | |
autoconnect | bool | |
cancellationToken | ||
return | Task |
protected abstract ConnectToDeviceNativeAsync ( IDevice device, bool autoconnect, |
||
device | IDevice | |
autoconnect | bool | |
cancellationToken | ||
return | Task |
public abstract ConnectToKnownDeviceAsync ( System.Guid deviceGuid, |
||
deviceGuid | System.Guid | |
cancellationToken | ||
return | Task |
public DisconnectDeviceAsync ( IDevice device ) : Task | ||
device | IDevice | |
return | Task |
protected abstract DisconnectDeviceNative ( IDevice device ) : void | ||
device | IDevice | |
return | void |
public abstract GetSystemConnectedOrPairedDevices ( System.Guid services = null ) : List |
||
services | System.Guid | |
return | List |
public HandleConnectedDevice ( IDevice device ) : void | ||
device | IDevice | |
return | void |
public HandleConnectionFail ( IDevice device, string errorMessage ) : void | ||
device | IDevice | |
errorMessage | string | |
return | void |
public HandleDisconnectedDevice ( bool disconnectRequested, IDevice device ) : void | ||
disconnectRequested | bool | |
device | IDevice | |
return | void |
public HandleDiscoveredDevice ( IDevice device ) : void | ||
device | IDevice | |
return | void |
public StartScanningForDevicesAsync ( System.Guid serviceUuids = null, bool>.Func |
||
serviceUuids | System.Guid | |
deviceFilter | bool>.Func | |
allowDuplicatesKey | bool | |
cancellationToken | ||
return | Task |
protected abstract StartScanningForDevicesNativeAsync ( System.Guid serviceUuids, bool allowDuplicatesKey, |
||
serviceUuids | System.Guid | |
allowDuplicatesKey | bool | |
scanCancellationToken | ||
return | Task |
public StopScanningForDevicesAsync ( ) : Task | ||
return | Task |