Control.StatusOk 字段
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
This constant will be removed in the future version. Use Android.Service.Controls.ControlStatus enum directly instead of this field.
用于指示已成功检索设备的状态。
[Android.Runtime.Register("STATUS_OK", 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 StatusOk = 1;
[<Android.Runtime.Register("STATUS_OK", 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 StatusOk : Android.Service.Controls.ControlStatus
字段值
Value = 1实现
- 特性
注解
用于指示已成功检索设备的状态。 这包括设备可能向用户发出警告(如“锁定堵塞”或“真空卡住”)的所有方案。 应通过 StatefulBuilder#setStatusText设置用户的任何信息。
Java文档android.service.controls.Control.STATUS_OK。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。