Language

StatusBarManager.GetAgentStateScreenLocation(Int32) メソッド

定義

指定された表示のエージェント タスク状態 UI の画面上の絶対境界をフェッチします。

[Android.Runtime.Register("getAgentStateScreenLocation", "(I)Landroid/graphics/Rect;", "GetGetAgentStateScreenLocation_IHandler", ApiSince=37)]
public virtual Android.Graphics.Rect? GetAgentStateScreenLocation(int displayId);
[<Android.Runtime.Register("getAgentStateScreenLocation", "(I)Landroid/graphics/Rect;", "GetGetAgentStateScreenLocation_IHandler", ApiSince=37)>]
abstract member GetAgentStateScreenLocation : int -> Android.Graphics.Rect
override this.GetAgentStateScreenLocation : int -> Android.Graphics.Rect

パラメーター

displayId
Int32

画面上の場所を照会するディスプレイの ID。

返品

指定されたディスプレイのエージェント状態アイコンの画面上の絶対境界。 指定されたディスプレイにエージェント タスクの状態が表示されない場合、または値のフェッチで問題が発生した場合は、null を返します。

属性

適用対象