onesignal_flutter_without_location 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'ssilent
, 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
Extensions
Typedefs
- OnClickInAppMessageListener = void Function(OSInAppMessageClickEvent event)
- OnDidDismissInAppMessageListener = void Function(OSInAppMessageDidDismissEvent event)
- OnDidDisplayInAppMessageListener = void Function(OSInAppMessageDidDisplayEvent event)
- OnNotificationClickListener = void Function(OSNotificationClickEvent event)
- OnNotificationPermissionChangeObserver = void Function(bool permission)
- OnNotificationWillDisplayListener = void Function(OSNotificationWillDisplayEvent event)
- OnPushSubscriptionChangeObserver = void Function(OSPushSubscriptionChangedState stateChanges)
- OnWillDismissInAppMessageListener = void Function(OSInAppMessageWillDismissEvent event)
- OnWillDisplayInAppMessageListener = void Function(OSInAppMessageWillDisplayEvent event)