lpw
2024-04-15 97fc0a41111c5a929ee8be9d6511775697ffa760
commit | author | age
e0ec42 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 #import <Foundation/Foundation.h>
10
11 NS_ASSUME_NONNULL_BEGIN
12
13 /**
14  Internal type exposed to facilitate transition to Swift.
15  API Subject to change or removal without warning. Do not use.
16
17  @warning INTERNAL - DO NOT USE
18  */
19 NS_SWIFT_NAME(_AppEventsReporter)
20 @protocol FBSDKAppEventsReporter
21
22 - (void)enable;
23
24 // UNCRUSTIFY_FORMAT_OFF
25 - (void)recordAndUpdateEvent:(NSString *)event
26                     currency:(nullable NSString *)currency
27                        value:(nullable NSNumber *)value
28                   parameters:(nullable NSDictionary<NSString *, id> *)parameters
29 NS_SWIFT_NAME(recordAndUpdate(event:currency:value:parameters:));
30 // UNCRUSTIFY_FORMAT_ON
31
32 @end
33
34 NS_ASSUME_NONNULL_END