hyphenate_SDK3.0
3.0.1
hyphenatejavaIMSDK
|
Public Member Functions | |
boolean | getRequireAck () |
void | setRequireAck (boolean requireAck) |
boolean | getRequireDeliveryAck () |
void | setRequireDeliveryAck (boolean requireDeliveryAck) |
boolean | getAcceptInvitationAlways () |
void | setAcceptInvitationAlways (boolean value) |
boolean | getRequireServerAck () |
void | setRequireServerAck (boolean requireServerAck) |
void | setDeleteMessagesAsExitGroup (boolean delete) |
boolean | isDeleteMessagesAsExitGroup () |
void | setAutoAcceptGroupInvitation (boolean value) |
boolean | isAutoAcceptGroupInvitation () |
void | allowChatroomOwnerLeave (boolean allowed) |
boolean | isChatroomOwnerLeaveAllowed () |
void | setAppKey (String appkey) |
String | getAppKey () |
void | setAutoLogin (boolean autoLogin) |
boolean | getAutoLogin () |
void | setGCMNumber (String number) |
String | getGCMNumber () |
void | setMipushConfig (String mipushAppid, String mipushAppkey) |
EMMipushConfig | getMipushConfig () |
void | enableDNSConfig (boolean enable) |
boolean | getEnableDNSConfig () |
chat options for IM enable/disable delivery ack, enable/disable server ack, enable/disable hyphenate friend management, etc..
void com.hyphenate.chat.EMOptions.allowChatroomOwnerLeave | ( | boolean | allowed | ) |
enable/disable allowing chat room owner to leave the chat room
allowed | if allow the owner of chat room leave |
boolean com.hyphenate.chat.EMOptions.getAcceptInvitationAlways | ( | ) |
get if accept the other's invitation to be your friend automatically
String com.hyphenate.chat.EMOptions.getAppKey | ( | ) |
get app key
appkey |
boolean com.hyphenate.chat.EMOptions.getAutoLogin | ( | ) |
get login automatically
String com.hyphenate.chat.EMOptions.getGCMNumber | ( | ) |
get GCM sender id
number | – GCM sender id |
EMMipushConfig com.hyphenate.chat.EMOptions.getMipushConfig | ( | ) |
get the appid and appkey for Xiaomi Push
mipushAppid | |
mipushAppkey |
boolean com.hyphenate.chat.EMOptions.getRequireAck | ( | ) |
get whether read ack is required for the message receiver.
boolean com.hyphenate.chat.EMOptions.getRequireDeliveryAck | ( | ) |
get if delivery ack is required
boolean com.hyphenate.chat.EMOptions.getRequireServerAck | ( | ) |
get if wait server's ack when send message
boolean com.hyphenate.chat.EMOptions.isAutoAcceptGroupInvitation | ( | ) |
get if accept group invitation automatically
boolean com.hyphenate.chat.EMOptions.isChatroomOwnerLeaveAllowed | ( | ) |
if allow owner of chat room leave
boolean com.hyphenate.chat.EMOptions.isDeleteMessagesAsExitGroup | ( | ) |
get if deleting the group message after existing the group
void com.hyphenate.chat.EMOptions.setAcceptInvitationAlways | ( | boolean | value | ) |
enable/disable accept the friend invitation automatically
value |
void com.hyphenate.chat.EMOptions.setAppKey | ( | String | appkey | ) |
set app key
appkey |
void com.hyphenate.chat.EMOptions.setAutoAcceptGroupInvitation | ( | boolean | value | ) |
set if accept group invitation automatically
value |
void com.hyphenate.chat.EMOptions.setAutoLogin | ( | boolean | autoLogin | ) |
set login automatically
autoLogin |
void com.hyphenate.chat.EMOptions.setDeleteMessagesAsExitGroup | ( | boolean | delete | ) |
enable/disable deleting the group message after existing the group
delete | true–delete the messages, default is true |
void com.hyphenate.chat.EMOptions.setGCMNumber | ( | String | number | ) |
set GCM sender id
number | – GCM sender id |
void com.hyphenate.chat.EMOptions.setMipushConfig | ( | String | mipushAppid, |
String | mipushAppkey | ||
) |
set the appid and appkey for Xiaomi Push
mipushAppid | |
mipushAppkey |
void com.hyphenate.chat.EMOptions.setRequireAck | ( | boolean | requireAck | ) |
enable/disable the read ack of recipit
requireAck |
void com.hyphenate.chat.EMOptions.setRequireDeliveryAck | ( | boolean | requireDeliveryAck | ) |
enable/disable deliver ack
requireDeliveryAck |
void com.hyphenate.chat.EMOptions.setRequireServerAck | ( | boolean | requireServerAck | ) |
enable/disable server ack after sending message, and that's true by default
requireAck |