public static class NotificationDetails.NotificationDetailsBuilder
extends java.lang.Object
Constructor and Description |
---|
NotificationDetailsBuilder() |
Modifier and Type | Method and Description |
---|---|
NotificationDetails |
build()
Builds and returns an instance of
NotificationDetails . |
NotificationDetails.NotificationDetailsBuilder |
bundle(android.os.Bundle bundle)
The bundle received by the local push notification service.
|
NotificationDetails.NotificationDetailsBuilder |
from(java.lang.String from)
The from string received by the local push notification service.
|
NotificationDetails.NotificationDetailsBuilder |
intent(android.content.Intent intent)
The intent received by the local push notification service.
|
NotificationDetails.NotificationDetailsBuilder |
intentAction(java.lang.String intentAction)
The intent action that identifies the push notification service platform.
|
NotificationDetails.NotificationDetailsBuilder |
mapData(java.util.Map<java.lang.String,java.lang.String> mapData)
The mapData received by the local push notification service.
|
NotificationDetails.NotificationDetailsBuilder |
message(java.lang.String message)
The message received by the local push notification service.
|
NotificationDetails.NotificationDetailsBuilder |
notificationChannelId(java.lang.String notificationChannelId)
The NotificationChannelId needed for the local push notification service in Android Oreo and above.
|
NotificationDetails.NotificationDetailsBuilder |
serviceClass(java.lang.Class<? extends android.app.Service> serviceClass)
The Android Service class that received the push notification.
|
public NotificationDetails.NotificationDetailsBuilder from(java.lang.String from)
from
- the "from" string received by the push notification service.NotificationDetails.NotificationDetailsBuilder
public NotificationDetails.NotificationDetailsBuilder bundle(android.os.Bundle bundle)
bundle
- the "bundle" received by the push notification service.NotificationDetails.NotificationDetailsBuilder
public NotificationDetails.NotificationDetailsBuilder serviceClass(java.lang.Class<? extends android.app.Service> serviceClass)
serviceClass
- Android service class that received the push notificationNotificationDetails.NotificationDetailsBuilder
public NotificationDetails.NotificationDetailsBuilder intentAction(java.lang.String intentAction)
intentAction
- the intent action that identifies the push notification service platformNotificationDetails.NotificationDetailsBuilder
public NotificationDetails.NotificationDetailsBuilder mapData(java.util.Map<java.lang.String,java.lang.String> mapData)
mapData
- the "mapData" received by the push notification service.NotificationDetails.NotificationDetailsBuilder
public NotificationDetails.NotificationDetailsBuilder intent(android.content.Intent intent)
intent
- the "intent" received by the push notification service.NotificationDetails.NotificationDetailsBuilder
public NotificationDetails.NotificationDetailsBuilder message(java.lang.String message)
message
- the "message" received by the push notification service.NotificationDetails.NotificationDetailsBuilder
public NotificationDetails.NotificationDetailsBuilder notificationChannelId(java.lang.String notificationChannelId)
notificationChannelId
- the notification channel id to be associated with this notification.NotificationDetails.NotificationDetailsBuilder
public NotificationDetails build()
NotificationDetails
.NotificationDetails
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.