RemoteGattServerGetPrimaryServicesAsync Method
Returns primary services, optionally filtering to the supplied UUID.
Namespace: InTheHand.BluetoothAssembly: InTheHand.BluetoothLE (in InTheHand.BluetoothLE.dll) Version: 4.0.28+5cdf1cfd21064ea31c5de33d160200ca1c4bc218
public Task<List<GattService>> GetPrimaryServicesAsync(
BluetoothUuid? service = null
)
Public Function GetPrimaryServicesAsync (
Optional service As BluetoothUuid? = Nothing
) As Task(Of List(Of GattService))
public:
Task<List<GattService^>^>^ GetPrimaryServicesAsync(
Nullable<BluetoothUuid> service = nullptr
)
member GetPrimaryServicesAsync :
?service : Nullable<BluetoothUuid>
(* Defaults:
let _service = defaultArg service null
*)
-> Task<List<GattService>>
- service NullableBluetoothUuid (Optional)
- Optional service UUID.
TaskListGattServiceA list of matching primary services.