MobileAccessProvider
public class MobileAccessProvider
Configures and provides access to a singleton instance of the MobileAccess object
-
Configure the SDK. Configure cannot be called twice
Declaration
Swift
public static func configure( databaseFilePath: URL? = nil, localization: MobileAccessLocalization? = nil, cloudTlsValidationMode: CloudTlsValidationMode = .anyValidCertificateRequired, enabledFeatures: [SdkFeature] = [] ) -> MobileAccessParameters
databaseFilePathA custom file path for the database can be specified, a default value of ‘com.security.gallagher.mobileaccess.db’ will be used.
localizationThe localization object, used to customize UI shown by the SDK. Default values will be used if not specified.
cloudTlsValidationModeFor debug use; allows control over certificate validation that the SDK will do when connecting to the cloud
enabledFeaturesList of SdkFeatures for which features to enable status and error reporting on
-
Get the static shared instance of MobileAccess SDK
Declaration
Swift
public static var instance: MobileAccess { get }
MobileAccessProvider Class Reference