HyperSnapSDKConfig constructor

HyperSnapSDKConfig({
  1. bool? shouldEnableSSLPinning,
  2. bool? shouldReturnRawResponse,
  3. bool? shouldUseSignature,
  4. HVTimeoutConfig? timeoutConfig,
  5. 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,
});