| 程序包 | 说明 |
|---|---|
| cn.jpush.api | |
| cn.jpush.api.push |
Push API features.
|
| cn.jpush.api.push.model | |
| cn.jpush.api.schedule.model |
| 限定符和类型 | 方法和说明 |
|---|---|
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,
cn.jiguang.common.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,
cn.jiguang.common.Week[] days,
PushPayload push)
Create a weekly schedule push every week at the appointed days.
|
PushResult |
JPushClient.sendPush(PushPayload pushPayload)
Send a push with PushPayload object.
|
PushResult |
JPushClient.sendPushValidate(PushPayload payload)
Validate a push action, but do NOT send it actually.
|
ScheduleResult |
JPushClient.updateSchedulePush(String scheduleId,
PushPayload push)
Update the push content of the schedule.
|
| 限定符和类型 | 方法和说明 |
|---|---|
PushResult |
GroupPushClient.sendGroupPush(PushPayload pushPayload) |
PushResult |
PushClient.sendPush(PushPayload pushPayload) |
PushResult |
PushClient.sendPushValidate(PushPayload pushPayload) |
| 限定符和类型 | 方法和说明 |
|---|---|
static PushPayload |
PushPayload.alertAll(String alert)
The shortcut of building a simple alert notification object to all platforms and all audiences
|
static PushPayload |
PushPayload.alertAll(String alert,
SMS sms) |
PushPayload |
PushPayload.Builder.build() |
static PushPayload |
PushPayload.fromJSON(String payloadString) |
static PushPayload |
PushPayload.messageAll(String msgContent)
The shortcut of building a simple message object to all platforms and all audiences
|
static PushPayload |
PushPayload.messageAll(String msgContent,
SMS sms) |
| 限定符和类型 | 方法和说明 |
|---|---|
SchedulePayload.Builder |
SchedulePayload.Builder.setPush(PushPayload push) |
Copyright © 2017. All Rights Reserved.