utils/firebase_message_utils library
Classes
- AndroidNotification
- Android specific properties of a RemoteNotification.
- AppleNotification
- Apple specific properties of a RemoteNotification.
- AppleNotificationSound
- Represents the sound property for AppleNotification
- BinaryReader
- The BinaryReader is used to bring data back from the binary format on the disk.
- BinaryWriter
- The BinaryWriter is used to encode data to the binary format.
-
Box<
E> - Boxes contain all of your data. In the browser, each box has its own IndexedDB database. On all other platforms, each Box is stored in a separate file in the Hive home directory.
-
BoxBase<
E> - Boxes contain all of your data. In the browser, each box has its own IndexedDB database. On all other platforms, each Box is stored in a seperate file in the Hive home directory.
- BoxCollection
- BoxEvent
- A event representing a change in a box.
- CloudMessage
- CloudMessageAdapter
- CloudMessageUtils
-
CollectionBox<
V> - represents a Box being part of a BoxCollection
- FirebaseMessaging
- The FirebaseMessaging entry point.
- FirebaseMessagingUtils
- HiveAesCipher
- Default encryption algorithm. Uses AES256 CBC with PKCS7 padding.
- HiveCipher
- Abstract cipher can be implemented to customize encryption.
-
HiveCollection<
E extends HiveObjectMixin> - List containing HiveObjectMixins.
- HiveField
- Annotate all fields you want to persist with HiveField.
- HiveInterface
-
The main API interface of Hive. Available through the
Hive
constant. -
HiveList<
E extends HiveObjectMixin> - Allows defining references to other HiveObjectMixins.
- HiveObject
- HiveType
-
Annotate classes with HiveType to generate a
TypeAdapter
. -
LazyBox<
E> - LazyBoxes don't keep the values in memory like normal boxes. Each time a value is read, it is loaded from the backend.
- NotificationSettings
- Represents the devices notification settings.
- RemoteMessage
- A class representing a message sent from Firebase Cloud Messaging.
- RemoteNotification
- A class representing a notification which has been construted and sent to the device via FCM.
-
TypeAdapter<
T> - Type adapters can be implemented to support non primitive values.
- TypeRegistry
- TypeRegistries contain the TypeAdapters associated with a typeId.
Enums
- AndroidNotificationPriority
- An enum representing a notification priority on Android.
- AndroidNotificationVisibility
- An enum representing the visibility level of a notification on Android.
- AppleNotificationSetting
- An enum representing a notification setting for this app on the device.
- AppleShowPreviewSetting
- An enum representing the show previews notification setting for this app on the device.
- AuthorizationStatus
- Represents the current status of the platforms notification permissions.
- HiveStorageBackendPreference
- declares the preferred JS StorageBackend to be used
Mixins
- HiveObjectMixin
-
Extend
HiveObject
to add useful methods to the objects you want to store in Hive
Extensions
Constants
- androidChannelDescription → const String
- NOTIFY_ANDROID_CHANNEL_ID → const String
- NOTIFY_ID → const int
Properties
- Hive → HiveInterface
-
Global constant to access Hive.
final
Typedefs
-
BackgroundMessageHandler
= Future<
void> Function(RemoteMessage message) - Defines a handler for incoming remote message payloads.
- CompactionStrategy = bool Function(int entries, int deletedEntries)
- A function which decides when to compact a box.
- KeyComparator = int Function(dynamic key1, dynamic key2)
Exceptions / Errors
- HiveError
- An error related to Hive.