public class

AccengageNotificationProvider

extends Object
implements NotificationProvider
java.lang.Object
   ↳ com.urbanairship.accengage.notifications.AccengageNotificationProvider

Class Overview

Accengage notification provider.

Summary

[Expand]
Inherited Constants
From interface com.urbanairship.push.notifications.NotificationProvider
Public Constructors
AccengageNotificationProvider(AirshipConfigOptions configOptions)
AccengageNotificationProvider()
Deprecated.
Public Methods
NotificationResult onCreateNotification(Context context, NotificationArguments arguments)
Called to generate the NotificationResult for a push message.
NotificationArguments onCreateNotificationArguments(Context context, PushMessage message)
Called to generate the NotificationArguments for a push message.
void onNotificationCreated(Context context, Notification notification, NotificationArguments arguments)
Called before posting the notification.
Protected Methods
NotificationCompat.Builder onExtendBuilder(Context context, NotificationCompat.Builder builder, AccengageMessage message, NotificationArguments arguments)
Override this method to extend the notification builder.
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.urbanairship.push.notifications.NotificationProvider

Public Constructors

public AccengageNotificationProvider (AirshipConfigOptions configOptions)

public AccengageNotificationProvider ()

Deprecated. Use AccengageNotificationProvider(AirshipConfigOptions) instead.

Public Methods

public NotificationResult onCreateNotification (Context context, NotificationArguments arguments)

Called to generate the NotificationResult for a push message.

Parameters
context The context.
arguments The arguments from onCreateNotificationArguments(Context, PushMessage).
Returns
  • The notification result.

public NotificationArguments onCreateNotificationArguments (Context context, PushMessage message)

Called to generate the NotificationArguments for a push message.

Parameters
context The context.
message The message.
Returns
  • The notification arguments.

public void onNotificationCreated (Context context, Notification notification, NotificationArguments arguments)

Called before posting the notification. The notification will have settings applied from an associated NotificationChannelCompat on pre-O devices Use this method to apply any global overrides to the notification.

Parameters
context The context.
notification The notification.
arguments The notification arguments.

Protected Methods

protected NotificationCompat.Builder onExtendBuilder (Context context, NotificationCompat.Builder builder, AccengageMessage message, NotificationArguments arguments)

Override this method to extend the notification builder.

Parameters
context The context.
builder The builder.
message The Accengage message.
arguments The notification arguments.
Returns
  • The notification builder.