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 <FBSDKCoreKit/FBSDKCoreKit.h> |
|
14 |
|
|
15 |
NS_ASSUME_NONNULL_BEGIN |
|
16 |
|
|
17 |
/** |
|
18 |
* A container of arguments for a camera effect. |
|
19 |
* An argument is a NSString identified by a NSString key. |
|
20 |
*/ |
|
21 |
NS_SWIFT_NAME(CameraEffectArguments) |
|
22 |
@interface FBSDKCameraEffectArguments : NSObject <NSCopying, NSObject, NSSecureCoding> |
|
23 |
|
|
24 |
/** |
|
25 |
Sets a string argument in the container. |
|
26 |
@param string The argument |
|
27 |
@param key The key for the argument |
|
28 |
*/ |
|
29 |
|
|
30 |
// UNCRUSTIFY_FORMAT_OFF |
|
31 |
- (void)setString:(nullable NSString *)string forKey:(NSString *)key |
|
32 |
NS_SWIFT_NAME(set(_:forKey:)); |
|
33 |
// UNCRUSTIFY_FORMAT_ON |
|
34 |
|
|
35 |
/** |
|
36 |
Gets a string argument from the container. |
|
37 |
@param key The key for the argument |
|
38 |
@return The string value or nil |
|
39 |
*/ |
|
40 |
- (nullable NSString *)stringForKey:(NSString *)key; |
|
41 |
|
|
42 |
/** |
|
43 |
Sets a string array argument in the container. |
|
44 |
@param array The array argument |
|
45 |
@param key The key for the argument |
|
46 |
*/ |
|
47 |
|
|
48 |
// UNCRUSTIFY_FORMAT_OFF |
|
49 |
- (void)setArray:(nullable NSArray<NSString *> *)array forKey:(NSString *)key |
|
50 |
NS_SWIFT_NAME(set(_:forKey:)); |
|
51 |
// UNCRUSTIFY_FORMAT_ON |
|
52 |
|
|
53 |
/** |
|
54 |
Gets an array argument from the container. |
|
55 |
@param key The key for the argument |
|
56 |
@return The array argument |
|
57 |
*/ |
|
58 |
- (nullable NSArray<NSString *> *)arrayForKey:(NSString *)key; |
|
59 |
|
|
60 |
@end |
|
61 |
|
|
62 |
NS_ASSUME_NONNULL_END |
|
63 |
|
|
64 |
#endif |