| | |
| | | #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.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) |
| | | #ifndef DIDOMI_SWIFT_H |
| | | #define DIDOMI_SWIFT_H |
| | | #pragma clang diagnostic push |
| | |
| | | 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; |
| | |
| | | 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, |
| | | StatusInvalid = 1, |
| | | /// New User - no consent |
| | | StatusNewUser = 3, |
| | | StatusNewUser = 2, |
| | | /// Consent was successfully synced |
| | | StatusSynced = 4, |
| | | StatusSynced = 3, |
| | | }; |
| | | |
| | | @interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi)) |
| | |
| | | |
| | | /// 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, |
| | | ErrorStatusMultiStorageDisabled = 0, |
| | | /// Sync disabled |
| | | ErrorStatusSyncDisabled = 2, |
| | | ErrorStatusSyncDisabled = 1, |
| | | /// Sync failed |
| | | ErrorStatusSyncFailed = 3, |
| | | ErrorStatusSyncFailed = 2, |
| | | /// DCS signature failed |
| | | ErrorStatusDcsSignatureFailed = 4, |
| | | ErrorStatusDcsSignatureFailed = 3, |
| | | }; |
| | | |
| | | /// Public class representing a single Purpose configuration. |
| | |
| | | @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"); |
| | |
| | | @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"); |
| | |
| | | #endif |
| | | |
| | | #elif defined(__x86_64__) && __x86_64__ |
| | | // 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.1.2 effective-5.10 (swiftlang-6.1.2.1.2 clang-1700.0.13.5) |
| | | #ifndef DIDOMI_SWIFT_H |
| | | #define DIDOMI_SWIFT_H |
| | | #pragma clang diagnostic push |
| | |
| | | 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; |
| | |
| | | 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, |
| | | StatusInvalid = 1, |
| | | /// New User - no consent |
| | | StatusNewUser = 3, |
| | | StatusNewUser = 2, |
| | | /// Consent was successfully synced |
| | | StatusSynced = 4, |
| | | StatusSynced = 3, |
| | | }; |
| | | |
| | | @interface LoadUserStatusResult (SWIFT_EXTENSION(Didomi)) |
| | |
| | | |
| | | /// 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, |
| | | ErrorStatusMultiStorageDisabled = 0, |
| | | /// Sync disabled |
| | | ErrorStatusSyncDisabled = 2, |
| | | ErrorStatusSyncDisabled = 1, |
| | | /// Sync failed |
| | | ErrorStatusSyncFailed = 3, |
| | | ErrorStatusSyncFailed = 2, |
| | | /// DCS signature failed |
| | | ErrorStatusDcsSignatureFailed = 4, |
| | | ErrorStatusDcsSignatureFailed = 3, |
| | | }; |
| | | |
| | | /// Public class representing a single Purpose configuration. |
| | |
| | | @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"); |
| | |
| | | @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"); |