CTXMAMCompliance.h

Last published : Oct 31, 2026
Includes:
<Foundation/Foundation.h>
Used as the main header for the CTXMAMCompliance.framework. Including this header into your source files will add all required headers in order to implement the CTXMAMCompliance framework properly into your project.
<tt>CTXMAMComplianceDelegate</tt>
This protocol provides callback with NSError objects with CTXMAMComplianceError codes and localized message strings.
<tt>+checkCompliance</tt>
-(nullable NSArray<NSError *> *) checkCompliance;  
An array of compliance check errors as NSError objects with error code of type CTXMAMComplianceError.
An optional method for app developers to call compliance checks on demand.:
-(void) performLogonWithErrorContext:(NSError*)errorContext
        completionHandler:(void(\^)(BOOL success))completionBlock;  
errorContext
CTXMAMComplianceError error object received from CTXMAMComplianceDelegate methods.
completionBlock
Completion block with status of the logon request.
API to perform logon when needed to handle any compliance violations or to perform any security action:
<tt>CTXMAMComplianceErrorDomain</tt>
CTXMAM Compliance SDK security actions or compliance violations.
CTXMAM Compliance SDK security actions or compliance violations.
extern NSString * const CTXMAMComplianceErrorDomain;