lpw
14 hours ago 49b5f8ec0881daeb9c8bc62822a7e59e4e63e58d
frameworks/Didomi.xcframework/tvos-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 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
// Generated by Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
#ifndef DIDOMI_SWIFT_H
#define DIDOMI_SWIFT_H
#pragma clang diagnostic push
@@ -42,6 +42,8 @@
#include <string.h>
#endif
#if defined(__cplusplus)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
# include <ptrauth.h>
#else
@@ -55,6 +57,7 @@
# endif
#pragma clang diagnostic pop
#endif
#pragma clang diagnostic pop
#endif
#if !defined(SWIFT_TYPEDEFS)
@@ -62,6 +65,7 @@
# if __has_include(<uchar.h>)
#  include <uchar.h>
# elif !defined(__cplusplus)
typedef unsigned char char8_t;
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
@@ -291,6 +295,7 @@
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
@@ -300,7 +305,6 @@
#endif
#if defined(__OBJC__)
/// Consent status to a vendor or purpose.
typedef SWIFT_ENUM(NSInteger, ConsentStatus, open) {
@@ -313,7 +317,6 @@
@class DDMCurrentUserStatusPurpose;
@class DDMCurrentUserStatusVendor;
enum Regulation : NSInteger;
SWIFT_CLASS_NAMED("CurrentUserStatus")
@interface DDMCurrentUserStatus : NSObject
@property (nonatomic, readonly, copy) NSDictionary<NSString *, DDMCurrentUserStatusPurpose *> * _Nonnull purposes;
@@ -325,15 +328,31 @@
@property (nonatomic, readonly, copy) NSString * _Nonnull additionalConsent;
@property (nonatomic, readonly) enum Regulation regulation;
@property (nonatomic, readonly, copy) NSString * _Nonnull didomiDCS;
@property (nonatomic, readonly, copy) NSString * _Nonnull gppString;
- (nonnull instancetype)initWithPurposes:(NSDictionary<NSString *, DDMCurrentUserStatusPurpose *> * _Nonnull)purposes vendors:(NSDictionary<NSString *, DDMCurrentUserStatusVendor *> * _Nonnull)vendors OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMCurrentUserStatus (SWIFT_EXTENSION(Didomi))
/// Determine if the User Status (consent) should be collected or not based on the current instance. This function will return <em>true</em> if:
/// <ul>
///   <li>
///     Regulation is different from NONE and
///   </li>
///   <li>
///     Current user status is partial and
///   </li>
///   <li>
///     The number of days before displaying the notice again has exceeded the limit specified on the Console or no User Status has been saved
///     This function will return <em>false</em> otherwise.
///   </li>
/// </ul>
///
/// returns:
/// A boolean depending if the Current User Status (consent) should be collected or not.
- (BOOL)shouldUserStatusBeCollected SWIFT_WARN_UNUSED_RESULT;
@end
SWIFT_CLASS_NAMED("PurposeStatus")
@interface DDMCurrentUserStatusPurpose : NSObject
@@ -345,7 +364,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
SWIFT_CLASS_NAMED("VendorStatus")
@interface DDMCurrentUserStatusVendor : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull id;
@@ -355,7 +373,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Class used to asynchronously enable and disable purposes and vendors through different methods.
/// These changes will not be reflected on the user status until the <code>commit</code> method is called.
@@ -426,14 +443,12 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@protocol ViewProviderDelegate;
@class DidomiInitializeParameters;
@class DDMErrorEvent;
@class DDMEventListener;
@class DDMPurpose;
@class DDMVendor;
SWIFT_CLASS("_TtC6Didomi6Didomi")
@interface Didomi : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Didomi * _Nonnull shared;)
@@ -469,23 +484,6 @@
/// returns:
/// <em>true</em> if consent status has been updated, <em>false</em> otherwise.
- (BOOL)setUserConsentStatusWithEnabledPurposeIds:(NSSet<NSString *> * _Nonnull)enabledPurposeIds disabledPurposeIds:(NSSet<NSString *> * _Nonnull)disabledPurposeIds enabledVendorIds:(NSSet<NSString *> * _Nonnull)enabledVendorIds disabledVendorIds:(NSSet<NSString *> * _Nonnull)disabledVendorIds SWIFT_WARN_UNUSED_RESULT;
/// Determine if the user is subject to a regulation that requires consent collection.
/// This along with the choices that the user has or has not made
/// will determine each time that the SDK is initialized if the notice should be displayed or not.
///
/// returns:
/// <em>true</em> if consent is required, <em>false</em> if it is not required.
- (BOOL)isConsentRequired SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Instead, check that applicableRegulation is not .none in Swift or RegulationNone in Objective-C");
/// Determine if consent information is available for all purposes and vendors that are required
///
/// returns:
/// <em>true</em> if consent is required and consent information is available, <em>false</em> otherwise.
- (BOOL)isUserConsentStatusPartial SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use shouldUserStatusBeCollected() instead.");
/// Determine if legitimate interest information is available for all purposes and vendors that are required
///
/// returns:
/// <em>true</em> if consent is required and legitimate interest information is available, <em>false</em> otherwise.
- (BOOL)isUserLegitimateInterestStatusPartial SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use shouldUserStatusBeCollected() instead.");
/// Set the user status for purposes and vendors for consent and legitimate interest.
/// \param purposesConsentStatus boolean used to determine if consent will be enabled or disabled for all purposes.
///
@@ -643,7 +641,6 @@
};
@class UIViewController;
/// Protocol used to provide the view controllers for the preferences/purposes and notice view.
/// To provide customs views, this protocol will have to be implemented.
/// This protocol is implemented by the Didomi singleton to provide the default view controllers.
@@ -665,7 +662,6 @@
- (UIViewController * _Nonnull)getPreferencesViewController SWIFT_WARN_UNUSED_RESULT;
@end
@interface Didomi (SWIFT_EXTENSION(Didomi)) <ViewProviderDelegate>
- (UIViewController * _Nonnull)getNoticeViewControllerWithPosition:(NSString * _Nonnull)position noticeSkipped:(BOOL)noticeSkipped SWIFT_WARN_UNUSED_RESULT;
- (UIViewController * _Nonnull)getPreferencesViewController SWIFT_WARN_UNUSED_RESULT;
@@ -673,8 +669,9 @@
@class DidomiUserParameters;
@class UserAuthParams;
@class LoadUserStatusResult;
@class DDMUserStatus;
@protocol UserAuth;
@interface Didomi (SWIFT_EXTENSION(Didomi))
/// Provide the objects required to display UI elements
- (void)setupUIWithContainerController:(UIViewController * _Nonnull)containerController;
@@ -687,6 +684,13 @@
- (void)hideNotice;
/// Check if the consent notice is currently displayed
- (BOOL)isNoticeVisible SWIFT_WARN_UNUSED_RESULT;
/// Determine if the user is subject to a regulation that requires consent collection.
/// This along with the choices that the user has or has not made
/// will determine each time that the SDK is initialized if the notice should be displayed or not.
///
/// returns:
/// <em>true</em> if consent is required, <em>false</em> if it is not required.
- (BOOL)isConsentRequired SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Instead, check that applicableRegulation is not .none in Swift or RegulationNone in Objective-C");
/// Check if the consent should be collected depending on if we have any consents or if we have some consents but the number of days before displaying the notice again has not expired yet
///
/// returns:
@@ -713,6 +717,16 @@
/// returns:
/// <em>true</em> if user status is partial, <em>false</em> otherwise
- (BOOL)isUserStatusPartial SWIFT_WARN_UNUSED_RESULT;
/// Determine if consent information is available for all purposes and vendors that are required
///
/// returns:
/// <em>true</em> if consent is required and consent information is available, <em>false</em> otherwise.
- (BOOL)isUserConsentStatusPartial SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use shouldUserStatusBeCollected() instead.");
/// Determine if legitimate interest information is available for all purposes and vendors that are required
///
/// returns:
/// <em>true</em> if consent is required and legitimate interest information is available, <em>false</em> otherwise.
- (BOOL)isUserLegitimateInterestStatusPartial SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use shouldUserStatusBeCollected() instead.");
/// Show the preferences screen when/if the SDK is ready. By default the purposes list will be displayed.
/// \param controller view controller from where preferences will be presented.
///
@@ -905,10 +919,20 @@
- (void)setUserWithUserAuthParams:(UserAuthParams * _Nonnull)userAuthParams synchronizedUsers:(NSArray<UserAuthParams *> * _Nonnull)synchronizedUsers dcsUser:(UserAuthParams * _Nonnull)dcsUser isUnderage:(BOOL)isUnderage containerController:(UIViewController * _Nonnull)containerController SWIFT_DEPRECATED_MSG("Use setUser(DidomiUserParameters) instead.");
/// Remove organization user information (should be called when the SDK is initialized).
- (void)clearUser;
/// Remove organization user information for all users (should be called when the SDK is initialized).
- (void)clearAllUsers;
/// Load the current user status for the specified users.
/// \param users An array of <code>DidomiUserParameters</code> representing the specified users’ authentication parameters.
///
/// \param callback A closure that returns an array of <code>LoadUserStatusResult</code> representing the current user status result for the specified users.
///
- (void)loadUserStatuses:(NSArray<DidomiUserParameters *> * _Nonnull)users callback:(void (^ _Nonnull)(NSArray<LoadUserStatusResult *> * _Nonnull))callback;
/// Get an instance of <code>UserStatus</code> containing all the information related to the user’s choices.
- (DDMUserStatus * _Nonnull)getUserStatus SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use getCurrentUserStatus() instead.");
/// Get an instance of <code>CurrentUserStatus</code> containing all the information related to the user’s choices.
- (DDMCurrentUserStatus * _Nonnull)getCurrentUserStatus SWIFT_WARN_UNUSED_RESULT;
/// Get an instance of <code>CurrentUserStatus</code> containing all the information related to the user’s choices.
- (DDMCurrentUserStatus * _Nullable)getCurrentUserStatusWithUserAuth:(id <UserAuth> _Nonnull)userAuth SWIFT_WARN_UNUSED_RESULT;
/// Save user’s choices.
/// \param currentUserStatus instance of CurrentUserStatus containing the user’s choices.
///
@@ -926,7 +950,6 @@
@end
enum DDMErrorEventType : NSInteger;
/// Type used to represent unexpected situations during SDK initialization.
SWIFT_CLASS_NAMED("DidomiErrorEvent")
@interface DDMErrorEvent : NSObject
@@ -946,7 +969,6 @@
  DDMErrorEventTypeErrorLoadingUIResource = 5,
};
/// Initialization parameters for Didomi SDK
SWIFT_CLASS("_TtC6Didomi26DidomiInitializeParameters")
@interface DidomiInitializeParameters : NSObject
@@ -955,18 +977,15 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@protocol UserAuth;
@class NSNumber;
/// User parameters for Didomi SDK
/// \param userAuth The main user authentication.
/// User parameters for the Didomi SDK.
/// \param userAuth The user’s main authentication.
///
/// \param dcsUserAuth The user authentication for Didomi Consent String.
/// \param dcsUserAuth The user authentication specific to the Didomi Consent String (DCS).
///
/// \param containerController The UIViewController if the notice should be displayed when the consent expired or the user is new.
/// \param containerController The <code>UIViewController</code> used to display the notice if the consent has expired or the user is new.
///
/// \param isUnderage If the user is underage (nil will keep the previous setting).
/// \param isUnderage Indicates whether the user is underage (<code>nil</code> will keep the previous setting).
///
SWIFT_CLASS("_TtC6Didomi20DidomiUserParameters")
@interface DidomiUserParameters : NSObject
@@ -978,7 +997,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// User parameters for Didomi SDK
/// \param userAuth The main user authentication.
///
@@ -986,23 +1004,27 @@
///
/// \param synchronizedUser The synchronized user list.
///
/// \param activity The UIViewController if the notice should be displayed when the consent expired or the user is new.
/// \param activity The <code>UIViewController</code> if the notice should be displayed when the consent expired or the user is new.
///
/// \param isUnderage If the user is underage (nil will keep the previous setting).
/// \param isUnderage If the user is underage (<code>nil</code> will keep the previous setting).
///
/// \param overrideMainStorage If the main storage should be overridden (when multi-storage feature is enabled).
///
SWIFT_CLASS("_TtC6Didomi25DidomiMultiUserParameters")
@interface DidomiMultiUserParameters : DidomiUserParameters
/// Initializer for Objective-C compatibility
- (nonnull instancetype)initWithUserAuth:(id <UserAuth> _Nonnull)userAuth dcsUserAuth:(UserAuthParams * _Nullable)dcsUserAuth synchronizedUsers:(NSArray<UserAuthParams *> * _Nullable)synchronizedUsers containerController:(UIViewController * _Nullable)containerController isUnderage:(NSNumber * _Nonnull)isUnderage overrideMainStorage:(BOOL)overrideMainStorage;
/// Initializer for Objective-C compatibility
- (nonnull instancetype)initWithUserAuth:(id <UserAuth> _Nonnull)userAuth dcsUserAuth:(UserAuthParams * _Nullable)dcsUserAuth synchronizedUsers:(NSArray<UserAuthParams *> * _Nullable)synchronizedUsers containerController:(UIViewController * _Nullable)containerController isUnderage:(NSNumber * _Nonnull)isUnderage;
/// Initializer for Objective-C compatibility
- (nonnull instancetype)initWithUserAuth:(id <UserAuth> _Nonnull)userAuth dcsUserAuth:(UserAuthParams * _Nullable)dcsUserAuth synchronizedUsers:(NSArray<UserAuthParams *> * _Nullable)synchronizedUsers containerController:(UIViewController * _Nullable)containerController overrideMainStorage:(BOOL)overrideMainStorage;
/// Initializer for Objective-C compatibility
- (nonnull instancetype)initWithUserAuth:(id <UserAuth> _Nonnull)userAuth dcsUserAuth:(UserAuthParams * _Nullable)dcsUserAuth synchronizedUsers:(NSArray<UserAuthParams *> * _Nullable)synchronizedUsers containerController:(UIViewController * _Nullable)containerController;
@end
enum DDMEventType : NSInteger;
@class DDMSyncUserChangedEvent;
@class DDMSyncReadyEvent;
/// Class used as a listener for internal events occurred in the SDK.
SWIFT_CLASS_NAMED("EventListener")
@interface DDMEventListener : NSObject
@@ -1117,19 +1139,53 @@
  DDMEventTypeDcsSignatureError = 42,
};
enum Status : NSInteger;
SWIFT_CLASS("_TtC6Didomi20LoadUserStatusResult")
@interface LoadUserStatusResult : NSObject
@property (nonatomic, readonly, strong) DDMCurrentUserStatus * _Nonnull userStatus;
@property (nonatomic, readonly, copy) NSString * _Nonnull syncDate;
@property (nonatomic, readonly, strong) id <UserAuth> _Nonnull userAuth;
@property (nonatomic, readonly) enum Status status;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@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,
};
@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,
};
@class NSCoder;
@protocol UIFocusEnvironment;
@class NSBundle;
SWIFT_CLASS("_TtC6Didomi20NoticeViewController")
@interface NoticeViewController : UIViewController
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@@ -1137,9 +1193,6 @@
@property (nonatomic, readonly, copy) NSArray<id <UIFocusEnvironment>> * _Nonnull preferredFocusEnvironments;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
@end
/// Public class representing a single Purpose configuration.
SWIFT_CLASS_NAMED("Purpose")
@@ -1163,7 +1216,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Regulation for which Didomi SDK is currently configured. Only one regulation is active at each run.
typedef SWIFT_ENUM(NSInteger, Regulation, open) {
  RegulationGdpr = 0,
@@ -1184,7 +1236,6 @@
  RegulationNone = 15,
};
/// Class used to contain information about the occurrence of the Sync Ready event.
SWIFT_CLASS_NAMED("SyncReadyEvent")
@interface DDMSyncReadyEvent : NSObject
@@ -1198,7 +1249,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Class used to contain information about the occurrence of the Sync User Changed event.
SWIFT_CLASS_NAMED("SyncUserChangedEvent")
@interface DDMSyncUserChangedEvent : NSObject
@@ -1207,28 +1257,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Protocol for User Authentication
/// declare the Organization User ID
@@ -1239,7 +1267,6 @@
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end
/// Protocol for User Authentication Parameters
/// declare the common properties of encryption / hash parameters
SWIFT_CLASS("_TtC6Didomi14UserAuthParams")
@@ -1247,12 +1274,10 @@
/// Organization User ID
@property (nonatomic, copy) NSString * _Nonnull id;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly) NSUInteger hash;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// User Authentication Parameters with encryption
SWIFT_CLASS("_TtC6Didomi28UserAuthWithEncryptionParams")
@@ -1264,9 +1289,8 @@
/// Initialization Vector used for computing the user ID
@property (nonatomic, copy) NSString * _Nonnull initializationVector;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly) NSUInteger hash;
@end
/// User Authentication Parameters with hash
SWIFT_CLASS("_TtC6Didomi22UserAuthWithHashParams")
@@ -1280,9 +1304,8 @@
/// Digest used for representing the OUID
@property (nonatomic, copy) NSString * _Nonnull digest;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly) NSUInteger hash;
@end
/// User Authentication Parameters without encryption
SWIFT_CLASS("_TtC6Didomi21UserAuthWithoutParams")
@@ -1291,14 +1314,13 @@
/// Organization User ID
@property (nonatomic, copy) NSString * _Nonnull id;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly) NSUInteger hash;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@class DDMUserStatusPurposes;
@class DDMUserStatusVendors;
SWIFT_CLASS_NAMED("UserStatus")
@interface DDMUserStatus : NSObject
@property (nonatomic, readonly, strong) DDMUserStatusPurposes * _Nonnull purposes;
@@ -1315,12 +1337,10 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMUserStatus (SWIFT_EXTENSION(Didomi))
@end
@class DDMUserStatusIDs;
SWIFT_CLASS_NAMED("Vendors")
@interface DDMUserStatusVendors : NSObject
@property (nonatomic, readonly, strong) DDMUserStatusIDs * _Nonnull consent;
@@ -1333,10 +1353,8 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMUserStatus (SWIFT_EXTENSION(Didomi))
@end
SWIFT_CLASS_NAMED("Purposes")
@interface DDMUserStatusPurposes : NSObject
@@ -1349,10 +1367,8 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMUserStatus (SWIFT_EXTENSION(Didomi))
@end
SWIFT_CLASS_NAMED("IDs")
@interface DDMUserStatusIDs : NSObject
@@ -1365,7 +1381,6 @@
@class DDMVendorNamespaces;
@class DDMVendorURL;
/// Public class representing a single Vendor configuration.
SWIFT_CLASS_NAMED("Vendor")
@interface DDMVendor : NSObject
@@ -1424,10 +1439,8 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMVendor (SWIFT_EXTENSION(Didomi))
@end
/// Store additional IDs (IAB, num) for the Vendor.
SWIFT_CLASS_NAMED("Namespaces")
@@ -1438,10 +1451,8 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMVendor (SWIFT_EXTENSION(Didomi))
@end
/// Store localized URLs for privacy policy and LI claim.
SWIFT_CLASS_NAMED("URL")
@@ -1453,8 +1464,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
#endif
#if __has_attribute(external_source_symbol)
@@ -1466,7 +1475,7 @@
#endif
#elif defined(__x86_64__) && __x86_64__
// Generated by Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5)
// Generated by Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
#ifndef DIDOMI_SWIFT_H
#define DIDOMI_SWIFT_H
#pragma clang diagnostic push
@@ -1508,6 +1517,8 @@
#include <string.h>
#endif
#if defined(__cplusplus)
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wnon-modular-include-in-framework-module"
#if defined(__arm64e__) && __has_include(<ptrauth.h>)
# include <ptrauth.h>
#else
@@ -1521,6 +1532,7 @@
# endif
#pragma clang diagnostic pop
#endif
#pragma clang diagnostic pop
#endif
#if !defined(SWIFT_TYPEDEFS)
@@ -1528,6 +1540,7 @@
# if __has_include(<uchar.h>)
#  include <uchar.h>
# elif !defined(__cplusplus)
typedef unsigned char char8_t;
typedef uint_least16_t char16_t;
typedef uint_least32_t char32_t;
# endif
@@ -1757,6 +1770,7 @@
#pragma clang diagnostic ignored "-Wunknown-pragmas"
#pragma clang diagnostic ignored "-Wnullability"
#pragma clang diagnostic ignored "-Wdollar-in-identifier-extension"
#pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
#if __has_attribute(external_source_symbol)
# pragma push_macro("any")
@@ -1766,7 +1780,6 @@
#endif
#if defined(__OBJC__)
/// Consent status to a vendor or purpose.
typedef SWIFT_ENUM(NSInteger, ConsentStatus, open) {
@@ -1779,7 +1792,6 @@
@class DDMCurrentUserStatusPurpose;
@class DDMCurrentUserStatusVendor;
enum Regulation : NSInteger;
SWIFT_CLASS_NAMED("CurrentUserStatus")
@interface DDMCurrentUserStatus : NSObject
@property (nonatomic, readonly, copy) NSDictionary<NSString *, DDMCurrentUserStatusPurpose *> * _Nonnull purposes;
@@ -1791,15 +1803,31 @@
@property (nonatomic, readonly, copy) NSString * _Nonnull additionalConsent;
@property (nonatomic, readonly) enum Regulation regulation;
@property (nonatomic, readonly, copy) NSString * _Nonnull didomiDCS;
@property (nonatomic, readonly, copy) NSString * _Nonnull gppString;
- (nonnull instancetype)initWithPurposes:(NSDictionary<NSString *, DDMCurrentUserStatusPurpose *> * _Nonnull)purposes vendors:(NSDictionary<NSString *, DDMCurrentUserStatusVendor *> * _Nonnull)vendors OBJC_DESIGNATED_INITIALIZER;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMCurrentUserStatus (SWIFT_EXTENSION(Didomi))
/// Determine if the User Status (consent) should be collected or not based on the current instance. This function will return <em>true</em> if:
/// <ul>
///   <li>
///     Regulation is different from NONE and
///   </li>
///   <li>
///     Current user status is partial and
///   </li>
///   <li>
///     The number of days before displaying the notice again has exceeded the limit specified on the Console or no User Status has been saved
///     This function will return <em>false</em> otherwise.
///   </li>
/// </ul>
///
/// returns:
/// A boolean depending if the Current User Status (consent) should be collected or not.
- (BOOL)shouldUserStatusBeCollected SWIFT_WARN_UNUSED_RESULT;
@end
SWIFT_CLASS_NAMED("PurposeStatus")
@interface DDMCurrentUserStatusPurpose : NSObject
@@ -1811,7 +1839,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
SWIFT_CLASS_NAMED("VendorStatus")
@interface DDMCurrentUserStatusVendor : NSObject
@property (nonatomic, readonly, copy) NSString * _Nonnull id;
@@ -1821,7 +1848,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Class used to asynchronously enable and disable purposes and vendors through different methods.
/// These changes will not be reflected on the user status until the <code>commit</code> method is called.
@@ -1892,14 +1918,12 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@protocol ViewProviderDelegate;
@class DidomiInitializeParameters;
@class DDMErrorEvent;
@class DDMEventListener;
@class DDMPurpose;
@class DDMVendor;
SWIFT_CLASS("_TtC6Didomi6Didomi")
@interface Didomi : NSObject
SWIFT_CLASS_PROPERTY(@property (nonatomic, class, readonly, strong) Didomi * _Nonnull shared;)
@@ -1935,23 +1959,6 @@
/// returns:
/// <em>true</em> if consent status has been updated, <em>false</em> otherwise.
- (BOOL)setUserConsentStatusWithEnabledPurposeIds:(NSSet<NSString *> * _Nonnull)enabledPurposeIds disabledPurposeIds:(NSSet<NSString *> * _Nonnull)disabledPurposeIds enabledVendorIds:(NSSet<NSString *> * _Nonnull)enabledVendorIds disabledVendorIds:(NSSet<NSString *> * _Nonnull)disabledVendorIds SWIFT_WARN_UNUSED_RESULT;
/// Determine if the user is subject to a regulation that requires consent collection.
/// This along with the choices that the user has or has not made
/// will determine each time that the SDK is initialized if the notice should be displayed or not.
///
/// returns:
/// <em>true</em> if consent is required, <em>false</em> if it is not required.
- (BOOL)isConsentRequired SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Instead, check that applicableRegulation is not .none in Swift or RegulationNone in Objective-C");
/// Determine if consent information is available for all purposes and vendors that are required
///
/// returns:
/// <em>true</em> if consent is required and consent information is available, <em>false</em> otherwise.
- (BOOL)isUserConsentStatusPartial SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use shouldUserStatusBeCollected() instead.");
/// Determine if legitimate interest information is available for all purposes and vendors that are required
///
/// returns:
/// <em>true</em> if consent is required and legitimate interest information is available, <em>false</em> otherwise.
- (BOOL)isUserLegitimateInterestStatusPartial SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use shouldUserStatusBeCollected() instead.");
/// Set the user status for purposes and vendors for consent and legitimate interest.
/// \param purposesConsentStatus boolean used to determine if consent will be enabled or disabled for all purposes.
///
@@ -2109,7 +2116,6 @@
};
@class UIViewController;
/// Protocol used to provide the view controllers for the preferences/purposes and notice view.
/// To provide customs views, this protocol will have to be implemented.
/// This protocol is implemented by the Didomi singleton to provide the default view controllers.
@@ -2131,7 +2137,6 @@
- (UIViewController * _Nonnull)getPreferencesViewController SWIFT_WARN_UNUSED_RESULT;
@end
@interface Didomi (SWIFT_EXTENSION(Didomi)) <ViewProviderDelegate>
- (UIViewController * _Nonnull)getNoticeViewControllerWithPosition:(NSString * _Nonnull)position noticeSkipped:(BOOL)noticeSkipped SWIFT_WARN_UNUSED_RESULT;
- (UIViewController * _Nonnull)getPreferencesViewController SWIFT_WARN_UNUSED_RESULT;
@@ -2139,8 +2144,9 @@
@class DidomiUserParameters;
@class UserAuthParams;
@class LoadUserStatusResult;
@class DDMUserStatus;
@protocol UserAuth;
@interface Didomi (SWIFT_EXTENSION(Didomi))
/// Provide the objects required to display UI elements
- (void)setupUIWithContainerController:(UIViewController * _Nonnull)containerController;
@@ -2153,6 +2159,13 @@
- (void)hideNotice;
/// Check if the consent notice is currently displayed
- (BOOL)isNoticeVisible SWIFT_WARN_UNUSED_RESULT;
/// Determine if the user is subject to a regulation that requires consent collection.
/// This along with the choices that the user has or has not made
/// will determine each time that the SDK is initialized if the notice should be displayed or not.
///
/// returns:
/// <em>true</em> if consent is required, <em>false</em> if it is not required.
- (BOOL)isConsentRequired SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Instead, check that applicableRegulation is not .none in Swift or RegulationNone in Objective-C");
/// Check if the consent should be collected depending on if we have any consents or if we have some consents but the number of days before displaying the notice again has not expired yet
///
/// returns:
@@ -2179,6 +2192,16 @@
/// returns:
/// <em>true</em> if user status is partial, <em>false</em> otherwise
- (BOOL)isUserStatusPartial SWIFT_WARN_UNUSED_RESULT;
/// Determine if consent information is available for all purposes and vendors that are required
///
/// returns:
/// <em>true</em> if consent is required and consent information is available, <em>false</em> otherwise.
- (BOOL)isUserConsentStatusPartial SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use shouldUserStatusBeCollected() instead.");
/// Determine if legitimate interest information is available for all purposes and vendors that are required
///
/// returns:
/// <em>true</em> if consent is required and legitimate interest information is available, <em>false</em> otherwise.
- (BOOL)isUserLegitimateInterestStatusPartial SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use shouldUserStatusBeCollected() instead.");
/// Show the preferences screen when/if the SDK is ready. By default the purposes list will be displayed.
/// \param controller view controller from where preferences will be presented.
///
@@ -2371,10 +2394,20 @@
- (void)setUserWithUserAuthParams:(UserAuthParams * _Nonnull)userAuthParams synchronizedUsers:(NSArray<UserAuthParams *> * _Nonnull)synchronizedUsers dcsUser:(UserAuthParams * _Nonnull)dcsUser isUnderage:(BOOL)isUnderage containerController:(UIViewController * _Nonnull)containerController SWIFT_DEPRECATED_MSG("Use setUser(DidomiUserParameters) instead.");
/// Remove organization user information (should be called when the SDK is initialized).
- (void)clearUser;
/// Remove organization user information for all users (should be called when the SDK is initialized).
- (void)clearAllUsers;
/// Load the current user status for the specified users.
/// \param users An array of <code>DidomiUserParameters</code> representing the specified users’ authentication parameters.
///
/// \param callback A closure that returns an array of <code>LoadUserStatusResult</code> representing the current user status result for the specified users.
///
- (void)loadUserStatuses:(NSArray<DidomiUserParameters *> * _Nonnull)users callback:(void (^ _Nonnull)(NSArray<LoadUserStatusResult *> * _Nonnull))callback;
/// Get an instance of <code>UserStatus</code> containing all the information related to the user’s choices.
- (DDMUserStatus * _Nonnull)getUserStatus SWIFT_WARN_UNUSED_RESULT SWIFT_DEPRECATED_MSG("Use getCurrentUserStatus() instead.");
/// Get an instance of <code>CurrentUserStatus</code> containing all the information related to the user’s choices.
- (DDMCurrentUserStatus * _Nonnull)getCurrentUserStatus SWIFT_WARN_UNUSED_RESULT;
/// Get an instance of <code>CurrentUserStatus</code> containing all the information related to the user’s choices.
- (DDMCurrentUserStatus * _Nullable)getCurrentUserStatusWithUserAuth:(id <UserAuth> _Nonnull)userAuth SWIFT_WARN_UNUSED_RESULT;
/// Save user’s choices.
/// \param currentUserStatus instance of CurrentUserStatus containing the user’s choices.
///
@@ -2392,7 +2425,6 @@
@end
enum DDMErrorEventType : NSInteger;
/// Type used to represent unexpected situations during SDK initialization.
SWIFT_CLASS_NAMED("DidomiErrorEvent")
@interface DDMErrorEvent : NSObject
@@ -2412,7 +2444,6 @@
  DDMErrorEventTypeErrorLoadingUIResource = 5,
};
/// Initialization parameters for Didomi SDK
SWIFT_CLASS("_TtC6Didomi26DidomiInitializeParameters")
@interface DidomiInitializeParameters : NSObject
@@ -2421,18 +2452,15 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@protocol UserAuth;
@class NSNumber;
/// User parameters for Didomi SDK
/// \param userAuth The main user authentication.
/// User parameters for the Didomi SDK.
/// \param userAuth The user’s main authentication.
///
/// \param dcsUserAuth The user authentication for Didomi Consent String.
/// \param dcsUserAuth The user authentication specific to the Didomi Consent String (DCS).
///
/// \param containerController The UIViewController if the notice should be displayed when the consent expired or the user is new.
/// \param containerController The <code>UIViewController</code> used to display the notice if the consent has expired or the user is new.
///
/// \param isUnderage If the user is underage (nil will keep the previous setting).
/// \param isUnderage Indicates whether the user is underage (<code>nil</code> will keep the previous setting).
///
SWIFT_CLASS("_TtC6Didomi20DidomiUserParameters")
@interface DidomiUserParameters : NSObject
@@ -2444,7 +2472,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// User parameters for Didomi SDK
/// \param userAuth The main user authentication.
///
@@ -2452,23 +2479,27 @@
///
/// \param synchronizedUser The synchronized user list.
///
/// \param activity The UIViewController if the notice should be displayed when the consent expired or the user is new.
/// \param activity The <code>UIViewController</code> if the notice should be displayed when the consent expired or the user is new.
///
/// \param isUnderage If the user is underage (nil will keep the previous setting).
/// \param isUnderage If the user is underage (<code>nil</code> will keep the previous setting).
///
/// \param overrideMainStorage If the main storage should be overridden (when multi-storage feature is enabled).
///
SWIFT_CLASS("_TtC6Didomi25DidomiMultiUserParameters")
@interface DidomiMultiUserParameters : DidomiUserParameters
/// Initializer for Objective-C compatibility
- (nonnull instancetype)initWithUserAuth:(id <UserAuth> _Nonnull)userAuth dcsUserAuth:(UserAuthParams * _Nullable)dcsUserAuth synchronizedUsers:(NSArray<UserAuthParams *> * _Nullable)synchronizedUsers containerController:(UIViewController * _Nullable)containerController isUnderage:(NSNumber * _Nonnull)isUnderage overrideMainStorage:(BOOL)overrideMainStorage;
/// Initializer for Objective-C compatibility
- (nonnull instancetype)initWithUserAuth:(id <UserAuth> _Nonnull)userAuth dcsUserAuth:(UserAuthParams * _Nullable)dcsUserAuth synchronizedUsers:(NSArray<UserAuthParams *> * _Nullable)synchronizedUsers containerController:(UIViewController * _Nullable)containerController isUnderage:(NSNumber * _Nonnull)isUnderage;
/// Initializer for Objective-C compatibility
- (nonnull instancetype)initWithUserAuth:(id <UserAuth> _Nonnull)userAuth dcsUserAuth:(UserAuthParams * _Nullable)dcsUserAuth synchronizedUsers:(NSArray<UserAuthParams *> * _Nullable)synchronizedUsers containerController:(UIViewController * _Nullable)containerController overrideMainStorage:(BOOL)overrideMainStorage;
/// Initializer for Objective-C compatibility
- (nonnull instancetype)initWithUserAuth:(id <UserAuth> _Nonnull)userAuth dcsUserAuth:(UserAuthParams * _Nullable)dcsUserAuth synchronizedUsers:(NSArray<UserAuthParams *> * _Nullable)synchronizedUsers containerController:(UIViewController * _Nullable)containerController;
@end
enum DDMEventType : NSInteger;
@class DDMSyncUserChangedEvent;
@class DDMSyncReadyEvent;
/// Class used as a listener for internal events occurred in the SDK.
SWIFT_CLASS_NAMED("EventListener")
@interface DDMEventListener : NSObject
@@ -2583,19 +2614,53 @@
  DDMEventTypeDcsSignatureError = 42,
};
enum Status : NSInteger;
SWIFT_CLASS("_TtC6Didomi20LoadUserStatusResult")
@interface LoadUserStatusResult : NSObject
@property (nonatomic, readonly, strong) DDMCurrentUserStatus * _Nonnull userStatus;
@property (nonatomic, readonly, copy) NSString * _Nonnull syncDate;
@property (nonatomic, readonly, strong) id <UserAuth> _Nonnull userAuth;
@property (nonatomic, readonly) enum Status status;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@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,
};
@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,
};
@class NSCoder;
@protocol UIFocusEnvironment;
@class NSBundle;
SWIFT_CLASS("_TtC6Didomi20NoticeViewController")
@interface NoticeViewController : UIViewController
- (nullable instancetype)initWithCoder:(NSCoder * _Nonnull)aDecoder OBJC_DESIGNATED_INITIALIZER;
@@ -2603,9 +2668,6 @@
@property (nonatomic, readonly, copy) NSArray<id <UIFocusEnvironment>> * _Nonnull preferredFocusEnvironments;
- (nonnull instancetype)initWithNibName:(NSString * _Nullable)nibNameOrNil bundle:(NSBundle * _Nullable)nibBundleOrNil SWIFT_UNAVAILABLE;
@end
/// Public class representing a single Purpose configuration.
SWIFT_CLASS_NAMED("Purpose")
@@ -2629,7 +2691,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Regulation for which Didomi SDK is currently configured. Only one regulation is active at each run.
typedef SWIFT_ENUM(NSInteger, Regulation, open) {
  RegulationGdpr = 0,
@@ -2650,7 +2711,6 @@
  RegulationNone = 15,
};
/// Class used to contain information about the occurrence of the Sync Ready event.
SWIFT_CLASS_NAMED("SyncReadyEvent")
@interface DDMSyncReadyEvent : NSObject
@@ -2664,7 +2724,6 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Class used to contain information about the occurrence of the Sync User Changed event.
SWIFT_CLASS_NAMED("SyncUserChangedEvent")
@interface DDMSyncUserChangedEvent : NSObject
@@ -2673,28 +2732,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// Protocol for User Authentication
/// declare the Organization User ID
@@ -2705,7 +2742,6 @@
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@end
/// Protocol for User Authentication Parameters
/// declare the common properties of encryption / hash parameters
SWIFT_CLASS("_TtC6Didomi14UserAuthParams")
@@ -2713,12 +2749,10 @@
/// Organization User ID
@property (nonatomic, copy) NSString * _Nonnull id;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly) NSUInteger hash;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
/// User Authentication Parameters with encryption
SWIFT_CLASS("_TtC6Didomi28UserAuthWithEncryptionParams")
@@ -2730,9 +2764,8 @@
/// Initialization Vector used for computing the user ID
@property (nonatomic, copy) NSString * _Nonnull initializationVector;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly) NSUInteger hash;
@end
/// User Authentication Parameters with hash
SWIFT_CLASS("_TtC6Didomi22UserAuthWithHashParams")
@@ -2746,9 +2779,8 @@
/// Digest used for representing the OUID
@property (nonatomic, copy) NSString * _Nonnull digest;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly) NSUInteger hash;
@end
/// User Authentication Parameters without encryption
SWIFT_CLASS("_TtC6Didomi21UserAuthWithoutParams")
@@ -2757,14 +2789,13 @@
/// Organization User ID
@property (nonatomic, copy) NSString * _Nonnull id;
- (BOOL)isEqual:(id _Nullable)object SWIFT_WARN_UNUSED_RESULT;
@property (nonatomic, readonly) NSUInteger hash;
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@class DDMUserStatusPurposes;
@class DDMUserStatusVendors;
SWIFT_CLASS_NAMED("UserStatus")
@interface DDMUserStatus : NSObject
@property (nonatomic, readonly, strong) DDMUserStatusPurposes * _Nonnull purposes;
@@ -2781,12 +2812,10 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMUserStatus (SWIFT_EXTENSION(Didomi))
@end
@class DDMUserStatusIDs;
SWIFT_CLASS_NAMED("Vendors")
@interface DDMUserStatusVendors : NSObject
@property (nonatomic, readonly, strong) DDMUserStatusIDs * _Nonnull consent;
@@ -2799,10 +2828,8 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMUserStatus (SWIFT_EXTENSION(Didomi))
@end
SWIFT_CLASS_NAMED("Purposes")
@interface DDMUserStatusPurposes : NSObject
@@ -2815,10 +2842,8 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMUserStatus (SWIFT_EXTENSION(Didomi))
@end
SWIFT_CLASS_NAMED("IDs")
@interface DDMUserStatusIDs : NSObject
@@ -2831,7 +2856,6 @@
@class DDMVendorNamespaces;
@class DDMVendorURL;
/// Public class representing a single Vendor configuration.
SWIFT_CLASS_NAMED("Vendor")
@interface DDMVendor : NSObject
@@ -2890,10 +2914,8 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMVendor (SWIFT_EXTENSION(Didomi))
@end
/// Store additional IDs (IAB, num) for the Vendor.
SWIFT_CLASS_NAMED("Namespaces")
@@ -2904,10 +2926,8 @@
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
@interface DDMVendor (SWIFT_EXTENSION(Didomi))
@end
/// Store localized URLs for privacy policy and LI claim.
SWIFT_CLASS_NAMED("URL")
@@ -2919,8 +2939,6 @@
- (nonnull instancetype)init SWIFT_UNAVAILABLE;
+ (nonnull instancetype)new SWIFT_UNAVAILABLE_MSG("-init is unavailable");
@end
#endif
#if __has_attribute(external_source_symbol)