| 程序包 | 说明 |
|---|---|
| cn.jpush.api | |
| cn.jpush.api.common.connection | |
| cn.jpush.api.device |
Devices API features.
|
| cn.jpush.api.push |
Push API features.
|
| cn.jpush.api.report |
Report API features.
|
| cn.jpush.api.schedule |
Schedule API features.
|
| 限定符和类型 | 方法和说明 |
|---|---|
DefaultResult |
JPushClient.addRemoveDevicesFromTag(String theTag,
Set<String> toAddUsers,
Set<String> toRemoveUsers) |
DefaultResult |
JPushClient.bindMobile(String registrationId,
String mobile) |
ScheduleResult |
JPushClient.createDailySchedule(String name,
String start,
String end,
String time,
int frequency,
PushPayload push)
Create a daily schedule push with a custom frequency.
|
ScheduleResult |
JPushClient.createDailySchedule(String name,
String start,
String end,
String time,
PushPayload push)
Create a daily schedule push everyday.
|
ScheduleResult |
JPushClient.createMonthlySchedule(String name,
String start,
String end,
String time,
int frequency,
String[] points,
PushPayload push)
Create a monthly schedule push with a custom frequency at the appointed days.
|
ScheduleResult |
JPushClient.createMonthlySchedule(String name,
String start,
String end,
String time,
String[] points,
PushPayload push)
Create a monthly schedule push every month at the appointed days.
|
ScheduleResult |
JPushClient.createSingleSchedule(String name,
String time,
PushPayload push)
Create a single schedule.
|
ScheduleResult |
JPushClient.createWeeklySchedule(String name,
String start,
String end,
String time,
int frequency,
Week[] days,
PushPayload push)
Create a weekly schedule push with a custom frequency at the appointed days.
|
ScheduleResult |
JPushClient.createWeeklySchedule(String name,
String start,
String end,
String time,
Week[] days,
PushPayload push)
Create a weekly schedule push every week at the appointed days.
|
DefaultResult |
JPushClient.deleteAlias(String alias,
String platform) |
void |
JPushClient.deleteSchedule(String scheduleId)
Delete a schedule by id.
|
DefaultResult |
JPushClient.deleteTag(String theTag,
String platform) |
ScheduleResult |
JPushClient.disableSchedule(String scheduleId)
Disable the schedule.
|
ScheduleResult |
JPushClient.enableSchedule(String scheduleId)
Enable the schedule.
|
AliasDeviceListResult |
JPushClient.getAliasDeviceList(String alias,
String platform) |
TagAliasResult |
JPushClient.getDeviceTagAlias(String registrationId) |
MessagesResult |
JPushClient.getReportMessages(String msgIds) |
ReceivedsResult |
JPushClient.getReportReceiveds(String msgIds)
Get received report.
|
UsersResult |
JPushClient.getReportUsers(TimeUnit timeUnit,
String start,
int duration) |
ScheduleResult |
JPushClient.getSchedule(String scheduleId)
Get the schedule information by the schedule id.
|
ScheduleListResult |
JPushClient.getScheduleList()
Get the schedule list size and the first page.
|
ScheduleListResult |
JPushClient.getScheduleList(int page)
Get the schedule list by the page.
|
TagListResult |
JPushClient.getTagList() |
Map<String,OnlineStatus> |
JPushClient.getUserOnlineStatus(String... registrationIds) |
BooleanResult |
JPushClient.isDeviceInTag(String theTag,
String registrationID) |
PushResult |
JPushClient.sendAndroidMessageWithAlias(String title,
String msgContent,
SMS sms,
String... alias)
Send an Android message with alias.
|
PushResult |
JPushClient.sendAndroidMessageWithAlias(String title,
String msgContent,
String... alias) |
PushResult |
JPushClient.sendAndroidMessageWithRegistrationID(String title,
String msgContent,
SMS sms,
String... registrationID)
Send an Android message with registration id.
|
PushResult |
JPushClient.sendAndroidMessageWithRegistrationID(String title,
String msgContent,
String... registrationID) |
PushResult |
JPushClient.sendAndroidNotificationWithAlias(String title,
String alert,
Map<String,String> extras,
String... alias) |
PushResult |
JPushClient.sendAndroidNotificationWithAlias(String title,
String alert,
SMS sms,
Map<String,String> extras,
String... alias)
Send a notification to Android with alias.
|
PushResult |
JPushClient.sendAndroidNotificationWithRegistrationID(String title,
String alert,
Map<String,String> extras,
String... registrationID) |
PushResult |
JPushClient.sendAndroidNotificationWithRegistrationID(String title,
String alert,
SMS sms,
Map<String,String> extras,
String... registrationID)
Send a notification to Android with RegistrationID.
|
PushResult |
JPushClient.sendIosMessageWithAlias(String title,
String msgContent,
SMS sms,
String... alias)
Send an iOS message with alias.
|
PushResult |
JPushClient.sendIosMessageWithAlias(String title,
String msgContent,
String... alias) |
PushResult |
JPushClient.sendIosMessageWithRegistrationID(String title,
String msgContent,
SMS sms,
String... registrationID)
Send an iOS message with registration id.
|
PushResult |
JPushClient.sendIosMessageWithRegistrationID(String title,
String msgContent,
String... registrationID) |
PushResult |
JPushClient.sendIosNotificationWithAlias(IosAlert alert,
Map<String,String> extras,
String... alias)
Send an iOS notification with alias.
|
PushResult |
JPushClient.sendIosNotificationWithAlias(IosAlert alert,
SMS sms,
Map<String,String> extras,
String... alias)
Send an iOS notification with alias.
|
PushResult |
JPushClient.sendIosNotificationWithAlias(com.google.gson.JsonObject alert,
Map<String,String> extras,
String... alias)
Send an iOS notification with alias.
|
PushResult |
JPushClient.sendIosNotificationWithAlias(com.google.gson.JsonObject alert,
SMS sms,
Map<String,String> extras,
String... alias)
Send an iOS notification with alias.
|
PushResult |
JPushClient.sendIosNotificationWithAlias(String alert,
Map<String,String> extras,
String... alias) |
PushResult |
JPushClient.sendIosNotificationWithAlias(String alert,
SMS sms,
Map<String,String> extras,
String... alias)
Send a notification to iOS with alias.
|
PushResult |
JPushClient.sendIosNotificationWithRegistrationID(IosAlert alert,
Map<String,String> extras,
String... registrationID)
Send an iOS notification with registrationIds.
|
PushResult |
JPushClient.sendIosNotificationWithRegistrationID(IosAlert alert,
SMS sms,
Map<String,String> extras,
String... registrationID)
Send an iOS notification with registrationIds.
|
PushResult |
JPushClient.sendIosNotificationWithRegistrationID(com.google.gson.JsonObject alert,
Map<String,String> extras,
String... registrationID)
Send an iOS notification with registrationIds.
|
PushResult |
JPushClient.sendIosNotificationWithRegistrationID(com.google.gson.JsonObject alert,
SMS sms,
Map<String,String> extras,
String... registrationID)
Send an iOS notification with registrationIds.
|
PushResult |
JPushClient.sendIosNotificationWithRegistrationID(String alert,
Map<String,String> extras,
String... registrationID) |
PushResult |
JPushClient.sendIosNotificationWithRegistrationID(String alert,
SMS sms,
Map<String,String> extras,
String... registrationID)
Send an iOS notification with registrationIds.
|
PushResult |
JPushClient.sendMessageAll(String msgContent) |
PushResult |
JPushClient.sendMessageAll(String msgContent,
SMS sms)
Send a message to all
If it doesn't received within the delay time,JPush will send a SMS to the corresponding users.
|
PushResult |
JPushClient.sendMessageWithRegistrationID(String title,
String msgContent,
SMS sms,
String... registrationID)
Send a message with registrationIds.
|
PushResult |
JPushClient.sendMessageWithRegistrationID(String title,
String msgContent,
String... registrationID) |
PushResult |
JPushClient.sendNotificationAll(String alert) |
PushResult |
JPushClient.sendNotificationAll(String alert,
SMS sms)
Send a notification to all.
|
PushResult |
JPushClient.sendPush(PushPayload pushPayload)
Send a push with PushPayload object.
|
PushResult |
JPushClient.sendPush(String payloadString)
Send a push with JSON string.
|
PushResult |
JPushClient.sendPushValidate(PushPayload payload)
Validate a push action, but do NOT send it actually.
|
PushResult |
JPushClient.sendPushValidate(String payloadString) |
DefaultResult |
JPushClient.updateDeviceTagAlias(String registrationId,
boolean clearAlias,
boolean clearTag) |
DefaultResult |
JPushClient.updateDeviceTagAlias(String registrationId,
String alias,
Set<String> tagsToAdd,
Set<String> tagsToRemove) |
ScheduleResult |
JPushClient.updateSchedule(String scheduleId,
SchedulePayload payload)
Update a schedule by the id.
|
ScheduleResult |
JPushClient.updateScheduleName(String scheduleId,
String name)
Update the schedule name
|
ScheduleResult |
JPushClient.updateSchedulePush(String scheduleId,
PushPayload push)
Update the push content of the schedule.
|
ScheduleResult |
JPushClient.updateScheduleTrigger(String scheduleId,
TriggerPayload trigger)
Update the trigger of the schedule.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ResponseWrapper |
NativeHttpClient.doRequest(String url,
String content,
IHttpClient.RequestMethod method) |
ResponseWrapper |
NativeHttpClient.sendDelete(String url) |
ResponseWrapper |
IHttpClient.sendDelete(String url) |
ResponseWrapper |
NativeHttpClient.sendDelete(String url,
String content) |
ResponseWrapper |
NativeHttpClient.sendGet(String url) |
ResponseWrapper |
IHttpClient.sendGet(String url) |
ResponseWrapper |
NativeHttpClient.sendGet(String url,
String content) |
ResponseWrapper |
NativeHttpClient.sendPost(String url,
String content) |
ResponseWrapper |
IHttpClient.sendPost(String url,
String content) |
ResponseWrapper |
NativeHttpClient.sendPut(String url,
String content) |
ResponseWrapper |
IHttpClient.sendPut(String url,
String content) |
| 限定符和类型 | 方法和说明 |
|---|---|
DefaultResult |
DeviceClient.addRemoveDevicesFromTag(String theTag,
Set<String> toAddUsers,
Set<String> toRemoveUsers) |
DefaultResult |
DeviceClient.bindMobile(String registrationId,
String mobile) |
DefaultResult |
DeviceClient.deleteAlias(String alias,
String platform) |
DefaultResult |
DeviceClient.deleteTag(String theTag,
String platform) |
AliasDeviceListResult |
DeviceClient.getAliasDeviceList(String alias,
String platform) |
TagAliasResult |
DeviceClient.getDeviceTagAlias(String registrationId) |
TagListResult |
DeviceClient.getTagList() |
Map<String,OnlineStatus> |
DeviceClient.getUserOnlineStatus(String... registrationIds) |
BooleanResult |
DeviceClient.isDeviceInTag(String theTag,
String registrationID) |
DefaultResult |
DeviceClient.updateDeviceTagAlias(String registrationId,
boolean clearAlias,
boolean clearTag) |
DefaultResult |
DeviceClient.updateDeviceTagAlias(String registrationId,
String alias,
Set<String> tagsToAdd,
Set<String> tagsToRemove) |
| 限定符和类型 | 方法和说明 |
|---|---|
PushResult |
PushClient.sendPush(PushPayload pushPayload) |
PushResult |
PushClient.sendPush(String payloadString) |
PushResult |
PushClient.sendPushValidate(PushPayload pushPayload) |
PushResult |
PushClient.sendPushValidate(String payloadString) |
| 限定符和类型 | 方法和说明 |
|---|---|
MessagesResult |
ReportClient.getMessages(String msgIds) |
ReceivedsResult |
ReportClient.getReceiveds(String msgIds) |
ReceivedsResult |
ReportClient.getReceiveds(String[] msgIdArray) |
UsersResult |
ReportClient.getUsers(TimeUnit timeUnit,
String start,
int duration) |
| 限定符和类型 | 方法和说明 |
|---|---|
ScheduleResult |
ScheduleClient.createSchedule(SchedulePayload payload) |
void |
ScheduleClient.deleteSchedule(String scheduleId) |
ScheduleResult |
ScheduleClient.getSchedule(String scheduleId) |
ScheduleListResult |
ScheduleClient.getScheduleList(int page) |
ScheduleResult |
ScheduleClient.updateSchedule(String scheduleId,
SchedulePayload payload) |
Copyright © 2016. All Rights Reserved.