TwclWiFiDirectDeviceWatcher.IsPaired(string,Boolean) Method
Gets The WiFi Direct device's pairing status.
public function IsPaired(const Id: string; out Paired: Boolean): Integer;
Parameters
- Id
- Type: string
The WiFi Direct device's ID.
- Paired
- Type: Boolean
If the method completed with success on output contains information about WiFi Direct pairing status.
True
if the WiFi Direct device is paired.False
otherwise.
Return Value
Type: Integer
If the function succeed the return value is wclErrors.WCL_E_SUCCESS. Otherwise the method returns one of the WCL error codes.