Språk

ControlActionResponse Enum

Definition

Specifies the result of a control action or a request for user authentication.

public enum ControlActionResponse
type ControlActionResponse = 
Inheritance
ControlActionResponse

Fields

Name Value Description
Unknown 0

The action result is unknown. This response has the numeric value 0.

Ok 1

The action was performed, but it can still fail later and the control state might not change.

Fail 2

The action failed.

ChallengeAck 3

The action requires user acknowledgment. Any non-empty challenge value is a positive acknowledgment.

ChallengePin 4

The action requires a PIN from the user.

ChallengePassphrase 5

The action requires an alphanumeric passphrase from the user.

Remarks

These values represent the Android ControlAction.RESPONSE_* constants. A provider sends a response through the callback passed to ControlsProviderService.PerformControlAction. A challenge response requests user input that is sent with a subsequent action in ChallengeValue.

Android response constants and authentication challenge contract.

Applies to