Compartilhar via


Control.StatusError Field

Definition

Caution

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

Used to indicate that there was a temporary error while loading the device state.

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

Field Value

Value = 3

Implements

Attributes

Remarks

Used to indicate that there was a temporary error while loading the device state. A default error message will be displayed in place of any custom text that was set through StatefulBuilder#setStatusText.

Java documentation for android.service.controls.Control.STATUS_ERROR.

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