ControlAction.ResponseOk 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 the action has been performed.

[Android.Runtime.Register("RESPONSE_OK", 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 ResponseOk = 1;
[<Android.Runtime.Register("RESPONSE_OK", 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 ResponseOk : Android.Service.Controls.Actions.ControlActionResponse

Field Value

Value = 1
Attributes

Remarks

Response code for the consumer in ControlsProviderService#performControlAction indicating that the action has been performed. The action may still fail later and the state may not change.

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

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