hyphenate_SDK3.0 3.9.9.2
hyphenate java IM SDK
Public 成员函数 | 所有成员列表
com.hyphenate.chat.EMCircleServerAttribute类 参考

Public 成员函数

 EMCircleServerAttribute ()
 
String getName ()
 
void setName (String name)
 
String getIcon ()
 
void setIcon (String icon)
 
String getDesc ()
 
void setDesc (String desc)
 
String getExt ()
 
void setExt (String ext)
 
void setType (EMCircleServerType type)
 
EMCircleServerType getType ()
 
void setBackground (String backgroundUrl)
 
String getBackground ()
 
EMACircleServerAttribute getEMObject ()
 

详细描述

社区属性配置类。

构造及析构函数说明

◆ EMCircleServerAttribute()

com.hyphenate.chat.EMCircleServerAttribute.EMCircleServerAttribute ( )

无参构造函数。

成员函数说明

◆ getBackground()

String com.hyphenate.chat.EMCircleServerAttribute.getBackground ( )

获取社区背景。

返回
社区背景的 URL。

◆ getDesc()

String com.hyphenate.chat.EMCircleServerAttribute.getDesc ( )

获取社区描述。

返回
社区描述。

◆ getEMObject()

EMACircleServerAttribute com.hyphenate.chat.EMCircleServerAttribute.getEMObject ( )

获取社区属性对象。

该方法供 SDK 内部使用。

返回
社区属性对象。

◆ getExt()

String com.hyphenate.chat.EMCircleServerAttribute.getExt ( )

获取设置的社区的自定义扩展信息。

返回
社区的自定义扩展信息。

◆ getIcon()

String com.hyphenate.chat.EMCircleServerAttribute.getIcon ( )

获取社区头像。

返回
社区头像。

◆ getName()

String com.hyphenate.chat.EMCircleServerAttribute.getName ( )

获取社区名称。

返回
社区名称。

◆ getType()

EMCircleServerType com.hyphenate.chat.EMCircleServerAttribute.getType ( )

获取社区类型,即公开或私密社区。

返回
社区类型:

◆ setBackground()

void com.hyphenate.chat.EMCircleServerAttribute.setBackground ( String  backgroundUrl)

设置社区背景。

参数
backgroundUrl社区背景的 URL。

◆ setDesc()

void com.hyphenate.chat.EMCircleServerAttribute.setDesc ( String  desc)

设置社区描述。

参数
desc社区描述。

◆ setExt()

void com.hyphenate.chat.EMCircleServerAttribute.setExt ( String  ext)

设置社区的自定义扩展信息。

参数
ext社区的自定义扩展字段。

◆ setIcon()

void com.hyphenate.chat.EMCircleServerAttribute.setIcon ( String  icon)

设置社区头像。

参数
icon社区头像的 URL。

◆ setName()

void com.hyphenate.chat.EMCircleServerAttribute.setName ( String  name)

设置社区名称。

参数
name社区名称。

◆ setType()

void com.hyphenate.chat.EMCircleServerAttribute.setType ( EMCircleServerType  type)

设置社区的类型,即公开或私密社区。

参数
type社区类型:

该类的文档由以下文件生成: