TIMReceiveMessageOpt enum
1.3 消息接收选项
Values
- kTIMRecvMsgOpt_Receive → const TIMReceiveMessageOpt
-
在线正常接收消息,离线时会进行 APNs 推送
const TIMReceiveMessageOpt(0)
- kTIMRecvMsgOpt_Not_Receive → const TIMReceiveMessageOpt
-
不会接收到消息,离线不会有推送通知
const TIMReceiveMessageOpt(1)
- kTIMRecvMsgOpt_Not_Notify → const TIMReceiveMessageOpt
-
在线正常接收消息,离线不会有推送通知
const TIMReceiveMessageOpt(2)
- kTIMRecvMsgOpt_Not_Notify_Except_At → const TIMReceiveMessageOpt
-
在线接收消息,离线只接收 at 消息的推送
const TIMReceiveMessageOpt(3)
- kTIMRecvMsgOpt_Not_Receive_Except_At → const TIMReceiveMessageOpt
-
在线和离线都只接收@消息
const TIMReceiveMessageOpt(4)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → int
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
int value) → TIMReceiveMessageOpt
Constants
-
values
→ const List<
TIMReceiveMessageOpt> - A constant List of the values in this enum, in order of their declaration.