AppmetricaPush class

Methods of the class are used for configuring the AppMetrica Push SDK library.

Implemented types

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 setteroverride
onMessageOpenedApp Stream<String>
Returns a Stream that is called when a user presses a notification message
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tokenStream Stream<Map<String, String?>>
Token update stream.
no setteroverride

Methods

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

Operators

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

Static Properties

instance AppmetricaPushInterface
instance
no setter