| | |
| | | // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN |
| | | // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
| | | |
| | | #import "TargetConditionals.h" |
| | | |
| | | #if !TARGET_OS_TV |
| | | |
| | | #import <UIKit/UIKit.h> |
| | | |
| | | #import <FBSDKCoreKit/FBSDKCopying.h> |
| | | #import "FBSDKCoreKitImport.h" |
| | | |
| | | NS_ASSUME_NONNULL_BEGIN |
| | | |
| | | /** |
| | | * A container of textures for a camera effect. |
| | | * A texture for a camera effect is an UIImages identified by a NSString key. |
| | | */ |
| | | NS_SWIFT_NAME(CameraEffectTextures) |
| | | @interface FBSDKCameraEffectTextures : NSObject <FBSDKCopying, NSSecureCoding> |
| | | |
| | | /** |
| | | Sets the image for a texture key. |
| | | - Parameter image: The UIImage for the texture |
| | | - Parameter name: The key for the texture |
| | | @param image The UIImage for the texture |
| | | @param key The key for the texture |
| | | */ |
| | | - (void)setImage:(UIImage *)image forKey:(NSString *)key; |
| | | - (void)setImage:(nullable UIImage *)image forKey:(NSString *)key |
| | | NS_SWIFT_NAME(set(_:forKey:)); |
| | | |
| | | /** |
| | | Gets the image for a texture key. |
| | | - Parameter name: The key for the texture |
| | | - Returns: The texture UIImage or nil |
| | | @param key The key for the texture |
| | | @return The texture UIImage or nil |
| | | */ |
| | | - (UIImage *)imageForKey:(NSString *)key; |
| | | - (nullable UIImage *)imageForKey:(NSString *)key; |
| | | |
| | | @end |
| | | |
| | | NS_ASSUME_NONNULL_END |
| | | |
| | | #endif |