onesignal_flutter library

Classes

OneSignal
OneSignalInAppMessages
OneSignalLiveActivities
OneSignalNotifications
OneSignalPushSubscription
OSActionButton
Represents a button sent as part of a push notification
OSAndroidBackgroundImageLayout
(Android Only) This class represents the background image layout used for push notifications that show a background image
OSInAppMessage
OSInAppMessageClickEvent
When a click action is defined on an In App Message form the dashboard, the handler returns an OSInAppMessageClickEvent object so the Dart code can act accordingly This event includes the message and the result of the click
OSInAppMessageClickResult
When a click action is defined on an In App Message form the dashboard, the handler returns an OSInAppMessageAction object so the Dart code can act accordingly This allows for custom action events within Dart
OSInAppMessageDidDismissEvent
OSInAppMessageDidDisplayEvent
OSInAppMessageWillDismissEvent
OSInAppMessageWillDisplayEvent
OSNotification
A class representing the notification, including the payload of the notification as well as additional parameters (such as whether the notification was shown to the user, whether it's silent, etc.)
OSNotificationClickEvent
OSNotificationClickResult
An instance of this class represents a user interaction with your push notification, ie. if they tap a button
OSNotificationWillDisplayEvent
OSPushSubscriptionChangedState
An instance of this class describes a change in the user's OneSignal push notification subscription state, ie. the user subscribed to push notifications with your app.
OSPushSubscriptionState
Represents the current user's subscription state with OneSignal

Enums

OSCreateNotificationBadgeType
Applies to iOS notifications only Determines if the badgeCount is used to increment the existing badge count, or sets the badge count directly
OSCreateNotificationDelayOption
control how the notification is delayed timezone: Deliver at a specific time of day in each user's timezone last-active: Deliver at the same time the user last used your app
OSiOSSettings
Various iOS Settings that can be passed during initialization
OSLogLevel
An enum that declares different types of log levels you can use with the OneSignal SDK, going from the least verbose (none) to verbose (print all comments).
OSNotificationActionType
Indicates whether a user tapped a notification (opened) or took a specific action by tapping a button (actionTaken)
OSNotificationDisplayType
OSNotificationPermission
OSSession