AppInfo
public final class AppInfo: NSObject, Codable
An object contains application information
-
This is the latest hash value for Emoji. Default value is empty string.
Since
3.0.180Declaration
Swift
public internal(set) var emojiHash: String
-
This is the uploadable file size limit. (When receiving this value from the server, the unit is bytes.)
Since
3.0.180Declaration
Swift
public var uploadSizeLimit: Int64
-
This is the premium feature list using on your Application ID.
Since
3.0.180Declaration
Swift
public internal(set) var premiumFeatureList: [String]?
-
This is the state of using the reaction feature.
Since
3.0.180Declaration
Swift
public internal(set) var useReaction: Bool
-
This is the application attributes list using on your Application ID.
Since
3.0.198Declaration
Swift
public internal(set) var applicationAttributes: [String]?
-
This is the application attribute to tell SDK use native websocket
Since
3.0.222Declaration
Swift
public internal(set) var useNativeWS: Bool = false
-
Since
3.0.231Declaration
Swift
public internal(set) var concurrentCallLimit: Int = 0
-
Since
3.0.231Declaration
Swift
public internal(set) var backOffDelay: TimeInterval = 0.0
-
Since
4.6.0Declaration
Swift
public var notificationInfo: NotificationInfo?
-
Since
4.17.0Declaration
Swift
public var messageTemplateInfo: MessageTemplateInfo?
-
Since
4.8.4Declaration
Swift
public let uikitConfigInfo: UIKitConfigInfo
-
The maximum number of files that can be sent in a
MultipleFilesMessage
.Since
4.9.1Declaration
Swift
public let multipleFilesMessageFileCountLimit: Int
-
This function can check if Emoji information needs to be updated to date.
Since
3.0.180Declaration
Swift
public func isEmojiUpdateNeeded(prevEmojiHash: String) -> Bool
Parameters
prevEmojiHash
Emoji hash value in use
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Default constructor.
Declaration
Swift
public required init(from decoder: Decoder) throws
Parameters
decoder
Decoder
instance