Share via


RenderNode.UniqueId Property

Definition

Returns the unique ID that identifies this RenderNode.

public long UniqueId { [Android.Runtime.Register("getUniqueId", "()J", "", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getUniqueId", "()J", "", ApiSince=29)>]
member this.UniqueId : int64

Property Value

the unique ID for this RenderNode

Attributes

Remarks

Returns the unique ID that identifies this RenderNode. This ID is unique for the lifetime of the process. IDs are reset on process death, and are unique only within the process.

This ID is intended to be used with debugging tools to associate a particular RenderNode across different debug dumping & inspection tools. For example a View layout inspector should include the unique ID for any RenderNodes that it owns to associate the drawing content with the layout content.

Java documentation for android.graphics.RenderNode.getUniqueId().

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