This commit is contained in:
2023-12-06 14:51:43 +05:30
parent 133f0413f2
commit 5df6ee8ae5
530 changed files with 26339 additions and 12407 deletions

View File

@@ -0,0 +1,30 @@
#import <Foundation/Foundation.h>
#import "ConsentManagerErrorBridge.h"
#import "ConsentBridge.h"
NS_ASSUME_NONNULL_BEGIN
@class ConsentForm;
typedef void (ConsentFormCallback)(void);
typedef void (ConsentFormCallbackError)(ConsentManagerErrorBridge *error);
typedef void (ConsentFormCallbackClosed)(ConsentBridge *consent);
FOUNDATION_EXPORT ConsentForm *GetConsentForm(void);
FOUNDATION_EXPORT void WithListener(ConsentFormCallback onConsentFormLoaded,
ConsentFormCallbackError onConsentFormError,
ConsentFormCallback onConsentFormOpened,
ConsentFormCallbackClosed onConsentFormClosed);
FOUNDATION_EXPORT ConsentForm *GetConsentForm(void);
FOUNDATION_EXPORT void Load(void);
FOUNDATION_EXPORT void Show(void);
FOUNDATION_EXPORT bool IsLoaded(void);
FOUNDATION_EXPORT bool IsShowing(void);
@interface ConsentForm : NSObject
@end
NS_ASSUME_NONNULL_END