Share via


SecondaryAuthenticationFactorDevicePresenceMonitoringMode Enum

Definition

Deprecated. Contains values that describe the type of connection that the system uses to monitor the presence of a companion device (such as a wearable device).

Note

This API is not available to all apps. Unless your developer account is specially provisioned by Microsoft to use the secondaryAuthenticationFactor capability, calls to this API will fail. To apply for approval, contact cdfonboard@microsoft.com. For more information on capabilities, see App capability declarations. For an overview of the Companion Device Framework, see the Windows Unlock with companion (IoT) devices overview.

public enum class SecondaryAuthenticationFactorDevicePresenceMonitoringMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
enum class SecondaryAuthenticationFactorDevicePresenceMonitoringMode
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 262144)]
/// [Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorDevicePresenceMonitoringMode is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
enum class SecondaryAuthenticationFactorDevicePresenceMonitoringMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
public enum SecondaryAuthenticationFactorDevicePresenceMonitoringMode
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 262144)]
[Windows.Foundation.Metadata.Deprecated("SecondaryAuthenticationFactorDevicePresenceMonitoringMode is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.Foundation.UniversalApiContract")]
public enum SecondaryAuthenticationFactorDevicePresenceMonitoringMode
var value = Windows.Security.Authentication.Identity.Provider.SecondaryAuthenticationFactorDevicePresenceMonitoringMode.unsupported
Public Enum SecondaryAuthenticationFactorDevicePresenceMonitoringMode
Inheritance
SecondaryAuthenticationFactorDevicePresenceMonitoringMode
Attributes

Windows requirements

Device family
Windows 10 Creators Update (introduced in 10.0.15063.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v4.0)

Fields

Name Value Description
Unsupported 0

Device presence monitoring is not supported.

AppManaged 1

The system uses an app that corresponds to the companion device to monitor its presence.

SystemManaged 2

The system uses classing Bluetooth protocol to monitor the presence of the companion device.

Remarks

A companion device must specify this value when registering for presence monitoring. If the companion device has only registered for secondary authentication and not presence monitoring, its corresponding SecondaryAuthenticationFactorInfo will show a default value of unsupported.

Applies to