sensitivity.io for iOS & macOS  1.1.4
Class Methods | List of all members
ResourcesInitializer(SDS) Category Reference

#import <ResourcesInitializer+SDS.h>

Class Methods

(BOOL) + initSdsWithError:
 

Detailed Description

SDS ResourcesInitializer category provides the means to initialize sensitive data scanner(SDS) module resources

Method Documentation

◆ initSdsWithError:()

+ (BOOL) initSdsWithError: (NSError *_Nullable *_Nullable)  error

Initializes sensitivity.io sensitive data scanner(SDS) resources

Attention
Must be called once on app lifetime before performing any scan, otherwise the scan will fail
Note
This Objective C method to initialize the SDS resources is equivalent to the following:
#import <sensitivityio/file_magic/init_resources.hpp>
#import <sensitivityio/c_sds/init_resources.h>
sensitivityio_file_magic_init_resources();
sensitivityio_sds_init_resources();
In case you already use file_magic library in your application, include only the missing init resources from the list above, instead of using initSdsWithError.
Precondition
Initialize sensitivity.io base resources first
Parameters
errorThe error representing the reason for the failure
Returns
True on success, false in case an error occured

Extends class ResourcesInitializer.


The documentation for this category was generated from the following file: