SwiftenumSensitiveContentAnalysisUI
AgeVerificationAlert
enum SensitiveContentAnalysisUI.AgeVerificationAlert
Members 13
- func
static accountToken(for: String) -> String - func
static continueButtonTitle(layout: SensitiveContentAnalysisUI.InterventionConfig.Layout) -> String - func
static hasShown(forAccount: String) -> Bool - func
static isReachable(using: SensitiveContentAnalysisUI.NetworkService) async -> Bool - func
static makeAlert(presenter: UIViewController?, body: String, config: SensitiveContentAnalysisUI.InterventionConfig, accountToken: String) -> UIAlertController - func
static presentIfNeeded(on: UIViewController, config: SensitiveContentAnalysisUI.InterventionConfig, eligibilityChecker: SensitiveContentAnalysisUI.ApplicationEligibilityChecking, networkService: SensitiveContentAnalysisUI.NetworkService, contentProvider: SensitiveContentAnalysisUI.AgeVerificationContentProviding) -> () - func
static recordImpression(forAccount: String) -> () - func
static releasePresentationGate() -> () - func
static reset() -> () - func
static shouldShow(eligibilityChecker: SensitiveContentAnalysisUI.ApplicationEligibilityChecking) -> Bool - func
static tryAcquirePresentationGate() -> Bool - var
static var continueButtonSchema: SensitiveContentAnalysisUI.LocalizationKeySchema<Pack{SensitiveContentAnalysisUI.AgeVerificationAlert.ContinueButtonAction, SensitiveContentAnalysisUI.AgeVerificationAlert.ContinueButtonContent}> { get } - var
static var isPresentationInFlight: Bool { get }
Header
enum AgeVerificationAlert { enum FetchBodyError { case spiError(Swift.String) case timeout case noBody } enum ContinueButtonAction { enum KeyPart { case share case view } case share case view var localizationKeyPart: SensitiveContentAnalysisUI.AgeVerificationAlert.ContinueButtonAction.KeyPart { get } } enum ContinueButtonContent { enum KeyPart { case image case images case video case videos case imagesAndVideos } case image case images case video case videos case imagesAndVideos init?(_: SensitiveContentAnalysis.ContentDescription.Description) var localizationKeyPart: SensitiveContentAnalysisUI.AgeVerificationAlert.ContinueButtonContent.KeyPart { get } } static var continueButtonSchema: SensitiveContentAnalysisUI.LocalizationKeySchema<SensitiveContentAnalysisUI.AgeVerificationAlert.ContinueButtonAction, SensitiveContentAnalysisUI.AgeVerificationAlert.ContinueButtonContent> { get } static var isPresentationInFlight: Swift.Bool { get } static func makeAlert(presenter: __C.UIViewController?, body: Swift.String, config: SensitiveContentAnalysisUI.InterventionConfig, accountToken: Swift.String) -> __C.UIAlertController static func shouldShow(eligibilityChecker: any SensitiveContentAnalysisUI.ApplicationEligibilityChecking) -> Swift.Bool static func isReachable(using: SensitiveContentAnalysisUI.NetworkService) async -> Swift.Bool static func accountToken(for: Swift.String) -> Swift.String static func presentIfNeeded(on: __C.UIViewController, config: SensitiveContentAnalysisUI.InterventionConfig, eligibilityChecker: any SensitiveContentAnalysisUI.ApplicationEligibilityChecking, networkService: SensitiveContentAnalysisUI.NetworkService, contentProvider: any SensitiveContentAnalysisUI.AgeVerificationContentProviding) static func recordImpression(forAccount: Swift.String) static func continueButtonTitle(layout: SensitiveContentAnalysisUI.InterventionConfig.Layout) -> Swift.String static func releasePresentationGate() static func tryAcquirePresentationGate() -> Swift.Bool static func reset() static func hasShown(forAccount: Swift.String) -> Swift.Bool }