| | |
| | | #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 |
| | |
| | | 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 |
| | |
| | | @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 |
| | | |
| | |
| | | /// 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") |
| | |
| | | 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. |
| | |
| | | @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"); |
| | |
| | | @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"); |