| Modifier and Type | Class and Description |
|---|---|
static class |
Target.Builder.Platform
Determines platforms for notification.
|
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
Target |
build() |
Target.Builder |
deviceIds(String[] deviceIds) |
Target.Builder |
platforms(Target.Builder.Platform[] platforms) |
Target.Builder |
tagNames(String[] tagNames) |
Target.Builder |
userIds(String[] userIds) |
public final Target.Builder deviceIds(String[] deviceIds)
deviceIds - Send notification to the list of specified devices.public final Target.Builder userIds(String[] userIds)
userIds - Send notification to the specified userIds.public final Target.Builder tagNames(String[] tagNames)
tagNames - Send notification to the devices that have subscribed to
any of these tags.public final Target.Builder platforms(Target.Builder.Platform[] platforms)
platforms - Send notification to the devices of the specified
platforms. 'A' for apple (iOS) devices, 'G' for google
(Android) devices, 'WEB_CHROME' for Chrome Web Browsers,
'WEB_FIREFOX' for Firefox Web Browsers, 'WEB_SAFARI' for
Safari Push Notifications and 'APPEXT_CHROME' for Chrome
App Extension.Copyright © 2019. All rights reserved.