commit | author | age
|
2e29a3
|
1 |
/* |
L |
2 |
* Copyright (c) Meta Platforms, Inc. and affiliates. |
|
3 |
* All rights reserved. |
|
4 |
* |
|
5 |
* This source code is licensed under the license found in the |
|
6 |
* LICENSE file in the root directory of this source tree. |
|
7 |
*/ |
|
8 |
|
|
9 |
#if !TARGET_OS_TV |
|
10 |
|
|
11 |
#import <Foundation/Foundation.h> |
|
12 |
|
|
13 |
#import <FBSDKShareKit/FBSDKCameraEffectArguments.h> |
|
14 |
#import <FBSDKShareKit/FBSDKCameraEffectTextures.h> |
|
15 |
#import <FBSDKShareKit/FBSDKSharingContent.h> |
|
16 |
#import <FBSDKShareKit/FBSDKSharingScheme.h> |
|
17 |
|
|
18 |
NS_ASSUME_NONNULL_BEGIN |
|
19 |
|
|
20 |
#pragma clang diagnostic push |
|
21 |
#pragma clang diagnostic ignored "-Wdeprecated-declarations" |
|
22 |
/** |
|
23 |
A model for content to share with a Facebook camera effect. |
|
24 |
*/ |
|
25 |
NS_SWIFT_NAME(ShareCameraEffectContent) |
|
26 |
@interface FBSDKShareCameraEffectContent : NSObject <FBSDKSharingContent, FBSDKSharingScheme> |
|
27 |
#pragma clang diagnostic pop |
|
28 |
|
|
29 |
/** |
|
30 |
ID of the camera effect to use. |
|
31 |
*/ |
|
32 |
@property (nonatomic, copy) NSString *effectID; |
|
33 |
|
|
34 |
/** |
|
35 |
Arguments for the effect. |
|
36 |
*/ |
|
37 |
@property (nonatomic, copy) FBSDKCameraEffectArguments *effectArguments; |
|
38 |
|
|
39 |
/** |
|
40 |
Textures for the effect. |
|
41 |
*/ |
|
42 |
@property (nonatomic, copy) FBSDKCameraEffectTextures *effectTextures; |
|
43 |
|
|
44 |
/** |
|
45 |
Compares the receiver to another camera effect content. |
|
46 |
@param content The other content |
|
47 |
@return YES if the receiver's values are equal to the other content's values; otherwise NO |
|
48 |
*/ |
|
49 |
- (BOOL)isEqualToShareCameraEffectContent:(FBSDKShareCameraEffectContent *)content; |
|
50 |
|
|
51 |
@end |
|
52 |
|
|
53 |
NS_ASSUME_NONNULL_END |
|
54 |
|
|
55 |
#endif |