| 程序包 | 说明 |
|---|---|
| cn.jpush.api | |
| cn.jpush.api.schedule |
Schedule API features.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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.
|
ScheduleResult |
JPushClient.disableSchedule(String scheduleId)
Disable the schedule.
|
ScheduleResult |
JPushClient.enableSchedule(String scheduleId)
Enable the schedule.
|
ScheduleResult |
JPushClient.getSchedule(String scheduleId)
Get the schedule information by the schedule id.
|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ScheduleResult |
ScheduleClient.createSchedule(SchedulePayload payload) |
ScheduleResult |
ScheduleClient.getSchedule(String scheduleId) |
ScheduleResult |
ScheduleClient.updateSchedule(String scheduleId,
SchedulePayload payload) |
| 限定符和类型 | 方法和说明 |
|---|---|
List<ScheduleResult> |
ScheduleListResult.getSchedules() |
Copyright © 2017. All Rights Reserved.