DSAppState class abstract

Call DSAppState.preInit before create application in all cases

Constructors

DSAppState.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

isInForeground bool
App is in foreground
no setter
isInitialized bool
Is DSAppState initialized successfully
no setter

Static Methods

internalInit() → void
Dont call it directly if you call DSMetrica.init
registerStateCallback(DSAppLifecycleStateCallback callback) → void
Add handler for application state change
unregisterStateCallback(DSAppLifecycleStateCallback callback) → void
Remove handler for application state change