lightbulb_outline Help shape the future of the Google Play Console, Android Studio, and Firebase. Start survey
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