| agora_chat_SDK
    3.8.2
    agorajavachatSDK | 
| Classes | |
| enum | DisplayStyle | 
| Public Member Functions | |
| void | enableOfflinePush () throws ChatException | 
| void | disableOfflinePush (int start, int end) throws ChatException | 
| PushConfigs | getPushConfigs () | 
| PushConfigs | getPushConfigsFromServer () throws ChatException | 
| void | updatePushServiceForGroup (List< String > groupIds, boolean noPush) throws ChatException | 
| List< String > | getNoPushGroups () | 
| boolean | updatePushNickname (String nickname) throws IllegalArgumentException, ChatException | 
| void | asyncUpdatePushNickname (String nickname, CallBack callback) | 
| void | updatePushDisplayStyle (DisplayStyle style) throws IllegalArgumentException, ChatException | 
| void | asyncUpdatePushDisplayStyle (DisplayStyle style, CallBack callback) | 
Offline push message manager class that used for GCM and APNS
| void io.agora.chat.PushManager.asyncUpdatePushDisplayStyle | ( | DisplayStyle | style, | 
| CallBack | callback | ||
| ) | 
Update push message style, default is DisplayStyle#SimpleBanner Synchronization method see updatePushDisplayStyle(DisplayStyle)
Asynchronously method
| style | Push message style | 
| void io.agora.chat.PushManager.asyncUpdatePushNickname | ( | String | nickname, | 
| CallBack | callback | ||
| ) | 
Update the push nickname of current user This method can be used to set a push nickname, the push nickname will be used to show for offline push When the user changes the nickname(use or UserInfoManager#updateOwnInfoByAttribute(UserInfo.UserInfoType, String, ValueCallBack) to set}, be sure to also call this method to update to prevent the display of differences
Synchronization method see updatePushNickname(String)
Asynchronously method
| nickname | Push nickname, which are different from nickname in user properties | 
| void io.agora.chat.PushManager.disableOfflinePush | ( | int | start, | 
| int | end | ||
| ) | throws ChatException | 
The offline message is not pushed within the specified time period (24-hour clock)
Synchronization method will block the current thread
| start | start hour | 
| end | end hour | 
| ChatException | 
| void io.agora.chat.PushManager.enableOfflinePush | ( | ) | throws ChatException | 
Enable offline message push
Synchronization method will block the current thread
| ChatException | 
| List<String> io.agora.chat.PushManager.getNoPushGroups | ( | ) | 
Get the group list that disabled offline push
Synchronization method will block the current thread
| PushConfigs io.agora.chat.PushManager.getPushConfigs | ( | ) | 
Get push configs from cache
| PushConfigs io.agora.chat.PushManager.getPushConfigsFromServer | ( | ) | throws ChatException | 
Get push configs from server
Synchronization method will block the current thread
| ChatException | 
| void io.agora.chat.PushManager.updatePushDisplayStyle | ( | DisplayStyle | style | ) | throws IllegalArgumentException, ChatException | 
Update push message style, default is DisplayStyle#SimpleBanner Asynchronously method see asyncUpdatePushDisplayStyle(DisplayStyle, CallBack)
Synchronization method will block the current thread
| style | Push message style | 
| boolean io.agora.chat.PushManager.updatePushNickname | ( | String | nickname | ) | throws IllegalArgumentException, ChatException | 
Update the push nickname of current user This method can be used to set a push nickname, the push nickname will be used to show for offline push When the user changes the nickname(use or UserInfoManager#updateOwnInfoByAttribute(UserInfo.UserInfoType, String, ValueCallBack) to set}, be sure to also call this method to update to prevent the display of differences
Asynchronously method see asyncUpdatePushNickname(String, CallBack)
Synchronization method will block the current thread
| nickname | Push nickname, which are different from nickname in user properties | 
| void io.agora.chat.PushManager.updatePushServiceForGroup | ( | List< String > | groupIds, | 
| boolean | noPush | ||
| ) | throws ChatException | 
Sets whether the specified group accepts offline message push
Synchronization method will block the current thread
| groupIds | The list of groups to be set | 
| noPush | True:not accept offline push, false:accept offline push | 
| ChatException | 
 1.8.9
 1.8.9