SENTInitializationResult
Initialization return type.
@interface SENTInitializationResult : NSObject
/// Boolean representing success or failure.
@property (nonatomic) BOOL isSuccessful;
/// Failure reason in case of non-successful SDK initialization.
@property (nonatomic) SENTInitializationFailureReason failureReason;
/// Array of errors which may happen during the SDK initialization.
/// Failure reason will be set to SENTInitializationFailureReasonInternalInconsistency
@property (nonatomic, nullable) NSArray<NSError *> *errors;
+ (instancetype)initWithSuccess;
+ (instancetype)initWithFailureReason:(SENTInitializationFailureReason)reason;
@end
Last updated