Language

Activity.InstanceCount Property

Definition

Gets the legacy platform activity debugging counter.

public static long InstanceCount { [Android.Runtime.Register("getInstanceCount", "()J", "")] get; }
[<get: Android.Runtime.Register("getInstanceCount", "()J", "")>]
static member InstanceCount : int64

Property Value

The legacy counter, which remains zero in the Android 2.3.7 implementation because instance tracking is disabled.

Attributes

Remarks

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