hyphenate_SDK3.0
3.6.2
hyphenatejavaIMSDK
|
Public Member Functions | |
void | enableOfflinePush () throws HyphenateException |
void | disableOfflinePush (int start, int end) throws HyphenateException |
EMPushConfigs | getPushConfigs () |
EMPushConfigs | getPushConfigsFromServer () throws HyphenateException |
void | updatePushServiceForGroup (List< String > groupIds, boolean noPush) throws HyphenateException |
List< String > | getNoPushGroups () |
boolean | updatePushNickname (String nickname) |
Created by wei on 2016/12/7.
Offline push message manager class that used for GCM and APNS
void com.hyphenate.chat.EMPushManager.disableOfflinePush | ( | int | start, |
int | end | ||
) | throws HyphenateException |
The offline message is not pushed within the specified time period (24-hour clock)
start | start hour |
end | end hour |
HyphenateException |
void com.hyphenate.chat.EMPushManager.enableOfflinePush | ( | ) | throws HyphenateException |
enable offline message push
HyphenateException |
List<String> com.hyphenate.chat.EMPushManager.getNoPushGroups | ( | ) |
get the group list that disabled offline push
EMPushConfigs com.hyphenate.chat.EMPushManager.getPushConfigs | ( | ) |
get push configs from cache
EMPushConfigs com.hyphenate.chat.EMPushManager.getPushConfigsFromServer | ( | ) | throws HyphenateException |
get push configs from server
HyphenateException |
boolean com.hyphenate.chat.EMPushManager.updatePushNickname | ( | String | nickname | ) |
This method can be used to set a nickname, the nickname will be used to show for APNS and GCM. When the user changes the nickname, be sure to also call this method to update to the hyphenate server to prevent the display of differences
nickname |
void com.hyphenate.chat.EMPushManager.updatePushServiceForGroup | ( | List< String > | groupIds, |
boolean | noPush | ||
) | throws HyphenateException |
Sets whether the specified group accepts offline message push
groupIds | the list of groups to be set |
noPush | true:not accept offline push, false:accept offline push |
HyphenateException |