語言

RemoteViews.GetDrawInstructions 方法

定義

回傳與此 RemoteViews 相關的 DrawInstruction(如果有的話)。

[Android.Runtime.Register("getDrawInstructions", "()Landroid/widget/RemoteViews$DrawInstructions;", "GetGetDrawInstructionsHandler", ApiSince=37)]
public virtual Android.Widget.RemoteViews.DrawInstructions? GetDrawInstructions();
[<Android.Runtime.Register("getDrawInstructions", "()Landroid/widget/RemoteViews$DrawInstructions;", "GetGetDrawInstructionsHandler", ApiSince=37)>]
abstract member GetDrawInstructions : unit -> Android.Widget.RemoteViews.DrawInstructions
override this.GetDrawInstructions : unit -> Android.Widget.RemoteViews.DrawInstructions

傳回

DrawInstructions 物件,或若此 RemoteViews 不包含繪製指令則為 null。

屬性

備註

回傳與此 RemoteViews 相關的 DrawInstruction(如果有的話)。

如果這個 RemoteViews 是一個容器,裡面有多個響應式版面(例如為不同螢幕尺寸或橫向/直向變體製作的尺寸版面),此方法會回傳最小子畫面(用於尺寸版面)或直向子畫面(用於方向版面)的繪圖指令。

Android 參考資料。android.widget.RemoteViews.getDrawInstructions

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

適用於