Compartilhar via


ControlAction.ResponseChallengeAck Field

Definition

Caution

This constant will be removed in the future version. Use Android.Service.Controls.Actions.ControlActionResponse enum directly instead of this field.

Response code for the consumer in ControlsProviderService#performControlAction indicating that in order for the action to be performed, acknowledgment from the user is required.

[Android.Runtime.Register("RESPONSE_CHALLENGE_ACK", ApiSince=30)]
[System.Obsolete("This constant will be removed in the future version. Use Android.Service.Controls.Actions.ControlActionResponse enum directly instead of this field.", true)]
public const Android.Service.Controls.Actions.ControlActionResponse ResponseChallengeAck = 3;
[<Android.Runtime.Register("RESPONSE_CHALLENGE_ACK", ApiSince=30)>]
[<System.Obsolete("This constant will be removed in the future version. Use Android.Service.Controls.Actions.ControlActionResponse enum directly instead of this field.", true)>]
val mutable ResponseChallengeAck : Android.Service.Controls.Actions.ControlActionResponse

Field Value

Value = 3
Attributes

Remarks

Response code for the consumer in ControlsProviderService#performControlAction indicating that in order for the action to be performed, acknowledgment from the user is required. Any non-empty string returned from #getChallengeValue shall be treated as a positive acknowledgment.

Java documentation for android.service.controls.actions.ControlAction.RESPONSE_CHALLENGE_ACK.

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