Поделиться через


ControlAction.ResponseOk Поле

Определение

Внимание!

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

Код ответа для consumerControlsProviderService#performControlAction кода, указывающего, что действие выполнено.

[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

Значение поля

Value = 1
Атрибуты

Комментарии

Код ответа для consumerControlsProviderService#performControlAction кода, указывающего, что действие выполнено. Действие по-прежнему может завершиться ошибкой позже, и состояние может не измениться.

Документация по Java для android.service.controls.actions.ControlAction.RESPONSE_OK.

Части этой страницы — это изменения на основе работы, созданной и общей проектом с открытым исходным кодом Android и используемой в соответствии с условиями, описанными в лицензии Creative Commons 2.5 Attribution.

Применяется к