Public Member Functions | |
| int | getValue () |
Static Public Member Functions | |
| static int | toNativeMask (EnumSet< EMDataSyncType > types) |
| static EnumSet< EMDataSyncType > | fromNativeMask (int mask) |
Public Attributes | |
| NONE =(0) | |
| CONVERSATIONS =(1 << 0) | |
| CONTACTS =(1 << 1) | |
| JOINED_GROUPS =(1 << 2) | |
The data types to synchronize automatically after login.
|
static |
Converts the raw mask value to data sync types.
| mask | The raw mask value. |
| int com.hyphenate.chat.EMOptions.EMDataSyncType.getValue | ( | ) |
Gets the raw value of the data sync type.
|
static |
Converts data sync types to the raw mask value.
| types | The data sync types. |
| com.hyphenate.chat.EMOptions.EMDataSyncType.CONTACTS =(1 << 1) |
The contact data synchronization.
| com.hyphenate.chat.EMOptions.EMDataSyncType.CONVERSATIONS =(1 << 0) |
The conversation list data synchronization.
| com.hyphenate.chat.EMOptions.EMDataSyncType.JOINED_GROUPS =(1 << 2) |
The joined group data synchronization.
| com.hyphenate.chat.EMOptions.EMDataSyncType.NONE =(0) |
No data synchronization.