次の方法で共有


RenderNode.ComputeApproximateMemoryUsage Method

Definition

Gets the approximate memory usage of the RenderNode for debug purposes.

[Android.Runtime.Register("computeApproximateMemoryUsage", "()J", "", ApiSince=29)]
public long ComputeApproximateMemoryUsage ();
[<Android.Runtime.Register("computeApproximateMemoryUsage", "()J", "", ApiSince=29)>]
member this.ComputeApproximateMemoryUsage : unit -> int64

Returns

Approximate memory usage in bytes.

Attributes

Remarks

Gets the approximate memory usage of the RenderNode for debug purposes. Does not include the memory usage of any child RenderNodes nor any bitmaps, only the memory usage of this RenderNode and any data it owns.

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

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