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 个心跳间隔后仍未收到服务端反馈)。

Constants

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)
values → const List<MobileIMSDKSenseMode>

A constant List of the values in this enum, in order of their declaration.

const List<MobileIMSDKSenseMode>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

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

Operators

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