hyphenate_SDK4.0 5.0.0
hyphenate java IM SDK
 
Loading...
Searching...
No Matches
com.hyphenate.chat.EMOptions.EMDataSyncType Enum Reference

Public Member Functions

int getValue ()
 

Static Public Member Functions

static int toNativeMask (EnumSet< EMDataSyncType > types)
 
static EnumSet< EMDataSyncTypefromNativeMask (int mask)
 

Public Attributes

 NONE =(0)
 
 CONVERSATIONS =(1 << 0)
 
 CONTACTS =(1 << 1)
 
 JOINED_GROUPS =(1 << 2)
 

Detailed Description

The data types to synchronize automatically after login.

Member Function Documentation

◆ fromNativeMask()

static EnumSet< EMDataSyncType > com.hyphenate.chat.EMOptions.EMDataSyncType.fromNativeMask ( int mask)
static

Converts the raw mask value to data sync types.

Parameters
maskThe raw mask value.
Returns
The data sync types.

◆ getValue()

int com.hyphenate.chat.EMOptions.EMDataSyncType.getValue ( )

Gets the raw value of the data sync type.

Returns
The raw value of the data sync type.

◆ toNativeMask()

static int com.hyphenate.chat.EMOptions.EMDataSyncType.toNativeMask ( EnumSet< EMDataSyncType > types)
static

Converts data sync types to the raw mask value.

Parameters
typesThe data sync types.
Returns
The raw mask value.

Member Data Documentation

◆ CONTACTS

com.hyphenate.chat.EMOptions.EMDataSyncType.CONTACTS =(1 << 1)

The contact data synchronization.

◆ CONVERSATIONS

com.hyphenate.chat.EMOptions.EMDataSyncType.CONVERSATIONS =(1 << 0)

The conversation list data synchronization.

◆ JOINED_GROUPS

com.hyphenate.chat.EMOptions.EMDataSyncType.JOINED_GROUPS =(1 << 2)

The joined group data synchronization.

◆ NONE

com.hyphenate.chat.EMOptions.EMDataSyncType.NONE =(0)

No data synchronization.


The documentation for this enum was generated from the following file: