Partager via


MSConsentCallback consents method

Implement this callback method to process user consent.

Signature

- (void)consents:(NSArray *)consents 
   consentsCompletionBlock:(void(^)(NSArray *consentsResult))consentsCompletionBlock;

Parameters

Name Datatype Notes
consents
NSArray *
An array of MSConsent objects
completionBlock
void(^)(NSArray * consentsResult)
An array of MSConsent objects

Defined in

MSConsent.h

Supported Platforms

Minimum supported OS versions
iOS 7.0 and OS X 10.8

Remarks

This method must be implemented by you. The Rights Management SDK 4.2 will use this method via its APIs to process user consent for your application.