MobileIMSDKSenseMode enum

SenseMode3S 此模式下: KeepAlive心跳问隔为3秒; 10秒后未收到服务端心跳反馈即认为连接已断开(相当于连续3 个心跳间隔后仍未收到服务端反馈)。

SenseMode10S 此模式下: KeepAlive心跳问隔为10秒; 21秒后未收到服务端心跳反馈即认为连接已断开(相当于连续2 个心跳间隔后仍未收到服务端反馈)。

SenseMode30S 此模式下: KeepAlive心跳问隔为30秒; 61秒后未收到服务端心跳反馈即认为连接已断开(相当于连续2 个心跳间隔后仍未收到服务端反馈)。

SenseMode60S 此模式下: KeepAlive心跳问隔为60秒; 121秒后未收到服务端心跳反馈即认为连接已断开(相当于连续2 个心跳间隔后仍未收到服务端反馈)。

SenseMode120S 此模式下: KeepAlive心跳问隔为120秒; 241秒后未收到服务端心跳反馈即认为连接已断开(相当于连续2 个心跳间隔后仍未收到服务端反馈)。

Inheritance

Constructors

MobileIMSDKSenseMode()
const

Values

SenseMode3S → const MobileIMSDKSenseMode
const MobileIMSDKSenseMode(0)
SenseMode10S → const MobileIMSDKSenseMode
const MobileIMSDKSenseMode(1)
SenseMode30S → const MobileIMSDKSenseMode
const MobileIMSDKSenseMode(2)
SenseMode60S → const MobileIMSDKSenseMode
const MobileIMSDKSenseMode(3)
SenseMode120S → const MobileIMSDKSenseMode
const MobileIMSDKSenseMode(4)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
index int
A numeric identifier for the enumerated value.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

values → const List<MobileIMSDKSenseMode>
A constant List of the values in this enum, in order of their declaration.
[SenseMode3S, SenseMode10S, SenseMode30S, SenseMode60S, SenseMode120S]