Taal

CrossDeviceAuthenticationException.ErrorNotInForeground Field

Definition

Caution

This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.

The calling package was not visible in the foreground.

[Android.Runtime.Register("ERROR_NOT_IN_FOREGROUND", ApiSince=37)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.", true)]
public const Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode ErrorNotInForeground = 6;
[<Android.Runtime.Register("ERROR_NOT_IN_FOREGROUND", ApiSince=37)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode enum directly instead of this field.", true)>]
val mutable ErrorNotInForeground : Android.Security.AuthenticationPolicy.CrossDeviceAuthenticationExceptionErrorCode

Field Value

Value = 6
Attributes

Remarks

The calling package was not visible in the foreground. Some form of foreground visibility is always required, but the exact definition of varies based on the device's form factor.

Android reference for android.security.authenticationpolicy.CrossDeviceAuthenticationException.ERROR_NOT_IN_FOREGROUND.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to