#if (defined(USE_UIKIT_PUBLIC_HEADERS) && USE_UIKIT_PUBLIC_HEADERS) || !__has_include() // // UIPrintServiceExtension.h // UIKit // // Copyright 2020 Apple Inc. All rights reserved. // #import #import NS_ASSUME_NONNULL_BEGIN @class UIPrintInfo; UIKIT_EXTERN API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(tvos) NS_SWIFT_UI_ACTOR @interface UIPrinterDestination : NSObject -(instancetype)initWithURL:(NSURL *)url; @property (readwrite, copy) NSURL *URL; @property (readwrite, copy, nullable) NSString *displayName; @property (readwrite, copy, nullable) NSData *txtRecord; @end UIKIT_EXTERN API_AVAILABLE(ios(14.5)) API_UNAVAILABLE(tvos) NS_SWIFT_UI_ACTOR @interface UIPrintServiceExtension : NSObject -(NSArray *)printerDestinationsForPrintInfo:(UIPrintInfo *)printInfo; @end NS_ASSUME_NONNULL_END #else #import #endif