AppmetricaPushChannel class
An implementation of AppmetricaPushPlatformInterface that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- AppmetricaPushPlatformInterface
- AppmetricaPushChannel
Constructors
- AppmetricaPushChannel.new()
- An implementation of AppmetricaPushPlatformInterface that uses method channels.
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
-
onMessageController
→ StreamController<
String> -
Message Stream Controller
finalinherited
-
onMessageOpenedApp
→ Stream<
String> -
Returns a Stream that is called when a user presses a notification message
no setteroverride
-
onMessageOpenedAppController
→ StreamController<
String> -
Message Opened App Stream Controller
finalinherited
- 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