ServiceProviderClient class abstract

A base class for new service providers to implement and add functionality

Service Providers are AWS services that link with FCM/APNS to send push notifications.

Constructors

ServiceProviderClient()

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

identifyUser({required String userId, UserProfile? userProfile}) Future<void>
Link the user details to the service provider so messages can be targeted on a user level.
init({required NotificationsOutputs config, required AmplifyAuthProviderRepository authProviderRepo}) Future<void>
Initialize this client, used by the plugin during configuration.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
recordNotificationEvent({required PinpointEventType eventType, required PushNotificationMessage notification}) Future<void>
Used when a notification related event occurs such as notification received or opened
registerDevice(String deviceToken) Future<void>
Register the device with the servie provider so it can be targeted for Push Notifications.
toString() String
A string representation of this object.
inherited

Operators

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