toggle menu
Android-IMLibCore-SDK
5.5.3
io.rong.imlib
switch theme
search in API
Android-IMLibCore-SDK
/
io.rong.imlib
/
MessageTag
Message
Tag
io.rong.imlib
@
Target
(
value
=
ElementType.TYPE
)
@
Retention
(
value
=
RetentionPolicy.RUNTIME
)
public
@interface
MessageTag
消息的注解,以声明消息的标识、是否记入未读消息数和是否存储为消息历史记录。
See also
io.
rong.
imlib.
model.
Message
Members
Properties
ISCOUNTED
Link copied to clipboard
io.rong.imlib
public
final
static
int
ISCOUNTED
消息需要被记入未读消息数。
ISPERSISTED
Link copied to clipboard
io.rong.imlib
public
final
static
int
ISPERSISTED
消息需要被存储到消息历史记录。
NONE
Link copied to clipboard
io.rong.imlib
public
final
static
int
NONE
空值,不表示任何意义。
STATUS
Link copied to clipboard
io.rong.imlib
public
final
static
int
STATUS
状态消息, 不存储不计数。
Functions
flag
Link copied to clipboard
io.rong.imlib
public
abstract
int
flag
(
)
消息的标识。 传入的值可以为 MessageTag.NONE、MessageTag.ISPERSISTED 或 MessageTag.
message
Handler
Link copied to clipboard
io.rong.imlib
public
abstract
Class
<
? extends
MessageHandler
>
messageHandler
(
)
value
Link copied to clipboard
io.rong.imlib
public
abstract
String
value
(
)
消息对象名称。 请不要以 "RC:" 开头, "RC:" 为官方保留前缀。
Inherited functions
annotation
Type
Link copied to clipboard
io.rong.imlib
public
abstract
Class
<
? extends
Annotation
>
annotationType
(
)
equals
Link copied to clipboard
io.rong.imlib
public
abstract
boolean
equals
(
Object
p
)
hash
Code
Link copied to clipboard
io.rong.imlib
public
abstract
int
hashCode
(
)
to
String
Link copied to clipboard
io.rong.imlib
public
abstract
String
toString
(
)