InitializeSDKBuilder class
InitializeSDKBuilder
is a class used to build a configuration for initializing the SDK.
@property storageFolderName The name of the local storage folder. @property iOSContainerID The ID of the iOS container. @property licenseKey The license key. @property enableMobileNumberLogin A flag to enable login via mobile number. @property chatHistoryEnable A flag to enable chat history. @property enableDebugLog A flag to enable debug logging. @property enablePrivateStorage A flag to enable private Storage.
- Available extensions
Constructors
- InitializeSDKBuilder({String? storageFolderName, required String iOSContainerID, required String licenseKey, bool enableMobileNumberLogin = false, bool? chatHistoryEnable, bool enableDebugLog = false, bool enablePrivateStorage = false})
- This constructor allows for the configuration of the SDK initialization process, including specifying storage options, authentication details, and various feature toggles.
Properties
- chatHistoryEnable ↔ bool?
-
Determines if chat history should be enabled. Defaults to false.
getter/setter pair
- enableDebugLog ↔ bool
-
Determines if debug logging is enabled. Defaults to false.
getter/setter pair
- enableMobileNumberLogin ↔ bool
-
Determines if login via mobile number is enabled. Defaults to false.
getter/setter pair
- enablePrivateStorage ↔ bool
-
Determines if private storage is enabled. Defaults to false.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- iOSContainerID ↔ String
-
The ID of the iOS container. Required for iOS platforms.
getter/setter pair
- licenseKey ↔ String
-
The license key for authentication. Required.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- storageFolderName ↔ String?
-
The name of the local storage folder. Optional for Android platforms.
getter/setter pair
Methods
-
build(
) → Map -
Available on InitializeSDKBuilder, provided by the InitializeSDKBuilderParsing extension
Builds a map from the properties of anInitializeSDKBuilder
instance. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited