语言

RemoteViews.GetDrawInstructions 方法

定义

返回与此 RemoteViews 关联的 DrawInstructions(如果有)。

[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 关联的 DrawInstructions(如果有)。

如果此 RemoteViews 是包含多个响应式布局的容器(例如为不同的屏幕尺寸或横向/纵向变体创建的布局),此方法将返回最小子视图(适用于大小布局)或纵向子视图(方向布局)的绘图说明。

Android 参考。android.widget.RemoteViews.getDrawInstructions

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于