Language

RemoteViews.GetDrawInstructions Method

Definition

Returns the DrawInstructions associated with this RemoteViews, if any.

[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

Returns

The DrawInstructions object, or null if this RemoteViews does not contain draw instructions.

Attributes

Remarks

Returns the DrawInstructions associated with this RemoteViews, if any.

If this RemoteViews is a container holding multiple responsive layouts (such as sized layouts created for different screen dimensions or landscape/portrait variants), this method returns the draw instructions of the smallest child view (for sized layouts) or the portrait child view (for orientation layouts).

Android reference for android.widget.RemoteViews.getDrawInstructions.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to