NativeSealdInitializeOptions class
SealdInitializeOptions is the main options object for initializing the SDK instance
- Inheritance
- Implemented types
- Available extensions
Constructors
Properties
-
address
→ Pointer<
T> -
Available on T, provided by the StructAddress extension
The memory address of the underlying data.no setter -
ApiURL
↔ Pointer<
Utf8> -
ApiURL is the Seald server for this instance to use. This value is given on your Seald dashboard.
getter/setter pair
-
AppId
↔ Pointer<
Utf8> -
AppId is the ID given by the Seald server to your app. This value is given on your Seald dashboard.
getter/setter pair
-
DatabaseEncryptionKey
↔ Pointer<
Uint8> -
DatabaseEncryptionKey is the encryption key with which to encrypt the local Seald database. Required when passing
DatabasePath. This must be a cryptographically random buffer of 64 bytes.getter/setter pair - DatabaseEncryptionKeyLen ↔ int
-
DatabaseEncryptionKeyLen The length of DatabaseEncryptionKey.
getter/setter pair
-
DatabasePath
↔ Pointer<
Utf8> -
DatabasePath is the path where to store the local Seald database. If
NULLor empty, uses an in-memory only database.getter/setter pair - EncryptionSessionCacheTTL ↔ int
-
EncryptionSessionCacheTTL is the duration of cache lifetime in Milliseconds.
-1to cache forever.0for no cache.getter/setter pair - hashCode → int
-
The hash code for this object.
no setterinherited
-
InstanceName
↔ Pointer<
Utf8> -
InstanceName is an arbitrary name to give to this Seald instance. Can be useful for debugging when multiple instances are running in parallel, as it is added to logs.
getter/setter pair
- KeySize ↔ int
-
KeySize is the Asymmetric key size for newly generated keys. Defaults to 4096. Warning: for security, it is extremely not recommended to lower this value. For advanced use only.
getter/setter pair
- LogLevel ↔ int
-
LogLevel is the minimum level of logs you want. All logs of this level or above will be displayed.
-1: Trace;0: Debug;1: Info;2: Warn;3: Error;4: Fatal;5: Panic;6: NoLevel;7: Disabled.getter/setter pair - LogNoColor ↔ int
-
LogNoColor should be set to
0if you want to enable colors in the log output,1if you don't.getter/setter pair -
Platform
↔ Pointer<
Utf8> -
Platform is a name that references the platform on which the SDK is running.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
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