/*
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
* All rights reserved.
|
*
|
* This source code is licensed under the license found in the
|
* LICENSE file in the root directory of this source tree.
|
*/
|
|
#import <Foundation/Foundation.h>
|
|
#import <FBSDKCoreKit_Basics/FBSDKCrashHandlerProtocol.h>
|
#import <FBSDKCoreKit_Basics/FBSDKCrashObserving.h>
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
NS_SWIFT_NAME(CrashHandler)
|
@interface FBSDKCrashHandler : NSObject <FBSDKCrashHandler>
|
|
@property (class, nonatomic, readonly) FBSDKCrashHandler *shared;
|
|
- (instancetype)init DEPRECATED_MSG_ATTRIBUTE("`init` is deprecated and will be removed in the next major release.");
|
+ (instancetype)new DEPRECATED_MSG_ATTRIBUTE("`new` is deprecated and will be removed in the next major release.");
|
|
+ (void)disable;
|
+ (void)addObserver:(id<FBSDKCrashObserving>)observer;
|
+ (void)removeObserver:(id<FBSDKCrashObserving>)observer;
|
+ (void)clearCrashReportFiles;
|
+ (NSString *)getFBSDKVersion;
|
|
- (void)disable;
|
|
@end
|
|
NS_ASSUME_NONNULL_END
|