lpw
2026-02-03 b5a6c4585986273a61f0f0880eb9d69f35717892
frameworks/Didomi.xcframework/ios-arm64/Didomi.framework/Headers/Didomi-Swift.h
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
// Generated by Apple Swift version 6.2.3 effective-5.10 (swiftlang-6.2.3.3.21 clang-1700.6.3.2)
#ifndef DIDOMI_SWIFT_H
#define DIDOMI_SWIFT_H
#pragma clang diagnostic push
@@ -1024,6 +1024,7 @@
enum DDMEventType : NSInteger;
@class DDMSyncUserChangedEvent;
@class DDMSyncReadyEvent;
@class DDMIntegrationErrorEvent;
/// Class used as a listener for internal events occurred in the SDK.
SWIFT_CLASS_NAMED("EventListener")
@interface DDMEventListener : NSObject
@@ -1082,6 +1083,7 @@
@property (nonatomic, copy) void (^ _Nonnull onLanguageUpdateFailed)(enum DDMEventType, NSString * _Nullable);
@property (nonatomic, copy) void (^ _Nonnull onDCSSignatureReady)(enum DDMEventType);
@property (nonatomic, copy) void (^ _Nonnull onDCSSignatureError)(enum DDMEventType);
@property (nonatomic, copy) void (^ _Nonnull onIntegrationError)(DDMIntegrationErrorEvent * _Nonnull);
- (nonnull instancetype)init OBJC_DESIGNATED_INITIALIZER;
@end
@@ -1136,12 +1138,25 @@
/// DCS Signature
  DDMEventTypeDcsSignatureReady = 41,
  DDMEventTypeDcsSignatureError = 42,
/// Integrations
  DDMEventTypeIntegrationError = 43,
};
/// Class used to contain information about the external dependencies integration error event.
SWIFT_CLASS_NAMED("IntegrationErrorEvent")
@interface DDMIntegrationErrorEvent : NSObject
/// Indicates the dependency for which the error was triggered
@property (nonatomic, readonly, copy) NSString * _Nonnull integrationName;
/// Description of the error
@property (nonatomic, readonly, copy) NSString * _Nonnull reason;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
enum Status : NSInteger;
SWIFT_CLASS("_TtC6Didomi20LoadUserStatusResult")
@interface LoadUserStatusResult : NSObject
@property (nonatomic, readonly, strong) DDMCurrentUserStatus * _Nonnull userStatus;
@property (nonatomic, readonly, strong) DDMCurrentUserStatus * _Nullable currentUserStatus;
@property (nonatomic, readonly, copy) NSString * _Nonnull syncDate;
@property (nonatomic, readonly, strong) id <UserAuth> _Nonnull userAuth;
@property (nonatomic, readonly) enum Status status;
@@ -1152,34 +1167,30 @@
@interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi))
@end
typedef SWIFT_ENUM(NSInteger, Status, open) {
/// Consent was loaded from cache
  StatusCached = 0,
/// Consent was canceled
  StatusCanceled = 1,
/// Invalid - See <code>error</code> for more details
  StatusInvalid = 2,
/// New User - no consent
  StatusNewUser = 3,
/// Consent was successfully synced
  StatusSynced = 4,
/// Error status for <code>loadUserStatuses</code> API
typedef SWIFT_ENUM(NSInteger, ErrorStatus, open) {
/// Multi-Storage disabled
  ErrorStatusMultiStorageDisabled = 0,
/// Sync disabled
  ErrorStatusSyncDisabled = 1,
/// Sync failed
  ErrorStatusSyncFailed = 2,
/// DCS signature failed
  ErrorStatusDcsSignatureFailed = 3,
};
@interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi))
@end
/// Error status for <code>loadUserStatuses</code> API
typedef SWIFT_ENUM(NSInteger, ErrorStatus, open) {
/// Max user count has been reached
  ErrorStatusMaxUserCountReached = 0,
/// Multi-Storage disabled
  ErrorStatusMultiStorageDisabled = 1,
/// Sync disabled
  ErrorStatusSyncDisabled = 2,
/// Sync failed
  ErrorStatusSyncFailed = 3,
/// DCS signature failed
  ErrorStatusDcsSignatureFailed = 4,
typedef SWIFT_ENUM(NSInteger, Status, open) {
/// Consent was loaded from cache
  StatusCached = 0,
/// Invalid - See <code>error</code> for more details
  StatusInvalid = 1,
/// New User - no consent
  StatusNewUser = 2,
/// Consent was successfully synced
  StatusSynced = 3,
};
/// Public class representing a single Purpose configuration.
@@ -1214,14 +1225,21 @@
  RegulationDpdpa = 5,
  RegulationFdbr = 6,
  RegulationIcdpa = 7,
  RegulationMcdpa = 8,
  RegulationNhpa = 9,
  RegulationNjdpa = 10,
  RegulationOcpa = 11,
  RegulationTdpsa = 12,
  RegulationUcpa = 13,
  RegulationVcdpa = 14,
  RegulationNone = 15,
  RegulationIncdpa = 8,
  RegulationKcdpa = 9,
  RegulationMcdpa = 10,
  RegulationMncdpa = 11,
  RegulationModpa = 12,
  RegulationNdpa = 13,
  RegulationNhpa = 14,
  RegulationNjdpa = 15,
  RegulationOcpa = 16,
  RegulationRidtppa = 17,
  RegulationTdpsa = 18,
  RegulationTipa = 19,
  RegulationUcpa = 20,
  RegulationVcdpa = 21,
  RegulationNone = 22,
};
/// Class used to contain information about the occurrence of the Sync Ready event.
@@ -1328,13 +1346,10 @@
@interface DDMUserStatus (SWIFT_EXTENSION(Didomi))
@end
@class DDMUserStatusIDs;
SWIFT_CLASS_NAMED("Purposes")
@interface DDMUserStatusPurposes : NSObject
@property (nonatomic, readonly, strong) DDMUserStatusIDs * _Nonnull consent;
@property (nonatomic, readonly, strong) DDMUserStatusIDs * _Nonnull legitimateInterest;
@property (nonatomic, readonly, strong) DDMUserStatusIDs * _Nonnull global;
@property (nonatomic, readonly, copy) NSSet<NSString *> * _Nonnull essential;
SWIFT_CLASS_NAMED("IDs")
@interface DDMUserStatusIDs : NSObject
@property (nonatomic, readonly, copy) NSSet<NSString *> * _Nonnull enabled;
@property (nonatomic, readonly, copy) NSSet<NSString *> * _Nonnull disabled;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -1343,10 +1358,12 @@
@interface DDMUserStatus (SWIFT_EXTENSION(Didomi))
@end
SWIFT_CLASS_NAMED("IDs")
@interface DDMUserStatusIDs : NSObject
@property (nonatomic, readonly, copy) NSSet<NSString *> * _Nonnull enabled;
@property (nonatomic, readonly, copy) NSSet<NSString *> * _Nonnull disabled;
SWIFT_CLASS_NAMED("Purposes")
@interface DDMUserStatusPurposes : NSObject
@property (nonatomic, readonly, strong) DDMUserStatusIDs * _Nonnull consent;
@property (nonatomic, readonly, strong) DDMUserStatusIDs * _Nonnull legitimateInterest;
@property (nonatomic, readonly, strong) DDMUserStatusIDs * _Nonnull global;
@property (nonatomic, readonly, copy) NSSet<NSString *> * _Nonnull essential;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");