commit | author | age
|
09e73a
|
1 |
// swift-interface-format-version: 1.0 |
L |
2 |
// swift-compiler-version: Apple Swift version 5.8.1 (swiftlang-5.8.0.124.5 clang-1403.0.22.11.100) |
|
3 |
// swift-module-flags: -target x86_64-apple-ios10.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Didomi |
|
4 |
// swift-module-flags-ignorable: -enable-bare-slash-regex |
|
5 |
@_exported import Didomi |
|
6 |
import Foundation |
|
7 |
import JavaScriptCore |
|
8 |
import Swift |
|
9 |
import SystemConfiguration |
|
10 |
import UIKit |
|
11 |
import _Concurrency |
|
12 |
import _StringProcessing |
|
13 |
import os |
|
14 |
@objc public protocol UserAuth { |
|
15 |
@objc var id: Swift.String { get } |
|
16 |
} |
|
17 |
@_hasMissingDesignatedInitializers @objc public class UserAuthParams : ObjectiveC.NSObject, Didomi.UserAuth { |
|
18 |
@objc public var id: Swift.String |
|
19 |
public var algorithm: Swift.String |
|
20 |
public var secretID: Swift.String |
|
21 |
public var expiration: Foundation.TimeInterval? |
|
22 |
@objc deinit |
|
23 |
} |
|
24 |
@_hasMissingDesignatedInitializers @objcMembers public class UserAuthWithoutParams : Didomi.UserAuth { |
|
25 |
@objc public var id: Swift.String |
|
26 |
@objc deinit |
|
27 |
} |
|
28 |
@objc @_hasMissingDesignatedInitializers @objcMembers public class UserAuthWithEncryptionParams : Didomi.UserAuthParams { |
|
29 |
@objc convenience public init(id: Swift.String, algorithm: Swift.String, secretID: Swift.String, initializationVector: Swift.String) |
|
30 |
@objc convenience public init(id: Swift.String, algorithm: Swift.String, secretID: Swift.String, initializationVector: Swift.String, legacyExpiration: Foundation.TimeInterval) |
|
31 |
@objc public var initializationVector: Swift.String |
|
32 |
@objc deinit |
|
33 |
} |
|
34 |
@objc @_hasMissingDesignatedInitializers @objcMembers public class UserAuthWithHashParams : Didomi.UserAuthParams { |
|
35 |
@objc convenience public init(id: Swift.String, algorithm: Swift.String, secretID: Swift.String, digest: Swift.String, salt: Swift.String? = nil) |
|
36 |
@objc convenience public init(id: Swift.String, algorithm: Swift.String, secretID: Swift.String, digest: Swift.String, salt: Swift.String? = nil, legacyExpiration: Foundation.TimeInterval) |
|
37 |
@objc public var salt: Swift.String? |
|
38 |
@objc public var digest: Swift.String |
|
39 |
@objc deinit |
|
40 |
} |
|
41 |
public struct DataProcessingNamespaces : Swift.Decodable { |
|
42 |
public var num: Swift.Int? |
|
43 |
public init(from decoder: any Swift.Decoder) throws |
|
44 |
} |
|
45 |
extension Didomi.DataProcessingNamespaces : Swift.Equatable { |
|
46 |
public static func == (lhs: Didomi.DataProcessingNamespaces, rhs: Didomi.DataProcessingNamespaces) -> Swift.Bool |
|
47 |
} |
|
48 |
@objc(DDMEventType) public enum EventType : Swift.Int { |
|
49 |
case consentChanged |
|
50 |
case hideNotice |
|
51 |
case ready |
|
52 |
case showNotice |
|
53 |
case showPreferences |
|
54 |
case hidePreferences |
|
55 |
case noticeClickAgree |
|
56 |
case noticeClickDisagree |
|
57 |
case noticeClickMoreInfo |
|
58 |
case noticeClickViewVendors |
|
59 |
case noticeClickPrivacyPolicy |
|
60 |
case preferencesClickAgreeToAll |
|
61 |
case preferencesClickDisagreeToAll |
|
62 |
case preferencesClickAgreeToAllPurposes |
|
63 |
case preferencesClickDisagreeToAllPurposes |
|
64 |
case preferencesClickResetAllPurposes |
|
65 |
case preferencesClickAgreeToAllVendors |
|
66 |
case preferencesClickDisagreeToAllVendors |
|
67 |
case preferencesClickPurposeAgree |
|
68 |
case preferencesClickPurposeDisagree |
|
69 |
case preferencesClickCategoryAgree |
|
70 |
case preferencesClickCategoryDisagree |
|
71 |
case preferencesClickViewVendors |
|
72 |
case preferencesClickViewPurposes |
|
73 |
case preferencesClickSaveChoices |
|
74 |
case preferencesClickVendorAgree |
|
75 |
case preferencesClickVendorDisagree |
|
76 |
case preferencesClickVendorSaveChoices |
|
77 |
case syncDone |
|
78 |
case syncError |
|
79 |
case languageUpdated |
|
80 |
case languageUpdateFailed |
|
81 |
case noticeClickViewSPIPurposes |
|
82 |
case preferencesClickViewSPIPurposes |
|
83 |
case preferencesClickSPIPurposeAgree |
|
84 |
case preferencesClickSPIPurposeDisagree |
|
85 |
case preferencesClickSPICategoryAgree |
|
86 |
case preferencesClickSPICategoryDisagree |
|
87 |
case preferencesClickSPIPurposeSaveChoices |
|
88 |
public init?(rawValue: Swift.Int) |
|
89 |
public typealias RawValue = Swift.Int |
|
90 |
public var rawValue: Swift.Int { |
|
91 |
get |
|
92 |
} |
|
93 |
} |
|
94 |
@objc public protocol ViewProviderDelegate { |
|
95 |
@objc func getNoticeViewController(position: Swift.String, noticeSkipped: Swift.Bool) -> UIKit.UIViewController |
|
96 |
@objc func getPreferencesViewController() -> UIKit.UIViewController |
|
97 |
} |
|
98 |
@_hasMissingDesignatedInitializers @objc public class CurrentUserStatusTransaction : ObjectiveC.NSObject { |
|
99 |
@discardableResult |
|
100 |
@objc public func enablePurposes(_ ids: [Swift.String]) -> Didomi.CurrentUserStatusTransaction |
|
101 |
@discardableResult |
|
102 |
@objc public func enableVendors(_ ids: [Swift.String]) -> Didomi.CurrentUserStatusTransaction |
|
103 |
@discardableResult |
|
104 |
@objc public func enablePurpose(_ id: Swift.String) -> Didomi.CurrentUserStatusTransaction |
|
105 |
@discardableResult |
|
106 |
@objc public func enableVendor(_ id: Swift.String) -> Didomi.CurrentUserStatusTransaction |
|
107 |
@discardableResult |
|
108 |
@objc public func disablePurposes(_ ids: [Swift.String]) -> Didomi.CurrentUserStatusTransaction |
|
109 |
@discardableResult |
|
110 |
@objc public func disableVendors(_ ids: [Swift.String]) -> Didomi.CurrentUserStatusTransaction |
|
111 |
@discardableResult |
|
112 |
@objc public func disablePurpose(_ id: Swift.String) -> Didomi.CurrentUserStatusTransaction |
|
113 |
@discardableResult |
|
114 |
@objc public func disableVendor(_ id: Swift.String) -> Didomi.CurrentUserStatusTransaction |
|
115 |
@objc public func commit() -> Swift.Bool |
|
116 |
@objc deinit |
|
117 |
} |
|
118 |
@objc(DDMErrorEventType) public enum DidomiErrorEventType : Swift.Int { |
|
119 |
case nilProperty |
|
120 |
case notReady |
|
121 |
case failedAlready |
|
122 |
case configFileError |
|
123 |
case invalidApiKey |
|
124 |
public init?(rawValue: Swift.Int) |
|
125 |
public typealias RawValue = Swift.Int |
|
126 |
public var rawValue: Swift.Int { |
|
127 |
get |
|
128 |
} |
|
129 |
} |
|
130 |
@objc public enum Regulation : Swift.Int, Swift.Codable { |
|
131 |
case gdpr |
|
132 |
@available(*, deprecated, message: "The CCPA regulation is no longer valid. CPRA should be used instead.") |
|
133 |
case ccpa |
|
134 |
case cpa |
|
135 |
case cpra |
|
136 |
case ctdpa |
|
137 |
case ucpa |
|
138 |
case vcdpa |
|
139 |
case none |
|
140 |
public var description: Swift.String { |
|
141 |
get |
|
142 |
} |
|
143 |
public var mixed: Swift.Bool { |
|
144 |
get |
|
145 |
} |
|
146 |
public var tokenKey: Swift.String { |
|
147 |
get |
|
148 |
} |
|
149 |
public var dcsKey: Swift.String { |
|
150 |
get |
|
151 |
} |
|
152 |
public init(from decoder: any Swift.Decoder) throws |
|
153 |
public func encode(to encoder: any Swift.Encoder) throws |
|
154 |
public init?(rawValue: Swift.Int) |
|
155 |
public typealias RawValue = Swift.Int |
|
156 |
public var rawValue: Swift.Int { |
|
157 |
get |
|
158 |
} |
|
159 |
} |
|
160 |
@objc public class DidomiInitializeParameters : ObjectiveC.NSObject { |
|
161 |
@objc public init(apiKey: Swift.String, localConfigurationPath: Swift.String? = nil, remoteConfigurationURL: Swift.String? = nil, providerID: Swift.String? = nil, disableDidomiRemoteConfig: Swift.Bool = false, languageCode: Swift.String? = nil, noticeID: Swift.String? = nil) |
|
162 |
@objc deinit |
|
163 |
} |
|
164 |
@objc(DDMErrorEvent) public class DidomiErrorEvent : ObjectiveC.NSObject, Swift.Error { |
|
165 |
@objc final public let descriptionText: Swift.String |
|
166 |
@objc final public let type: Didomi.DidomiErrorEventType |
|
167 |
public init(descriptionText: Swift.String, type: Didomi.DidomiErrorEventType) |
|
168 |
@objc deinit |
|
169 |
} |
|
170 |
@_inheritsConvenienceInitializers @objc public class Didomi : ObjectiveC.NSObject { |
|
171 |
@objc public enum Views : Swift.Int, Swift.RawRepresentable { |
|
172 |
case purposes = 0 |
|
173 |
case sensitivePersonalInformation = 1 |
|
174 |
case vendors = 2 |
|
175 |
public init?(rawValue: Swift.Int) |
|
176 |
public typealias RawValue = Swift.Int |
|
177 |
public var rawValue: Swift.Int { |
|
178 |
get |
|
179 |
} |
|
180 |
} |
|
181 |
@objc public static var shared: Didomi.Didomi |
|
182 |
@objc weak public var viewProviderDelegate: (any Didomi.ViewProviderDelegate)? |
|
183 |
@objc override dynamic public init() |
|
184 |
@objc public func initialize(_ parameters: Didomi.DidomiInitializeParameters) |
|
185 |
@objc public func setUserAgent(name: Swift.String, version: Swift.String) |
|
186 |
@objc public func setUserConsentStatus(enabledPurposeIds: Swift.Set<Swift.String>, disabledPurposeIds: Swift.Set<Swift.String>, enabledVendorIds: Swift.Set<Swift.String>, disabledVendorIds: Swift.Set<Swift.String>) -> Swift.Bool |
|
187 |
@objc public func isConsentRequired() -> Swift.Bool |
|
188 |
@objc public func isUserConsentStatusPartial() -> Swift.Bool |
|
189 |
@objc public func isUserLegitimateInterestStatusPartial() -> Swift.Bool |
|
190 |
@discardableResult |
|
191 |
@objc public func setUserStatus(purposesConsentStatus: Swift.Bool, purposesLIStatus: Swift.Bool, vendorsConsentStatus: Swift.Bool, vendorsLIStatus: Swift.Bool) -> Swift.Bool |
|
192 |
@discardableResult |
|
193 |
@objc public func setUserStatus(enabledConsentPurposeIds: Swift.Set<Swift.String>, disabledConsentPurposeIds: Swift.Set<Swift.String>, enabledLIPurposeIds: Swift.Set<Swift.String>, disabledLIPurposeIds: Swift.Set<Swift.String>, enabledConsentVendorIds: Swift.Set<Swift.String>, disabledConsentVendorIds: Swift.Set<Swift.String>, enabledLIVendorIds: Swift.Set<Swift.String>, disabledLIVendorIds: Swift.Set<Swift.String>) -> Swift.Bool |
|
194 |
@discardableResult |
|
195 |
@objc public func setUserAgreeToAll() -> Swift.Bool |
|
196 |
@discardableResult |
|
197 |
@objc public func setUserDisagreeToAll() -> Swift.Bool |
|
198 |
@objc public func onReady(callback: @escaping () -> Swift.Void) |
|
199 |
@objc public func onError(callback: @escaping (Didomi.DidomiErrorEvent) -> Swift.Void) |
|
200 |
@objc public func addVendorStatusListener(id: Swift.String, _ callback: @escaping (Didomi.CurrentUserStatus.VendorStatus) -> Swift.Void) |
|
201 |
@objc public func removeVendorStatusListener(id: Swift.String) |
|
202 |
@objc public func reset() |
|
203 |
@objc public func getRequiredPurposeIds() -> Swift.Set<Swift.String> |
|
204 |
@objc public func getRequiredVendorIds() -> Swift.Set<Swift.String> |
|
205 |
@objc public func addEventListener(listener: Didomi.EventListener) |
|
206 |
@objc public func removeEventListener(listener: Didomi.EventListener) |
|
207 |
@objc public func isReady() -> Swift.Bool |
|
208 |
@objc public func getRequiredPurposes() -> [Didomi.Purpose] |
|
209 |
@objc public func getRequiredVendors() -> [Didomi.Vendor] |
|
210 |
@objc public func getPurpose(purposeId: Swift.String) -> Didomi.Purpose? |
|
211 |
@objc public func getVendor(vendorId: Swift.String) -> Didomi.Vendor? |
|
212 |
@objc public func getTotalVendorCount() -> Swift.Int |
|
213 |
@objc public func getIABVendorCount() -> Swift.Int |
|
214 |
@objc public func getNonIABVendorCount() -> Swift.Int |
|
215 |
@objc public func getJavaScriptForWebView(extra: Swift.String = "") -> Swift.String |
|
216 |
@objc public func getQueryStringForWebView() -> Swift.String |
|
217 |
@objc public func updateSelectedLanguage(languageCode: Swift.String) |
|
218 |
@objc deinit |
|
219 |
} |
|
220 |
extension Didomi.Didomi : Didomi.ViewProviderDelegate { |
|
221 |
@objc dynamic public func getNoticeViewController(position: Swift.String, noticeSkipped: Swift.Bool = false) -> UIKit.UIViewController |
|
222 |
@objc dynamic public func getPreferencesViewController() -> UIKit.UIViewController |
|
223 |
} |
|
224 |
extension Didomi.Didomi { |
|
225 |
@objc dynamic public func setupUI(containerController: UIKit.UIViewController) |
|
226 |
@objc dynamic public func forceShowNotice() |
|
227 |
@objc dynamic public func showNotice() |
|
228 |
@objc dynamic public func hideNotice() |
|
229 |
@objc dynamic public func isNoticeVisible() -> Swift.Bool |
|
230 |
@available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
|
231 |
@objc dynamic public func shouldConsentBeCollected() -> Swift.Bool |
|
232 |
@objc dynamic public func shouldUserStatusBeCollected() -> Swift.Bool |
|
233 |
@objc dynamic public func isUserStatusPartial() -> Swift.Bool |
|
234 |
@objc dynamic public func showPreferences(controller: UIKit.UIViewController? = nil, view: Didomi.Didomi.Views = .purposes) |
|
235 |
@objc dynamic public func hidePreferences() |
|
236 |
@objc dynamic public func isPreferencesVisible() -> Swift.Bool |
|
237 |
@objc dynamic public func getTranslatedText(key: Swift.String) -> Swift.String |
|
238 |
@objc dynamic public func getText(key: Swift.String) -> [Swift.String : Swift.String]? |
|
239 |
@objc dynamic public func setLogLevel(minLevel: Swift.UInt8) |
|
240 |
@objc dynamic public func setUser(id: Swift.String) |
|
241 |
@objc dynamic public func setUser(id: Swift.String, containerController: UIKit.UIViewController) |
|
242 |
@objc dynamic public func setUser(userAuthParams: Didomi.UserAuthParams) |
|
243 |
@objc dynamic public func setUser(userAuthParams: Didomi.UserAuthParams, containerController: UIKit.UIViewController) |
|
244 |
@objc dynamic public func clearUser() |
|
245 |
@objc dynamic public func getUserStatus() -> Didomi.UserStatus |
|
246 |
@objc dynamic public func getCurrentUserStatus() -> Didomi.CurrentUserStatus |
|
247 |
@objc dynamic public func setCurrentUserStatus(currentUserStatus: Didomi.CurrentUserStatus) -> Swift.Bool |
|
248 |
@objc dynamic public func openCurrentUserStatusTransaction() -> Didomi.CurrentUserStatusTransaction |
|
249 |
public func setLocalProperty(key: Swift.String, value: Any?) |
|
250 |
} |
|
251 |
@_hasMissingDesignatedInitializers @objc(DDMUserStatus) @objcMembers public class UserStatus : ObjectiveC.NSObject, Swift.Codable { |
|
252 |
@objc final public let purposes: Didomi.UserStatus.Purposes |
|
253 |
@objc final public let vendors: Didomi.UserStatus.Vendors |
|
254 |
@objc final public let userID: Swift.String |
|
255 |
@objc final public let created: Swift.String |
|
256 |
@objc final public let updated: Swift.String |
|
257 |
@objc final public let consentString: Swift.String |
|
258 |
@objc final public let additionalConsent: Swift.String |
|
259 |
@objc final public let regulation: Didomi.Regulation |
|
260 |
@objc final public let didomiDCS: Swift.String |
|
261 |
required public init(from decoder: any Swift.Decoder) throws |
|
262 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
263 |
@objc deinit |
|
264 |
public func encode(to encoder: any Swift.Encoder) throws |
|
265 |
} |
|
266 |
extension Didomi.UserStatus { |
|
267 |
@_hasMissingDesignatedInitializers @objc(DDMUserStatusPurposes) @objcMembers public class Purposes : ObjectiveC.NSObject, Swift.Codable { |
|
268 |
@objc final public let consent: Didomi.UserStatus.IDs |
|
269 |
@objc final public let legitimateInterest: Didomi.UserStatus.IDs |
|
270 |
@objc final public let global: Didomi.UserStatus.IDs |
|
271 |
@objc final public let essential: Swift.Set<Swift.String> |
|
272 |
required public init(from decoder: any Swift.Decoder) throws |
|
273 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
274 |
@objc deinit |
|
275 |
public func encode(to encoder: any Swift.Encoder) throws |
|
276 |
} |
|
277 |
} |
|
278 |
extension Didomi.UserStatus { |
|
279 |
@_hasMissingDesignatedInitializers @objc(DDMUserStatusVendors) @objcMembers public class Vendors : ObjectiveC.NSObject, Swift.Codable { |
|
280 |
@objc final public let consent: Didomi.UserStatus.IDs |
|
281 |
@objc final public let legitimateInterest: Didomi.UserStatus.IDs |
|
282 |
@objc final public let global: Didomi.UserStatus.IDs |
|
283 |
@objc final public let globalConsent: Didomi.UserStatus.IDs |
|
284 |
@objc final public let globalLegitimateInterest: Didomi.UserStatus.IDs |
|
285 |
required public init(from decoder: any Swift.Decoder) throws |
|
286 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
287 |
@objc deinit |
|
288 |
public func encode(to encoder: any Swift.Encoder) throws |
|
289 |
} |
|
290 |
} |
|
291 |
extension Didomi.UserStatus { |
|
292 |
@_hasMissingDesignatedInitializers @objc(DDMUserStatusIDs) @objcMembers public class IDs : ObjectiveC.NSObject, Swift.Codable { |
|
293 |
@objc final public let enabled: Swift.Set<Swift.String> |
|
294 |
@objc final public let disabled: Swift.Set<Swift.String> |
|
295 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
296 |
@objc deinit |
|
297 |
public func encode(to encoder: any Swift.Encoder) throws |
|
298 |
required public init(from decoder: any Swift.Decoder) throws |
|
299 |
} |
|
300 |
} |
|
301 |
@_inheritsConvenienceInitializers @objc(DDMEventListener) public class EventListener : ObjectiveC.NSObject { |
|
302 |
@objc public var onConsentChanged: (_ event: Didomi.EventType) -> Swift.Void |
|
303 |
@objc public var onReady: (_ event: Didomi.EventType) -> Swift.Void |
|
304 |
@objc public var onError: (_ error: Didomi.DidomiErrorEvent) -> Swift.Void |
|
305 |
@objc public var onHideNotice: (_ event: Didomi.EventType) -> Swift.Void |
|
306 |
@objc public var onShowNotice: (_ event: Didomi.EventType) -> Swift.Void |
|
307 |
@objc public var onNoticeClickAgree: (_ event: Didomi.EventType) -> Swift.Void |
|
308 |
@objc public var onNoticeClickDisagree: (_ event: Didomi.EventType) -> Swift.Void |
|
309 |
@objc public var onNoticeClickMoreInfo: (_ event: Didomi.EventType) -> Swift.Void |
|
310 |
@objc public var onNoticeClickViewVendors: (_ event: Didomi.EventType) -> Swift.Void |
|
311 |
@objc public var onNoticeClickViewSPIPurposes: (_ event: Didomi.EventType) -> Swift.Void |
|
312 |
@objc public var onNoticeClickPrivacyPolicy: (_ event: Didomi.EventType) -> Swift.Void |
|
313 |
@objc public var onHidePreferences: (_ event: Didomi.EventType) -> Swift.Void |
|
314 |
@objc public var onShowPreferences: (_ event: Didomi.EventType) -> Swift.Void |
|
315 |
@objc public var onPreferencesClickViewPurposes: (_ event: Didomi.EventType) -> Swift.Void |
|
316 |
@objc public var onPreferencesClickViewVendors: (_ event: Didomi.EventType) -> Swift.Void |
|
317 |
@objc public var onPreferencesClickViewSPIPurposes: (_ event: Didomi.EventType) -> Swift.Void |
|
318 |
@objc public var onPreferencesClickAgreeToAll: (_ event: Didomi.EventType) -> Swift.Void |
|
319 |
@objc public var onPreferencesClickDisagreeToAll: (_ event: Didomi.EventType) -> Swift.Void |
|
320 |
@objc public var onPreferencesClickAgreeToAllPurposes: (_ event: Didomi.EventType) -> Swift.Void |
|
321 |
@objc public var onPreferencesClickDisagreeToAllPurposes: (_ event: Didomi.EventType) -> Swift.Void |
|
322 |
@objc public var onPreferencesClickResetAllPurposes: (_ event: Didomi.EventType) -> Swift.Void |
|
323 |
@objc public var onPreferencesClickPurposeAgree: (_ event: Didomi.EventType, _ purposeId: Swift.String?) -> Swift.Void |
|
324 |
@objc public var onPreferencesClickPurposeDisagree: (_ event: Didomi.EventType, _ purposeId: Swift.String?) -> Swift.Void |
|
325 |
@objc public var onPreferencesClickCategoryAgree: (_ event: Didomi.EventType, _ categoryId: Swift.String?) -> Swift.Void |
|
326 |
@objc public var onPreferencesClickCategoryDisagree: (_ event: Didomi.EventType, _ categoryId: Swift.String?) -> Swift.Void |
|
327 |
@objc public var onPreferencesClickSaveChoices: (_ event: Didomi.EventType) -> Swift.Void |
|
328 |
@objc public var onPreferencesClickAgreeToAllVendors: (_ event: Didomi.EventType) -> Swift.Void |
|
329 |
@objc public var onPreferencesClickDisagreeToAllVendors: (_ event: Didomi.EventType) -> Swift.Void |
|
330 |
@objc public var onPreferencesClickVendorAgree: (_ event: Didomi.EventType, _ vendorId: Swift.String?) -> Swift.Void |
|
331 |
@objc public var onPreferencesClickVendorDisagree: (_ event: Didomi.EventType, _ vendorId: Swift.String?) -> Swift.Void |
|
332 |
@objc public var onPreferencesClickVendorSaveChoices: (_ event: Didomi.EventType) -> Swift.Void |
|
333 |
@objc public var onPreferencesClickSPIPurposeAgree: (_ event: Didomi.EventType, _ purposeId: Swift.String?) -> Swift.Void |
|
334 |
@objc public var onPreferencesClickSPIPurposeDisagree: (_ event: Didomi.EventType, _ purposeId: Swift.String?) -> Swift.Void |
|
335 |
@objc public var onPreferencesClickSPICategoryAgree: (_ event: Didomi.EventType, _ categoryId: Swift.String?) -> Swift.Void |
|
336 |
@objc public var onPreferencesClickSPICategoryDisagree: (_ event: Didomi.EventType, _ categoryId: Swift.String?) -> Swift.Void |
|
337 |
@objc public var onPreferencesClickSPIPurposeSaveChoices: (_ event: Didomi.EventType) -> Swift.Void |
|
338 |
@objc public var onSyncDone: (_ event: Didomi.EventType, _ organizationUserId: Swift.String?) -> Swift.Void |
|
339 |
@objc public var onSyncError: (_ event: Didomi.EventType, _ error: Swift.String?) -> Swift.Void |
|
340 |
@objc public var onLanguageUpdated: (_ type: Didomi.EventType, _ languageCode: Swift.String?) -> Swift.Void |
|
341 |
@objc public var onLanguageUpdateFailed: (_ type: Didomi.EventType, _ reason: Swift.String?) -> Swift.Void |
|
342 |
@objc override dynamic public init() |
|
343 |
@objc deinit |
|
344 |
} |
|
345 |
@objc public enum ConsentStatus : Swift.Int { |
|
346 |
case enable |
|
347 |
case disable |
|
348 |
case unknown |
|
349 |
public init?(rawValue: Swift.Int) |
|
350 |
public typealias RawValue = Swift.Int |
|
351 |
public var rawValue: Swift.Int { |
|
352 |
get |
|
353 |
} |
|
354 |
} |
|
355 |
@_hasMissingDesignatedInitializers @objc(DDMCurrentUserStatus) @objcMembers public class CurrentUserStatus : ObjectiveC.NSObject, Swift.Codable { |
|
356 |
@objc final public let purposes: [Swift.String : Didomi.CurrentUserStatus.PurposeStatus] |
|
357 |
@objc final public let vendors: [Swift.String : Didomi.CurrentUserStatus.VendorStatus] |
|
358 |
@objc final public let userID: Swift.String |
|
359 |
@objc final public let created: Swift.String |
|
360 |
@objc final public let updated: Swift.String |
|
361 |
@objc final public let consentString: Swift.String |
|
362 |
@objc final public let additionalConsent: Swift.String |
|
363 |
@objc final public let regulation: Didomi.Regulation |
|
364 |
@objc final public let didomiDCS: Swift.String |
|
365 |
@objc public init(purposes: [Swift.String : Didomi.CurrentUserStatus.PurposeStatus] = [:], vendors: [Swift.String : Didomi.CurrentUserStatus.VendorStatus] = [:]) |
|
366 |
required public init(from decoder: any Swift.Decoder) throws |
|
367 |
@objc deinit |
|
368 |
public func encode(to encoder: any Swift.Encoder) throws |
|
369 |
} |
|
370 |
extension Didomi.CurrentUserStatus { |
|
371 |
@objc(DDMCurrentUserStatusPurpose) @objcMembers public class PurposeStatus : ObjectiveC.NSObject, Swift.Codable { |
|
372 |
@objc final public let id: Swift.String |
|
373 |
@objc public var enabled: Swift.Bool |
|
374 |
@objc public init(id: Swift.String, enabled: Swift.Bool) |
|
375 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
376 |
@objc deinit |
|
377 |
public func encode(to encoder: any Swift.Encoder) throws |
|
378 |
required public init(from decoder: any Swift.Decoder) throws |
|
379 |
} |
|
380 |
@objc(DDMCurrentUserStatusVendor) @objcMembers public class VendorStatus : ObjectiveC.NSObject, Swift.Codable { |
|
381 |
@objc final public let id: Swift.String |
|
382 |
@objc public var enabled: Swift.Bool |
|
383 |
@objc public init(id: Swift.String, enabled: Swift.Bool) |
|
384 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
385 |
@objc deinit |
|
386 |
public func encode(to encoder: any Swift.Encoder) throws |
|
387 |
required public init(from decoder: any Swift.Decoder) throws |
|
388 |
} |
|
389 |
} |
|
390 |
@objc(DDMVendor) @objcMembers public class Vendor : ObjectiveC.NSObject, Swift.Encodable { |
|
391 |
@objc final public let id: Swift.String |
|
392 |
@objc final public let name: Swift.String |
|
393 |
@objc final public let namespaces: Didomi.Vendor.Namespaces? |
|
394 |
@objc final public let policyUrl: Swift.String? |
|
395 |
@objc final public let purposeIDs: Swift.Set<Swift.String> |
|
396 |
@objc final public let legIntPurposeIDs: Swift.Set<Swift.String> |
|
397 |
@objc final public let featureIDs: Swift.Set<Swift.String> |
|
398 |
@objc final public let flexiblePurposeIDs: Swift.Set<Swift.String> |
|
399 |
@objc final public let specialPurposeIDs: Swift.Set<Swift.String> |
|
400 |
@objc final public let specialFeatureIDs: Swift.Set<Swift.String> |
|
401 |
@objc final public let urls: [Didomi.Vendor.URL]? |
|
402 |
@objc public init(id: Swift.String, name: Swift.String, policyUrl: Swift.String? = nil, namespaces: Didomi.Vendor.Namespaces? = nil, purposeIDs: Swift.Set<Swift.String> = [], legIntPurposeIDs: Swift.Set<Swift.String> = [], featureIDs: Swift.Set<Swift.String> = [], flexiblePurposeIDs: Swift.Set<Swift.String> = [], specialPurposeIDs: Swift.Set<Swift.String> = [], specialFeatureIDs: Swift.Set<Swift.String> = [], urls: [Didomi.Vendor.URL]? = nil) |
|
403 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
404 |
@objc deinit |
|
405 |
public func encode(to encoder: any Swift.Encoder) throws |
|
406 |
} |
|
407 |
extension Didomi.Vendor { |
|
408 |
@_hasMissingDesignatedInitializers @objc(DDMVendorNamespaces) @objcMembers public class Namespaces : ObjectiveC.NSObject, Swift.Encodable { |
|
409 |
@objc final public let iab2: Swift.String? |
|
410 |
final public let num: Swift.Int? |
|
411 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
412 |
@objc deinit |
|
413 |
public func encode(to encoder: any Swift.Encoder) throws |
|
414 |
} |
|
415 |
} |
|
416 |
extension Didomi.Vendor { |
|
417 |
@_hasMissingDesignatedInitializers @objc(DDMVendorURL) @objcMembers public class URL : ObjectiveC.NSObject, Swift.Encodable { |
|
418 |
@objc final public let langID: Swift.String? |
|
419 |
@objc final public let privacy: Swift.String? |
|
420 |
@objc final public let legIntClaim: Swift.String? |
|
421 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
422 |
@objc deinit |
|
423 |
public func encode(to encoder: any Swift.Encoder) throws |
|
424 |
} |
|
425 |
} |
|
426 |
@objc(DDMPurpose) @objcMembers public class Purpose : ObjectiveC.NSObject, Swift.Encodable { |
|
427 |
@objc final public let id: Swift.String |
|
428 |
@objc final public let name: Swift.String |
|
429 |
@objc final public let descriptionText: Swift.String |
|
430 |
@objc public init(id: Swift.String = "", name: Swift.String = "", descriptionText: Swift.String = "") |
|
431 |
@objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
|
432 |
@objc deinit |
|
433 |
public func encode(to encoder: any Swift.Encoder) throws |
|
434 |
} |
|
435 |
extension Didomi.EventType : Swift.Equatable {} |
|
436 |
extension Didomi.EventType : Swift.Hashable {} |
|
437 |
extension Didomi.EventType : Swift.RawRepresentable {} |
|
438 |
extension Didomi.DidomiErrorEventType : Swift.Equatable {} |
|
439 |
extension Didomi.DidomiErrorEventType : Swift.Hashable {} |
|
440 |
extension Didomi.DidomiErrorEventType : Swift.RawRepresentable {} |
|
441 |
extension Didomi.Regulation : Swift.Equatable {} |
|
442 |
extension Didomi.Regulation : Swift.Hashable {} |
|
443 |
extension Didomi.Regulation : Swift.RawRepresentable {} |
|
444 |
extension Didomi.Didomi.Views : Swift.Equatable {} |
|
445 |
extension Didomi.Didomi.Views : Swift.Hashable {} |
|
446 |
extension Didomi.ConsentStatus : Swift.Equatable {} |
|
447 |
extension Didomi.ConsentStatus : Swift.Hashable {} |
|
448 |
extension Didomi.ConsentStatus : Swift.RawRepresentable {} |