语言

Control.StatusError 字段

定义

注意

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

用于指示加载设备状态时出现临时错误。

[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

字段值

Value = 3

实现

特性

注解

用于指示加载设备状态时出现临时错误。 将显示默认错误消息,以代替通过 StatefulBuilder#setStatusText设置的任何自定义文本。

Java文档android.service.controls.Control.STATUS_ERROR。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于