DevicePairingResultStatus
DevicePairingResultStatus
DevicePairingResultStatus
DevicePairingResultStatus
Enum
Definition
The result of the pairing action with an Association Endpoint (AEP) device object. For more information about AEP objects, see DeviceInformationKind.
public : enum class DevicePairingResultStatuspublic enum DevicePairingResultStatusPublic Enum DevicePairingResultStatus// You can use this enum in JavaScript.
- Attributes
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Fields
| AccessDenied AccessDenied AccessDenied AccessDenied | Your application does not have the appropriate permissions level to pair the device object. |
| AlreadyPaired AlreadyPaired AlreadyPaired AlreadyPaired | The device object has already been paired. |
| AuthenticationFailure AuthenticationFailure AuthenticationFailure AuthenticationFailure | Authentication failed, so the device is not paired. Either the device object or the application rejected the authentication. |
| AuthenticationNotAllowed AuthenticationNotAllowed AuthenticationNotAllowed AuthenticationNotAllowed | The authentication protocol is not supported, so the device is not paired. |
| AuthenticationTimeout AuthenticationTimeout AuthenticationTimeout AuthenticationTimeout | The authentication process timed out before it could complete. |
| ConnectionRejected ConnectionRejected ConnectionRejected ConnectionRejected | The device object rejected the connection. |
| Failed Failed Failed Failed | An unknown failure occurred. |
| HardwareFailure HardwareFailure HardwareFailure HardwareFailure | The device object indicated there was a hardware failure. |
| InvalidCeremonyData InvalidCeremonyData InvalidCeremonyData InvalidCeremonyData | The ceremony data was incorrect. |
| NoSupportedProfiles NoSupportedProfiles NoSupportedProfiles NoSupportedProfiles | There are no network profiles for this device object to use. |
| NotPaired NotPaired NotPaired NotPaired | The device object is not currently paired. |
| NotReadyToPair NotReadyToPair NotReadyToPair NotReadyToPair | The device object is not in a state where it can be paired. |
| OperationAlreadyInProgress OperationAlreadyInProgress OperationAlreadyInProgress OperationAlreadyInProgress | The device object is already attempting to pair or unpair. |
| Paired Paired Paired Paired | The device object is now paired. |
| PairingCanceled PairingCanceled PairingCanceled PairingCanceled | The pairing action was canceled before completion. |
| ProtectionLevelCouldNotBeMet ProtectionLevelCouldNotBeMet ProtectionLevelCouldNotBeMet ProtectionLevelCouldNotBeMet | The minimum level of protection is not supported by the device object or the application. |
| RejectedByHandler RejectedByHandler RejectedByHandler RejectedByHandler | The application handler rejected the pairing. |
| RemoteDeviceHasAssociation RemoteDeviceHasAssociation RemoteDeviceHasAssociation RemoteDeviceHasAssociation | The remove device already has an association. |
| RequiredHandlerNotRegistered RequiredHandlerNotRegistered RequiredHandlerNotRegistered RequiredHandlerNotRegistered | Either the event handler wasn't registered or a required DevicePairingKinds was not supported. |
| TooManyConnections TooManyConnections TooManyConnections TooManyConnections | The device object indicated it cannot accept any more incoming connections. |