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. (The unit is bytes.)

    Since

    3.0.180

    Declaration

    Swift

    @objc
    public internal(set) 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 }
  • 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

  • Default constructor.

    Declaration

    Swift

    public required init(from decoder: Decoder) throws

    Parameters

    decoder

    Decoder instance