#import <Foundation/Foundation.h>

#import "AdinCubeUserConsentAnswer.h"

/*!
 @abstract Provide callback to react to events related to the display of a consent screen by the ask method.
 */
@protocol AdinCubeUserConsentAskDelegate <NSObject>
@optional

- (void)didCompleteAsk:(AdinCubeUserConsentAnswer)answer;

- (void)didFailToAsk:(nonnull NSString*)errorCode;

@end

/*!
 @abstract Provide callback to react to events related to the display of a consent screen by the edit method.
 */
@protocol AdinCubeUserConsentEditDelegate <NSObject>
@optional

- (void)didCompleteEdit:(AdinCubeUserConsentAnswer)answer;

- (void)didFailToEdit:(nonnull NSString*)errorCode;

@end
