sensitivity.io for iOS & macOS  1.1.4
Instance Methods | List of all members
Classification Class Reference

#import <Classification.h>

Inheritance diagram for Classification:

Instance Methods

(instancetype _Nullable) - initWithError:
 
(BOOL) - isCorporate:withError:
 
(NSString *_Nonnull) - description
 

Detailed Description

The Classification class contains the information about a found classification using the sensitivity.io classification module

Method Documentation

◆ description()

- (NSString* _Nonnull) description

Get classification description

Returns
The classification description

◆ initWithError:()

- (instancetype _Nullable) initWithError: (NSError *_Nullable *_Nullable)  error

Initializes a new object immediately after memory for it has been allocated

Note
The designated initializer
Parameters
errorThe error representing the reason for the failure
Returns
The initialized object

◆ isCorporate:withError:()

- (BOOL) isCorporate: (BOOL *_Nonnull)  isCorporate
withError: (NSError *_Nullable *_Nullable)  error 

Get classification corporate status

Parameters
isCorporateWill be set to classification corporate status on success
errorThe error representing the reason for the failure
Returns
True on success, false in case an error occured

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