| Modifier and Type | Method and Description |
|---|---|
boolean |
PushServerClient.addUsersToCampaign(Long campaignId,
List<String> users)
Add a list of users to a specific campaign
|
io.getlime.core.rest.model.base.response.ObjectResponse<CreateCampaignResponse> |
PushServerClient.createCampaign(Long appId,
PushMessageBody message)
Create a campaign.
|
boolean |
PushServerClient.createDevice(Long appId,
String token,
MobilePlatform platform)
Register anonymous device to the push server.
|
boolean |
PushServerClient.createDevice(Long appId,
String token,
MobilePlatform platform,
String activationId)
Register device associated with activation ID to the push server.
|
boolean |
PushServerClient.deleteCampaign(Long campaignId)
Delete a campaign specified with campaignId.
|
boolean |
PushServerClient.deleteDevice(Long appId,
String token)
Remove device from the push server
|
boolean |
PushServerClient.deleteUsersFromCampaign(Long campaignId,
List<String> users)
Delete a list of users from specific campaign.
|
io.getlime.core.rest.model.base.response.ObjectResponse<CampaignResponse> |
PushServerClient.getCampaign(Long campaignId)
Get a campaign specified with campaignID.
|
io.getlime.core.rest.model.base.response.ObjectResponse<ListOfCampaignsResponse> |
PushServerClient.getListOfCampaigns(boolean all)
Get list of campaigns, dependent on all param
|
PagedResponse<ListOfUsersFromCampaignResponse> |
PushServerClient.getListOfUsersFromCampaign(Long campaignId,
int page,
int size)
Get a list of users in paged format from specific campaign
Suppressed warning "unchecked".
|
io.getlime.core.rest.model.base.response.ObjectResponse<ServiceStatusResponse> |
PushServerClient.getServiceStatus()
Returns service information
|
boolean |
PushServerClient.sendCampaign(Long campaignId)
Send a specific campaign to users carrying this campaignID in PushCampaignUser model, but only once per device identified by token.
|
io.getlime.core.rest.model.base.response.ObjectResponse<PushMessageSendResult> |
PushServerClient.sendPushMessage(Long appId,
PushMessage pushMessage)
Send a single push message to application with given ID.
|
io.getlime.core.rest.model.base.response.ObjectResponse<PushMessageSendResult> |
PushServerClient.sendPushMessageBatch(Long appId,
List<PushMessage> batch)
Send a push message batch to application with given ID.
|
boolean |
PushServerClient.sendTestCampaign(Long campaignId,
String userId)
Send a campaign on test user for trying its correctness.
|
boolean |
PushServerClient.updateDeviceStatus(String activationId)
Update activation status for given device registration.
|
Copyright © 2016–2018 Lime - HighTech Solutions Inc.. All rights reserved.