// // INImage+IntentsUI.h // Intents // // Copyright (c) 2016 Apple Inc. All rights reserved. // #import #import #import @class INIntentResponse; NS_ASSUME_NONNULL_BEGIN @interface INImage (IntentsUI) + (instancetype)imageWithCGImage:(CGImageRef)imageRef API_AVAILABLE(ios(10.0), watchos(5.0), tvos(14.0)) API_UNAVAILABLE(macosx); + (instancetype)imageWithUIImage:(UIImage *)image API_AVAILABLE(ios(10.0), watchos(5.0), tvos(14.0)) API_UNAVAILABLE(macosx); /*! @abstract Returns the image size at which the image for an INIntentResponse will be displayed */ + (CGSize)imageSizeForIntentResponse:(INIntentResponse *)response API_AVAILABLE(ios(10.0), watchos(5.0), tvos(14.0)) API_UNAVAILABLE(macosx); - (void)fetchUIImageWithCompletion:(void (^)(UIImage * _Nullable image))completion API_AVAILABLE(ios(11.0), watchos(5.0), tvos(14.0)) API_UNAVAILABLE(macosx); @end NS_ASSUME_NONNULL_END