Språk

RemoteViews.DrawInstructions.Bytes Property

Definition

Returns the list of serialized draw instructions.

public System.Collections.Generic.IList<byte[]> Bytes { [Android.Runtime.Register("getBytes", "()Ljava/util/List;", "", ApiSince=37)] get; }
[<get: Android.Runtime.Register("getBytes", "()Ljava/util/List;", "", ApiSince=37)>]
member this.Bytes : System.Collections.Generic.IList<byte[]>

Property Value

IList<Byte[]>

The list of serialized draw instructions, where each element is a standalone byte[] representing a separate serialized draw instruction. This value cannot be null.

Attributes

Remarks

Returns the list of serialized draw instructions.

Each element in the list is a standalone byte[] representing a separate serialized draw instruction payload.

Note: This method is used to retrieve the raw byte payloads of the draw instructions (e.g. for custom rendering by passing them to a RemoteCompose player) rather than using the high-level RemoteViews inflation mechanism.

Android reference for android.widget.RemoteViews.DrawInstructions.getBytes.

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