#import <ResourcesInitializer+SDS.h>
SDS ResourcesInitializer category provides the means to initialize sensitive data scanner(SDS) module resources
◆ 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
-
error | The 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: