spm仓库支持,通用仓库
lpw
2026-02-03 b4e4ae3f9448a7232314eb83698e6897e6f34fc3
WASdkImpl/Didomi.xcframework/ios-arm64_x86_64-simulator/Didomi.framework/Headers/Didomi-Swift.h
@@ -1,6 +1,6 @@
#if 0
#elif defined(__arm64__) && __arm64__
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
// 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,7 +1138,20 @@
/// 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")
@@ -1152,20 +1167,6 @@
@interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi))
@end
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,
};
@interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi))
@end
/// Error status for <code>loadUserStatuses</code> API
typedef SWIFT_ENUM(NSInteger, ErrorStatus, open) {
/// Multi-Storage disabled
@@ -1176,6 +1177,20 @@
  ErrorStatusSyncFailed = 2,
/// DCS signature failed
  ErrorStatusDcsSignatureFailed = 3,
};
@interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi))
@end
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.
@@ -1210,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.
@@ -1324,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");
@@ -1339,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");
@@ -1426,12 +1447,10 @@
@interface DDMVendor (SWIFT_EXTENSION(Didomi))
@end
/// Store localized URLs for privacy policy and LI claim.
SWIFT_CLASS_NAMED("URL")
@interface DDMVendorURL : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable langID;
@property (nonatomic, readonly, copy) NSString * _Nullable privacy;
@property (nonatomic, readonly, copy) NSString * _Nullable legIntClaim;
/// Store additional IDs (IAB, num) for the Vendor.
SWIFT_CLASS_NAMED("Namespaces")
@interface DDMVendorNamespaces : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable iab2;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -1440,10 +1459,12 @@
@interface DDMVendor (SWIFT_EXTENSION(Didomi))
@end
/// Store additional IDs (IAB, num) for the Vendor.
SWIFT_CLASS_NAMED("Namespaces")
@interface DDMVendorNamespaces : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable iab2;
/// Store localized URLs for privacy policy and LI claim.
SWIFT_CLASS_NAMED("URL")
@interface DDMVendorURL : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable langID;
@property (nonatomic, readonly, copy) NSString * _Nullable privacy;
@property (nonatomic, readonly, copy) NSString * _Nullable legIntClaim;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -1459,7 +1480,7 @@
#endif
#elif defined(__x86_64__) && __x86_64__
// Generated by Apple Swift version 6.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5)
// 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
@@ -2483,6 +2504,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
@@ -2541,6 +2563,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
@@ -2595,7 +2618,20 @@
/// 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")
@@ -2611,20 +2647,6 @@
@interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi))
@end
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,
};
@interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi))
@end
/// Error status for <code>loadUserStatuses</code> API
typedef SWIFT_ENUM(NSInteger, ErrorStatus, open) {
/// Multi-Storage disabled
@@ -2635,6 +2657,20 @@
  ErrorStatusSyncFailed = 2,
/// DCS signature failed
  ErrorStatusDcsSignatureFailed = 3,
};
@interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi))
@end
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.
@@ -2669,14 +2705,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.
@@ -2783,13 +2826,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");
@@ -2798,10 +2838,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");
@@ -2885,12 +2927,10 @@
@interface DDMVendor (SWIFT_EXTENSION(Didomi))
@end
/// Store localized URLs for privacy policy and LI claim.
SWIFT_CLASS_NAMED("URL")
@interface DDMVendorURL : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable langID;
@property (nonatomic, readonly, copy) NSString * _Nullable privacy;
@property (nonatomic, readonly, copy) NSString * _Nullable legIntClaim;
/// Store additional IDs (IAB, num) for the Vendor.
SWIFT_CLASS_NAMED("Namespaces")
@interface DDMVendorNamespaces : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable iab2;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@@ -2899,10 +2939,12 @@
@interface DDMVendor (SWIFT_EXTENSION(Didomi))
@end
/// Store additional IDs (IAB, num) for the Vendor.
SWIFT_CLASS_NAMED("Namespaces")
@interface DDMVendorNamespaces : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable iab2;
/// Store localized URLs for privacy policy and LI claim.
SWIFT_CLASS_NAMED("URL")
@interface DDMVendorURL : NSObject
@property (nonatomic, readonly, copy) NSString * _Nullable langID;
@property (nonatomic, readonly, copy) NSString * _Nullable privacy;
@property (nonatomic, readonly, copy) NSString * _Nullable legIntClaim;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");