masamune_notification library
Masamune plugin to use base classes and stubs to implement PUSH notifications.
To use, import package:masamune_notification/masamune_notification.dart
.
Classes
- CollectionNotificationTargetQuery
- A query to send a PUSH notification for all tokens in a specific field, with conditions specified for a specific collection.
- LocalNotification
- Class for handling LocalPush notifications.
- LocalNotificationMasamuneAdapter
-
MasamuneAdapter
for receiving local PUSH notifications. - LocalNotificationScheduleModel
- Model for scheduling and registering local PUSH notifications.
- ModelCopyDocumentScheduleBase
- Abstract class for defining a document with a schedule for copying the document at a specified date and time.
- ModelDeleteDocumentsScheduleBase
- Abstract class for defining documents with a schedule for deleting all documents in a collection.
- ModelNotificationScheduleBase
- Abstract class for defining a document with a schedule for PUSH notifications.
- ModelServerCommandCopyDocumentSchedule
-
ModelServerCommandBase
to copy all documents to time. - ModelServerCommandDeleteDocumentsSchedule
-
ModelServerCommandBase
to delete all documents for the collection specified in time. - ModelServerCommandRemoteNotificationSchedule
-
ModelServerCommandBase
for remote PUSH notification to time. - ModelTokenNotificationTargetQuery
- A query that specifies a list of tokens to send PUSH notifications to.
- NotificationTargetQuery
- A query to set the recipients of remote notifications.
- NotificationValue
- Stores data for notification.
- RemoteNotification
- Class for handling FirebaseMessaging.
- RemoteNotificationListenResponse
- Class that stores the response to RemoteNotificationMasamuneAdapter.listen.
- RemoteNotificationMasamuneAdapter
-
MasamuneAdapter
for receiving remote PUSH notifications. - RemoteNotificationScheduleModel
- This model is for scheduling and registering remote PUSH notifications.
- RuntimeLocalNotificationMasamuneAdapter
-
MasamuneAdapter
to receive local PUSH notifications for testing. - RuntimeRemoteNotificationMasamuneAdapter
-
MasamuneAdapter
to receive remote PUSH notifications for testing. - SchedulerQuery
- Holds configuration data for the scheduler.
- SendRemoteNotificationFunctionsAction
-
FunctionsAction
for sending remote PUSH notifications from the server side. - SendRemoteNotificationFunctionsActionResponse
-
FunctionsAction
response to send remote PUSH notification from the server side. - TokenNotificationTargetQuery
- A query that specifies a list of tokens to send PUSH notifications to.
- TopicNotificationTargetQuery
- A query that specifies a topic to send PUSH notifications to.
Enums
- LocalNotificationRepeatSettings
- Set up repeated local PUSH notifications.
- NotificationLoggerEvent
- Push notification event for logging.
- NotificationSound
- Sound of push notification.
Typedefs
- LocalNotificationScheduleModelCollection = _$LocalNotificationScheduleModelCollection
- Collection class for storing LocalNotificationScheduleModel.
- LocalNotificationScheduleModelDocument = _$LocalNotificationScheduleModelDocument
- Document class for storing LocalNotificationScheduleModel.
- LocalNotificationScheduleModelInitialCollection = _$LocalNotificationScheduleModelInitialCollection
-
Class for defining initial values to be passed to
initialValue
ofRuntimeModelAdapter
. - LocalNotificationScheduleModelKeys = _$LocalNotificationScheduleModelKeys
- Enum of the name of the value defined in LocalNotificationScheduleModel.
- LocalNotificationScheduleModelMirrorCollection = _$LocalNotificationScheduleModelMirrorCollection
- Collection class for storing LocalNotificationScheduleModel.
- LocalNotificationScheduleModelMirrorDocument = _$LocalNotificationScheduleModelMirrorDocument
- Document class for storing LocalNotificationScheduleModel.
- LocalNotificationScheduleModelMirrorInitialCollection = _$LocalNotificationScheduleModelMirrorInitialCollection
-
Class for defining initial values to be passed to
initialValue
ofRuntimeModelAdapter
. - LocalNotificationScheduleModelMirrorRefPath = _$LocalNotificationScheduleModelMirrorRefPath
- It can be defined as an empty ModelRef
-
LocalNotificationScheduleModelRef
= ModelRef<
LocalNotificationScheduleModel> ? - Alias for ModelRef
- LocalNotificationScheduleModelRefPath = _$LocalNotificationScheduleModelRefPath
- It can be defined as an empty ModelRef
- RemoteNotificationScheduleModelCollection = _$RemoteNotificationScheduleModelCollection
- Collection class for storing RemoteNotificationScheduleModel.
- RemoteNotificationScheduleModelDocument = _$RemoteNotificationScheduleModelDocument
- Document class for storing RemoteNotificationScheduleModel.
- RemoteNotificationScheduleModelInitialCollection = _$RemoteNotificationScheduleModelInitialCollection
-
Class for defining initial values to be passed to
initialValue
ofRuntimeModelAdapter
. - RemoteNotificationScheduleModelKeys = _$RemoteNotificationScheduleModelKeys
- Enum of the name of the value defined in RemoteNotificationScheduleModel.
- RemoteNotificationScheduleModelMirrorCollection = _$RemoteNotificationScheduleModelMirrorCollection
- Collection class for storing RemoteNotificationScheduleModel.
- RemoteNotificationScheduleModelMirrorDocument = _$RemoteNotificationScheduleModelMirrorDocument
- Document class for storing RemoteNotificationScheduleModel.
- RemoteNotificationScheduleModelMirrorInitialCollection = _$RemoteNotificationScheduleModelMirrorInitialCollection
-
Class for defining initial values to be passed to
initialValue
ofRuntimeModelAdapter
. - RemoteNotificationScheduleModelMirrorRefPath = _$RemoteNotificationScheduleModelMirrorRefPath
- It can be defined as an empty ModelRef
-
RemoteNotificationScheduleModelRef
= ModelRef<
RemoteNotificationScheduleModel> ? - Alias for ModelRef
- RemoteNotificationScheduleModelRefPath = _$RemoteNotificationScheduleModelRefPath
- It can be defined as an empty ModelRef