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

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象