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 |
#import <Foundation/Foundation.h> |
|
10 |
|
|
11 |
#import <FBSDKCoreKit_Basics/FBSDKCrashHandlerProtocol.h> |
|
12 |
#import <FBSDKCoreKit_Basics/FBSDKCrashObserving.h> |
|
13 |
|
|
14 |
NS_ASSUME_NONNULL_BEGIN |
|
15 |
|
|
16 |
NS_SWIFT_NAME(CrashHandler) |
|
17 |
@interface FBSDKCrashHandler : NSObject <FBSDKCrashHandler> |
|
18 |
|
|
19 |
@property (class, nonatomic, readonly) FBSDKCrashHandler *shared; |
|
20 |
|
|
21 |
- (instancetype)init DEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release."); |
|
22 |
+ (instancetype)new DEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release."); |
|
23 |
|
|
24 |
+ (void)disable; |
|
25 |
+ (void)addObserver:(id<FBSDKCrashObserving>)observer; |
|
26 |
+ (void)removeObserver:(id<FBSDKCrashObserving>)observer; |
|
27 |
+ (void)clearCrashReportFiles; |
|
28 |
+ (NSString *)getFBSDKVersion; |
|
29 |
|
|
30 |
- (void)disable; |
|
31 |
|
|
32 |
@end |
|
33 |
|
|
34 |
NS_ASSUME_NONNULL_END |