AppInfo

@objc(SBDAppInfo)
public 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.180

    Declaration

    Swift

    @objc
    public internal(set) var emojiHash: String { get }
  • This is the uploadable file size limit. (When receiving this value from the server, the unit is bytes.)

    Since

    3.0.180

    Declaration

    Swift

    @objc
    public var uploadSizeLimit: Int64 { get }
  • This is the premium feature list using on your Application ID.

    Since

    3.0.180

    Declaration

    Swift

    @objc
    public internal(set) var premiumFeatureList: [String]? { get }
  • This is the state of using the reaction feature.

    Since

    3.0.180

    Declaration

    Swift

    @objc
    public internal(set) var useReaction: Bool { get }
  • This is the application attributes list using on your Application ID.

    Since

    3.0.198

    Declaration

    Swift

    @objc
    public internal(set) var applicationAttributes: [String]? { get }
  • This is the application attribute to tell SDK use native websocket

    Since

    3.0.222

    Declaration

    Swift

    @objc
    public internal(set) var useNativeWS: Bool { get }
  • Since

    3.0.231

    Declaration

    Swift

    @objc
    public internal(set) var concurrentCallLimit: Int { get }
  • Since

    3.0.231

    Declaration

    Swift

    @objc
    public internal(set) var backOffDelay: TimeInterval { get }
  • Since

    4.6.0

    Declaration

    Swift

    @objc
    public var notificationInfo: NotificationInfo?
  • Since

    4.8.4

    Declaration

    Swift

    public let uikitConfigInfo: UIKitConfigInfo
  • The maximum number of files that can be sent in a MultipleFilesMessage.

    Since

    4.9.1

    Declaration

    Swift

    @objc
    public let multipleFilesMessageFileCountLimit: Int
  • This function can check if Emoji information needs to be updated to date.

    Since

    3.0.180

    Declaration

    Swift

    @objc
    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