AppmetricaPushPlatformInterface class abstract
The interface that implementations of AppmetricaPush must implement.
- Inheritance
-
- Object
- PlatformInterface
- AppmetricaPushPlatformInterface
- Implemented types
- Implementers
Constructors
- AppmetricaPushPlatformInterface.new()
- Constructs a AppmetricaPushPlatformInterface.
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 setterinherited
-
onMessageController
→ StreamController<
String> -
Message Stream Controller
final
-
onMessageOpenedApp
→ Stream<
String> -
Returns a Stream that is called when a user presses a notification message
no setterinherited
-
onMessageOpenedAppController
→ StreamController<
String> -
Message Opened App Stream Controller
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
tokenStream
→ Stream<
Map< String, String?> > -
Token update stream.
no setterinherited
Methods
-
activate(
) → Future< void> -
Initializes the library in the app. Method should be invoked after initialization of the AppMetrica SDK.
inherited
-
getTokens(
) → Future< Map< String, String?> ?> -
Returns a list of tokens for push providers that AppMetrica Push SDK was initialized with.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
requestPermission(
PermissionOptions options) → Future< bool?> -
Requests permissions to options
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- instance ↔ AppmetricaPushPlatformInterface
-
The default instance of AppmetricaPushPlatformInterface to use.
getter/setter pair