BlinkIdSdkSettings class
Settings for the initialization of the BlinkID SDK.
- Annotations
-
- @JsonSerializable()
Constructors
- BlinkIdSdkSettings.new(String licenseKey, [dynamic licensee, dynamic downloadResources, dynamic resourceDownloadUrl, dynamic resourceLocalFolder, dynamic bundleURL, dynamic resourceRequestTimeout, dynamic microblinkProxyURL])
- Settings for the initialization of the BlinkID SDK.
-
BlinkIdSdkSettings.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bundleURL ↔ String?
-
If resources downloading is disabled, this defines the bundle of your app where the resources reside.
getter/setter pair
- downloadResources ↔ bool?
-
Whether resources required for on-device image processing should be downloaded and cached
on first initialization of the SDK.
If set to false, you need to package all the required
resources in your application's assets.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- licensee ↔ String?
-
Optional licensee string if the provided license key is not tied to the single application ID
getter/setter pair
- licenseKey ↔ String
-
License key for the native SDK
getter/setter pair
- microblinkProxyURL ↔ String?
-
Set a custom HTTPS URL to be used as a proxy for Ping and license checks.
The proxy URL will be applied only if the license has the appropriate rights.
The URL must use the HTTPS protocol. Example: https://your-proxy.com/
getter/setter pair
- resourceDownloadUrl ↔ String?
-
If resources are to be downloaded, the following is the URL where the resources are hosted.
URL:
"https://models.cdn.microblink.com/resources"
getter/setter pair - resourceLocalFolder ↔ String?
-
Local folder name where resources will be downloaded and cached.
If resources are being downloaded, this defines the name of the folder within your
application's cache folder where resources will be cached.
getter/setter pair
- resourceRequestTimeout ↔ int?
-
Timeout settings for resource downloads.
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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited