HyperSnapSDKConfig constructor
HyperSnapSDKConfig({
- bool? shouldEnableSSLPinning,
- bool? shouldReturnRawResponse,
- bool? shouldUseSignature,
- HVTimeoutConfig? timeoutConfig,
- HVUIConfig? hvUIConfig,
Creates a new instance of HyperSnapSDKConfig with the specified options.
Parameters:
- shouldEnableSSLPinning: (optional) Set to true if SSL pinning should be enabled in the application.
- shouldUseSignature: (optional) Set to true if the signature of the images should be used for API calls.
- shouldReturnRawResponse: (optional) Set to true if raw response should be returned from the plugin.
- timeoutConfig: (optional) Timeout configuration for API calls.
- hvUIConfig: (optional) UI configuration for the HyperSnap SDK.
Implementation
HyperSnapSDKConfig({
this.shouldEnableSSLPinning,
this.shouldReturnRawResponse,
this.shouldUseSignature,
this.timeoutConfig,
this.hvUIConfig,
});