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