InitParams

@objc(SBDInitParams)
public class InitParams : NSObject

An object to initialize SendbirdChat

Since

4.0.0
  • Application ID

    Declaration

    Swift

    @objc
    public var applicationId: String
  • Determines to use local caching

    Declaration

    Swift

    @objc
    public var isLocalCachingEnabled: Bool
  • Loglevel

    Declaration

    Swift

    @objc
    public var logLevel: LogLevel
  • Host app version

    Declaration

    Swift

    @objc
    public var appVersion: String?
  • Parameter constructor

    Declaration

    Swift

    @objc
    public init(
        applicationId: String,
        isLocalCachingEnabled: Bool = false,
        logLevel: LogLevel = .none,
        appVersion: String? = nil
    )

    Parameters

    applicationID

    Sendbird Application ID

    isLocalCachingEnabled

    true if using local caching

    logLevel

    log level

    appVersion

    host app version