wclGattClientFindService Method |
The method searches the service with specified
UUID.
Namespace: wclBluetoothAssembly: wclBluetoothFramework (in wclBluetoothFramework.dll) Version: 7.17.12.0 (7.17.12.0)
Syntax public int FindService(
wclGattUuid Uuid,
out wclGattService? Service,
wclGattOperationFlag Flag = wclGattOperationFlag.goNone
)
Public Function FindService (
Uuid As wclGattUuid,
<OutAttribute> ByRef Service As wclGattService?,
Optional Flag As wclGattOperationFlag = wclGattOperationFlag.goNone
) As Integer
public:
int FindService(
wclGattUuid Uuid,
[OutAttribute] Nullable<wclGattService>% Service,
wclGattOperationFlag Flag = wclGattOperationFlag::goNone
)
Parameters
- Uuid wclGattUuid
- The required service's UUID.
- Service NullablewclGattService
- If the method completed with success on output
contains the required service. If the method failed the value is
undefined.
- Flag wclGattOperationFlag (Optional)
- Operation behavior flag.
Return Value
Int32 If the function succeed the return value is
WCL_E_SUCCESS. Otherwise the method returns one of
the WCL error codes.
See Also