Added in API level 28

InstanceCountViolation


public class InstanceCountViolation
extends Violation

java.lang.Object
   ↳ java.lang.Throwable
     ↳ android.os.strictmode.Violation
       ↳ android.os.strictmode.InstanceCountViolation


Summary

Public methods

long getNumberOfInstances()

Inherited methods

Public methods

getNumberOfInstances

Added in API level 28
public long getNumberOfInstances ()

Returns
long