public static class UnifiedMessage.MessageBuilder.ApnsBuilder extends Object
Constructor and Description |
---|
ApnsBuilder(UnifiedMessage.MessageBuilder builder) |
Modifier and Type | Method and Description |
---|---|
UnifiedMessage.MessageBuilder.ApnsBuilder |
action(String action)
Sets the value of the 'action' key from the submitted payload.
|
UnifiedMessage.MessageBuilder.ApnsBuilder |
actionCategory(String actionCategory)
An iOS specific argument to pass an Action Category for interaction notifications ( iOS8)
|
UnifiedMessage.MessageBuilder |
build() |
UnifiedMessage.MessageBuilder.ApnsBuilder |
contentAvailable()
An iOS specific argument to mark the payload as 'content-available'.
|
UnifiedMessage.MessageBuilder.ApnsBuilder |
localizedTitleArguments(String[] localizedTitleArguments)
Sets the arguments for the localizable title key
|
UnifiedMessage.MessageBuilder.ApnsBuilder |
localizedTitleKey(String localizedTitleKey)
The key to a title string in the Localizable.strings file for the current localization.
|
UnifiedMessage.MessageBuilder.ApnsBuilder |
title(String title)
Sets the value of the 'title' key from the submitted payload.
|
UnifiedMessage.MessageBuilder.ApnsBuilder |
urlArgs(String[] urlArgs)
Sets the value of the 'url-args' key from the submitted payload.
|
public ApnsBuilder(UnifiedMessage.MessageBuilder builder)
public UnifiedMessage.MessageBuilder.ApnsBuilder contentAvailable()
UnifiedMessage.MessageBuilder.ApnsBuilder
instancepublic UnifiedMessage.MessageBuilder.ApnsBuilder actionCategory(String actionCategory)
actionCategory
- the identifier of the action category for the interactive notificationUnifiedMessage.MessageBuilder.ApnsBuilder
instancepublic UnifiedMessage.MessageBuilder.ApnsBuilder action(String action)
action
- the 'action' keyUnifiedMessage.MessageBuilder.ApnsBuilder
instancepublic UnifiedMessage.MessageBuilder.ApnsBuilder title(String title)
title
- the value of the 'title' keyUnifiedMessage.MessageBuilder.ApnsBuilder
instancepublic UnifiedMessage.MessageBuilder.ApnsBuilder localizedTitleKey(String localizedTitleKey)
localizedTitleKey
- the localized title keyUnifiedMessage.MessageBuilder.ApnsBuilder
instancepublic UnifiedMessage.MessageBuilder.ApnsBuilder localizedTitleArguments(String[] localizedTitleArguments)
localizedTitleArguments
- the localized title argumentsUnifiedMessage.MessageBuilder.ApnsBuilder
instancepublic UnifiedMessage.MessageBuilder.ApnsBuilder urlArgs(String[] urlArgs)
urlArgs
- a String Array containing the keysUnifiedMessage.MessageBuilder.ApnsBuilder
instancepublic UnifiedMessage.MessageBuilder build()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.