| | |
| | | // swift-interface-format-version: 1.0 |
| | | // swift-compiler-version: Apple Swift version 5.9.2 (swiftlang-5.9.2.2.56 clang-1500.1.0.2.5) |
| | | // swift-module-flags: -target arm64-apple-xros1.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -module-name Didomi |
| | | // swift-module-flags-ignorable: -enable-bare-slash-regex |
| | | // swift-compiler-version: Apple Swift version 6.1 effective-5.10 (swiftlang-6.1.0.110.21 clang-1700.0.13.3) |
| | | // swift-module-flags: -target arm64-apple-xros1.0-simulator -enable-objc-interop -enable-library-evolution -swift-version 5 -enforce-exclusivity=checked -O -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -module-name Didomi |
| | | // swift-module-flags-ignorable: -no-verify-emitted-module-interface -interface-compiler-version 6.1 |
| | | import DeveloperToolsSupport |
| | | import Foundation |
| | | import JavaScriptCore |
| | |
| | | import SwiftUI |
| | | import SystemConfiguration |
| | | import UIKit |
| | | import WebKit |
| | | import _Concurrency |
| | | import _StringProcessing |
| | | import _SwiftConcurrencyShims |
| | |
| | | } |
| | | @objc public protocol UserAuth { |
| | | @objc var id: Swift.String { get } |
| | | @objc func isEqual(_ object: Any?) -> Swift.Bool |
| | | } |
| | | @_hasMissingDesignatedInitializers @objc public class UserAuthParams : ObjectiveC.NSObject, UserAuth { |
| | | @_hasMissingDesignatedInitializers @objc public class UserAuthParams : ObjectiveC.NSObject, UserAuth, Swift.Codable { |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | @objc public var id: Swift.String |
| | | public var algorithm: Swift.String |
| | | public var secretID: Swift.String |
| | | public var expiration: Foundation.TimeInterval? |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | @objc override dynamic public var hash: Swift.Int { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | @_hasMissingDesignatedInitializers @objcMembers public class UserAuthWithoutParams : UserAuth { |
| | | @objc @objcMembers public class UserAuthWithoutParams : ObjectiveC.NSObject, UserAuth, Swift.Codable { |
| | | @objc public init(id: Swift.String) |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | @objc public var id: Swift.String |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | @objc override dynamic public var hash: Swift.Int { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | @objc @_hasMissingDesignatedInitializers @objcMembers public class UserAuthWithEncryptionParams : UserAuthParams { |
| | | @objc convenience public init(id: Swift.String, algorithm: Swift.String, secretID: Swift.String, initializationVector: Swift.String) |
| | | @objc convenience public init(id: Swift.String, algorithm: Swift.String, secretID: Swift.String, initializationVector: Swift.String, legacyExpiration: Foundation.TimeInterval) |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | @objc public var initializationVector: Swift.String |
| | | override public func encode(to encoder: any Swift.Encoder) throws |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | @objc override dynamic public var hash: Swift.Int { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | @objc @_hasMissingDesignatedInitializers @objcMembers public class UserAuthWithHashParams : UserAuthParams { |
| | | @objc convenience public init(id: Swift.String, algorithm: Swift.String, secretID: Swift.String, digest: Swift.String, salt: Swift.String? = nil) |
| | | @objc convenience public init(id: Swift.String, algorithm: Swift.String, secretID: Swift.String, digest: Swift.String, salt: Swift.String? = nil, legacyExpiration: Foundation.TimeInterval) |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | @objc public var salt: Swift.String? |
| | | @objc public var digest: Swift.String |
| | | override public func encode(to encoder: any Swift.Encoder) throws |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | @objc override dynamic public var hash: Swift.Int { |
| | | @objc get |
| | | } |
| | | @objc deinit |
| | | } |
| | | @objc(DDMErrorEvent) public class DidomiErrorEvent : ObjectiveC.NSObject, Swift.Error { |
| | |
| | | case failedAlready |
| | | case configFileError |
| | | case invalidApiKey |
| | | case errorLoadingUIResource |
| | | public init?(rawValue: Swift.Int) |
| | | public typealias RawValue = Swift.Int |
| | | public var rawValue: Swift.Int { |
| | |
| | | case preferencesClickVendorAgree |
| | | case preferencesClickVendorDisagree |
| | | case preferencesClickVendorSaveChoices |
| | | case syncUserChanged |
| | | @available(*, deprecated, message: "Please use syncReady instead") |
| | | case syncDone |
| | | case syncReady |
| | | case syncError |
| | | case languageUpdated |
| | | case languageUpdateFailed |
| | | @available(*, deprecated, message: "SPI purposes are now displayed in preferences screen, please use noticeClickMoreInfo() instead.") |
| | | case noticeClickViewSPIPurposes |
| | | @available(*, deprecated, message: "SPI purposes are now displayed in preferences screen.") |
| | | case preferencesClickViewSPIPurposes |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use preferencesClickPurposeAgree() instead.") |
| | | case preferencesClickSPIPurposeAgree |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use preferencesClickPurposeDisagree() instead.") |
| | | case preferencesClickSPIPurposeDisagree |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use preferencesClickCategoryAgree() instead.") |
| | | case preferencesClickSPICategoryAgree |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use preferencesClickCategoryDisagree() instead.") |
| | | case preferencesClickSPICategoryDisagree |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use preferencesClickSaveChoices() instead.") |
| | | case preferencesClickSPIPurposeSaveChoices |
| | | case dcsSignatureReady |
| | | case dcsSignatureError |
| | | public init?(rawValue: Swift.Int) |
| | | public typealias RawValue = Swift.Int |
| | | public var rawValue: Swift.Int { |
| | |
| | | @objc public var onNoticeClickDisagree: (_ event: EventType) -> Swift.Void |
| | | @objc public var onNoticeClickMoreInfo: (_ event: EventType) -> Swift.Void |
| | | @objc public var onNoticeClickViewVendors: (_ event: EventType) -> Swift.Void |
| | | @available(*, deprecated, message: "SPI purposes are now displayed in preferences screen, please use onNoticeClickMoreInfo() instead.") |
| | | @objc public var onNoticeClickViewSPIPurposes: (_ event: EventType) -> Swift.Void |
| | | @objc public var onNoticeClickPrivacyPolicy: (_ event: EventType) -> Swift.Void |
| | | @objc public var onHidePreferences: (_ event: EventType) -> Swift.Void |
| | | @objc public var onShowPreferences: (_ event: EventType) -> Swift.Void |
| | | @objc public var onPreferencesClickViewPurposes: (_ event: EventType) -> Swift.Void |
| | | @objc public var onPreferencesClickViewVendors: (_ event: EventType) -> Swift.Void |
| | | @available(*, deprecated, message: "SPI purposes are now displayed in preferences screen.") |
| | | @objc public var onPreferencesClickViewSPIPurposes: (_ event: EventType) -> Swift.Void |
| | | @objc public var onPreferencesClickAgreeToAll: (_ event: EventType) -> Swift.Void |
| | | @objc public var onPreferencesClickDisagreeToAll: (_ event: EventType) -> Swift.Void |
| | |
| | | @objc public var onPreferencesClickVendorAgree: (_ event: EventType, _ vendorId: Swift.String?) -> Swift.Void |
| | | @objc public var onPreferencesClickVendorDisagree: (_ event: EventType, _ vendorId: Swift.String?) -> Swift.Void |
| | | @objc public var onPreferencesClickVendorSaveChoices: (_ event: EventType) -> Swift.Void |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use onPreferencesClickPurposeAgree() instead.") |
| | | @objc public var onPreferencesClickSPIPurposeAgree: (_ event: EventType, _ purposeId: Swift.String?) -> Swift.Void |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use onPreferencesClickPurposeDisagree() instead.") |
| | | @objc public var onPreferencesClickSPIPurposeDisagree: (_ event: EventType, _ purposeId: Swift.String?) -> Swift.Void |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use onPreferencesClickCategoryAgree() instead.") |
| | | @objc public var onPreferencesClickSPICategoryAgree: (_ event: EventType, _ categoryId: Swift.String?) -> Swift.Void |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use onPreferencesClickCategoryDisagree() instead.") |
| | | @objc public var onPreferencesClickSPICategoryDisagree: (_ event: EventType, _ categoryId: Swift.String?) -> Swift.Void |
| | | @available(*, deprecated, message: "SPI purposes are now treated as other purposes, please use onPreferencesClickSaveChoices() instead.") |
| | | @objc public var onPreferencesClickSPIPurposeSaveChoices: (_ event: EventType) -> Swift.Void |
| | | @objc public var onSyncUserChanged: (_ event: SyncUserChangedEvent) -> Swift.Void |
| | | @available(*, deprecated, message: "Please use onSyncReady() instead") |
| | | @objc public var onSyncDone: (_ event: EventType, _ organizationUserId: Swift.String?) -> Swift.Void |
| | | @objc public var onSyncReady: (_ event: SyncReadyEvent) -> Swift.Void |
| | | @objc public var onSyncError: (_ event: EventType, _ error: Swift.String?) -> Swift.Void |
| | | @objc public var onLanguageUpdated: (_ type: EventType, _ languageCode: Swift.String?) -> Swift.Void |
| | | @objc public var onLanguageUpdateFailed: (_ type: EventType, _ reason: Swift.String?) -> Swift.Void |
| | | @objc public var onDCSSignatureReady: (_ event: EventType) -> Swift.Void |
| | | @objc public var onDCSSignatureError: (_ event: EventType) -> Swift.Void |
| | | @objc override dynamic public init() |
| | | @objc deinit |
| | | } |
| | | @_hasMissingDesignatedInitializers @objc(DDMSyncReadyEvent) @objcMembers public class SyncReadyEvent : ObjectiveC.NSObject { |
| | | @objc final public let organizationUserId: Swift.String? |
| | | @objc final public let statusApplied: Swift.Bool |
| | | @objc final public let syncAcknowledged: (() -> Swift.Bool) |
| | | @objc final public let syncAcknowledged: () -> Swift.Bool |
| | | @objc deinit |
| | | } |
| | | @_hasMissingDesignatedInitializers @objc(DDMCurrentUserStatus) @objcMembers public class CurrentUserStatus : ObjectiveC.NSObject, Swift.Codable { |
| | |
| | | @objc final public let additionalConsent: Swift.String |
| | | @objc final public let regulation: Regulation |
| | | @objc final public let didomiDCS: Swift.String |
| | | @objc final public let gppString: Swift.String |
| | | @objc public init(purposes: [Swift.String : CurrentUserStatus.PurposeStatus] = [:], vendors: [Swift.String : CurrentUserStatus.VendorStatus] = [:]) |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | @objc deinit |
| | |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | } |
| | | @objc dynamic public func shouldUserStatusBeCollected() -> Swift.Bool |
| | | } |
| | | @_hasMissingDesignatedInitializers @objc(DDMUserStatus) @objcMembers public class UserStatus : ObjectiveC.NSObject, Swift.Codable { |
| | | @objc final public let purposes: UserStatus.Purposes |
| | |
| | | @_hasMissingDesignatedInitializers @objc(DDMUserStatusIDs) @objcMembers public class IDs : ObjectiveC.NSObject, Swift.Codable { |
| | | @objc final public let enabled: Swift.Set<Swift.String> |
| | | @objc final public let disabled: Swift.Set<Swift.String> |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | @objc override dynamic public func isEqual(_ object: Any?) -> Swift.Bool |
| | | @objc deinit |
| | | public func encode(to encoder: any Swift.Encoder) throws |
| | | required public init(from decoder: any Swift.Decoder) throws |
| | | } |
| | | } |
| | | @objc public enum ConsentStatus : Swift.Int { |
| | |
| | | get |
| | | } |
| | | } |
| | | @_hasMissingDesignatedInitializers @objc(DDMSyncUserChangedEvent) @objcMembers public class SyncUserChangedEvent : ObjectiveC.NSObject { |
| | | @objc final public let userAuth: (any UserAuth)? |
| | | @objc deinit |
| | | } |
| | | @objc @objcMembers public class DidomiUserParameters : ObjectiveC.NSObject { |
| | | public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Swift.Bool? = nil) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Foundation.NSNumber) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, containerController: UIKit.UIViewController? = nil) |
| | | @objc deinit |
| | | } |
| | | @objc @_hasMissingDesignatedInitializers @objcMembers public class DidomiMultiUserParameters : DidomiUserParameters { |
| | | public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Swift.Bool? = nil, overrideMainStorage: Swift.Bool = true) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Foundation.NSNumber, overrideMainStorage: Swift.Bool = true) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, isUnderage: Foundation.NSNumber) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil, overrideMainStorage: Swift.Bool = true) |
| | | @objc convenience public init(userAuth: any UserAuth, dcsUserAuth: UserAuthParams? = nil, synchronizedUsers: [UserAuthParams]? = nil, containerController: UIKit.UIViewController? = nil) |
| | | @objc deinit |
| | | } |
| | | @_inheritsConvenienceInitializers @objc public class Didomi : ObjectiveC.NSObject { |
| | | @objc public enum Views : Swift.Int, Swift.RawRepresentable { |
| | | case purposes = 0 |
| | | @available(*, deprecated, message: "SPI purposes are now displayed in Preferences screen.") |
| | | case sensitivePersonalInformation = 1 |
| | | case vendors = 2 |
| | | public init?(rawValue: Swift.Int) |
| | |
| | | get |
| | | } |
| | | } |
| | | @objc public static var shared: Didomi |
| | | @objc public static let shared: Didomi |
| | | @objc weak public var viewProviderDelegate: (any ViewProviderDelegate)? |
| | | @objc public var applicableRegulation: Regulation { |
| | | @objc get |
| | | } |
| | | @objc override dynamic public init() |
| | | @objc public func initialize(_ parameters: DidomiInitializeParameters) |
| | | @objc public func setUserAgent(name: Swift.String, version: Swift.String) |
| | | @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 |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc public func isConsentRequired() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc public func isUserConsentStatusPartial() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc public func isUserLegitimateInterestStatusPartial() -> Swift.Bool |
| | | @discardableResult |
| | | @objc public func setUserStatus(purposesConsentStatus: Swift.Bool, purposesLIStatus: Swift.Bool, vendorsConsentStatus: Swift.Bool, vendorsLIStatus: Swift.Bool) -> Swift.Bool |
| | | @discardableResult |
| | |
| | | @objc public func setUserAgreeToAll() -> Swift.Bool |
| | | @discardableResult |
| | | @objc public func setUserDisagreeToAll() -> Swift.Bool |
| | | @objc public func onReady(callback: @escaping () -> Swift.Void) |
| | | @objc public func onReady(callback: @escaping @Sendable () -> Swift.Void) |
| | | @objc public func onError(callback: @escaping (DidomiErrorEvent) -> Swift.Void) |
| | | @objc public func addVendorStatusListener(id: Swift.String, _ callback: @escaping (CurrentUserStatus.VendorStatus) -> Swift.Void) |
| | | @objc public func removeVendorStatusListener(id: Swift.String) |
| | |
| | | @objc dynamic public func showNotice() |
| | | @objc dynamic public func hideNotice() |
| | | @objc dynamic public func isNoticeVisible() -> Swift.Bool |
| | | @available(*, deprecated, message: "Instead, check that applicableRegulation is not .none in Swift or RegulationNone in Objective-C") |
| | | @objc dynamic public func isConsentRequired() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc dynamic public func shouldConsentBeCollected() -> Swift.Bool |
| | | @objc dynamic public func shouldUserStatusBeCollected() -> Swift.Bool |
| | | @objc dynamic public func isUserStatusPartial() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc dynamic public func isUserConsentStatusPartial() -> Swift.Bool |
| | | @available(*, deprecated, message: "Use shouldUserStatusBeCollected() instead.") |
| | | @objc dynamic public func isUserLegitimateInterestStatusPartial() -> Swift.Bool |
| | | @objc dynamic public func showPreferences(controller: UIKit.UIViewController? = nil, view: Didomi.Views = .purposes) |
| | | @objc dynamic public func hidePreferences() |
| | | @objc dynamic public func isPreferencesVisible() -> Swift.Bool |
| | | @objc dynamic public func getTranslatedText(key: Swift.String) -> Swift.String |
| | | @objc dynamic public func getText(key: Swift.String) -> [Swift.String : Swift.String]? |
| | | @objc dynamic public func setLogLevel(minLevel: Swift.UInt8) |
| | | @objc dynamic public func setUser(_ parameters: DidomiUserParameters) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(id: Swift.String) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(id: Swift.String, isUnderage: Swift.Bool) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(id: Swift.String, containerController: UIKit.UIViewController) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(id: Swift.String, isUnderage: Swift.Bool, containerController: UIKit.UIViewController) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, isUnderage: Swift.Bool) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, synchronizedUsers: [UserAuthParams]) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, dcsUser: UserAuthParams) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, synchronizedUsers: [UserAuthParams], dcsUser: UserAuthParams) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, synchronizedUsers: [UserAuthParams], isUnderage: Swift.Bool) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, dcsUser: UserAuthParams, isUnderage: Swift.Bool) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, synchronizedUsers: [UserAuthParams], dcsUser: UserAuthParams, isUnderage: Swift.Bool) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, containerController: UIKit.UIViewController) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, dcsUser: UserAuthParams, containerController: UIKit.UIViewController) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, isUnderage: Swift.Bool, containerController: UIKit.UIViewController) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, synchronizedUsers: [UserAuthParams], containerController: UIKit.UIViewController) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, synchronizedUsers: [UserAuthParams], isUnderage: Swift.Bool, containerController: UIKit.UIViewController) |
| | | @available(*, deprecated, message: "Use setUser(DidomiUserParameters) instead.") |
| | | @objc dynamic public func setUser(userAuthParams: UserAuthParams, synchronizedUsers: [UserAuthParams], dcsUser: UserAuthParams, isUnderage: Swift.Bool, containerController: UIKit.UIViewController) |
| | | @objc dynamic public func clearUser() |
| | | @objc dynamic public func clearAllUsers() |
| | | @objc dynamic public func loadUserStatuses(_ users: [DidomiUserParameters], callback: @escaping ([LoadUserStatusResult]) -> Swift.Void) |
| | | @available(*, deprecated, message: "Use getCurrentUserStatus() instead.") |
| | | @objc dynamic public func getUserStatus() -> UserStatus |
| | | @objc dynamic public func getCurrentUserStatus() -> CurrentUserStatus |
| | | @objc dynamic public func getCurrentUserStatus(userAuth: any UserAuth) -> CurrentUserStatus? |
| | | @objc dynamic public func setCurrentUserStatus(currentUserStatus: CurrentUserStatus) -> Swift.Bool |
| | | @objc dynamic public func openCurrentUserStatusTransaction() -> CurrentUserStatusTransaction |
| | | public func setLocalProperty(key: Swift.String, value: Any?) |
| | |
| | | @objc public protocol ViewProviderDelegate { |
| | | @objc func getNoticeViewController(position: Swift.String, noticeSkipped: Swift.Bool) -> UIKit.UIViewController |
| | | @objc func getPreferencesViewController() -> UIKit.UIViewController |
| | | } |
| | | @objc @_hasMissingDesignatedInitializers @objcMembers public class LoadUserStatusResult : ObjectiveC.NSObject { |
| | | @objc final public let userStatus: CurrentUserStatus |
| | | @objc final public let syncDate: Swift.String |
| | | @objc final public let userAuth: any UserAuth |
| | | @objc final public let status: LoadUserStatusResult.Status |
| | | final public let error: LoadUserStatusResult.ErrorStatus? |
| | | @objc deinit |
| | | } |
| | | extension LoadUserStatusResult { |
| | | @objc public enum Status : Swift.Int, Swift.CustomStringConvertible { |
| | | case cached |
| | | case canceled |
| | | case invalid |
| | | case newUser |
| | | case synced |
| | | public var description: Swift.String { |
| | | get |
| | | } |
| | | public init?(rawValue: Swift.Int) |
| | | public typealias RawValue = Swift.Int |
| | | public var rawValue: Swift.Int { |
| | | get |
| | | } |
| | | } |
| | | } |
| | | extension LoadUserStatusResult { |
| | | @objc public enum ErrorStatus : Swift.Int, Swift.CustomStringConvertible { |
| | | case maxUserCountReached |
| | | case multiStorageDisabled |
| | | case syncDisabled |
| | | case syncFailed |
| | | case dcsSignatureFailed |
| | | public var description: Swift.String { |
| | | get |
| | | } |
| | | public init?(rawValue: Swift.Int) |
| | | public typealias RawValue = Swift.Int |
| | | public var rawValue: Swift.Int { |
| | | get |
| | | } |
| | | } |
| | | } |
| | | extension DidomiErrorEventType : Swift.Equatable {} |
| | | extension DidomiErrorEventType : Swift.Hashable {} |
| | |
| | | extension Regulation : Swift.RawRepresentable {} |
| | | extension Didomi.Views : Swift.Equatable {} |
| | | extension Didomi.Views : Swift.Hashable {} |
| | | extension LoadUserStatusResult.Status : Swift.Equatable {} |
| | | extension LoadUserStatusResult.Status : Swift.Hashable {} |
| | | extension LoadUserStatusResult.Status : Swift.RawRepresentable {} |
| | | extension LoadUserStatusResult.ErrorStatus : Swift.Equatable {} |
| | | extension LoadUserStatusResult.ErrorStatus : Swift.Hashable {} |
| | | extension LoadUserStatusResult.ErrorStatus : Swift.RawRepresentable {} |