AppmetricaPushInterface class abstract

The interface that implementations of AppmetricaPush must implement.

Implementers

Constructors

AppmetricaPushInterface()
The interface that implementations of AppmetricaPush must implement.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
onMessage Stream<String>
Returns the stream that is called when a silent push message is received from an incoming payload when the Flutter instance is in the foreground.
no setter
onMessageOpenedApp Stream<String>
Returns a Stream that is called when a user presses a notification message
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenStream Stream<Map<String, String?>>
Token update stream.
no setter

Methods

activate() Future<void>
Initializes the library in the app. Method should be invoked after initialization of the AppMetrica SDK.
getTokens() Future<Map<String, String?>?>
Returns a list of tokens for push providers that AppMetrica Push SDK was initialized with.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
requestPermission(PermissionOptions options) Future<bool?>
Requests permissions to options
toString() String
A string representation of this object.
inherited

Operators

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