IMSDK
即时通信 IM 提供全球接入、单聊、群聊、消息推送、资料关系链托管、帐号鉴权等全方位解决方案,并提供完备的 App 接入、后台管理接口。
SoundElement

Public 成员函数

 SoundElement ()
 
String getSoundUUID ()
 
String getSoundFilePath ()
 
void setSoundFilePath (String soundFilePath)
 
int getSoundFileSize ()
 
void setSoundFileSize (int fileSize)
 
int getSoundDuration ()
 
void setSoundDuration (int soundDuration)
 
String getSoundDownloadUrl ()
 
int getSoundDownloadFlag ()
 
int getSoundBusinessID ()
 
boolean update (MessageBaseElement element)
 
int getElementType ()
 
void setElementType (int elementType)
 

静态 Public 属性

static int UUID_TYPE_VIDEO_THUMB = 0
 
static int UUID_TYPE_FILE = 1
 
static int UUID_TYPE_VIDEO = 2
 
static int UUID_TYPE_AUDIO = 3
 

构造及析构函数说明

◆ SoundElement()

SoundElement ( )
inline

成员函数说明

◆ getSoundUUID()

String getSoundUUID ( )
inline

◆ getSoundFilePath()

String getSoundFilePath ( )
inline

◆ setSoundFilePath()

void setSoundFilePath ( String  soundFilePath)
inline

◆ getSoundFileSize()

int getSoundFileSize ( )
inline

◆ setSoundFileSize()

void setSoundFileSize ( int  fileSize)
inline

◆ getSoundDuration()

int getSoundDuration ( )
inline

◆ setSoundDuration()

void setSoundDuration ( int  soundDuration)
inline

◆ getSoundDownloadUrl()

String getSoundDownloadUrl ( )
inline

◆ getSoundDownloadFlag()

int getSoundDownloadFlag ( )
inline

◆ getSoundBusinessID()

int getSoundBusinessID ( )
inline

◆ update()

boolean update ( MessageBaseElement  element)
inline

◆ getElementType()

int getElementType ( )
inlineinherited

◆ setElementType()

void setElementType ( int  elementType)
inlineinherited

结构体成员变量说明

◆ UUID_TYPE_VIDEO_THUMB

int UUID_TYPE_VIDEO_THUMB = 0
staticinherited

◆ UUID_TYPE_FILE

int UUID_TYPE_FILE = 1
staticinherited

◆ UUID_TYPE_VIDEO

int UUID_TYPE_VIDEO = 2
staticinherited

◆ UUID_TYPE_AUDIO

int UUID_TYPE_AUDIO = 3
staticinherited

◆ elementType

int elementType
protectedinherited