語言

Control.StatusOk 欄位

定義

警告

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。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於