From b5640242ff960412e7865ba30dc80630ee4ade5a Mon Sep 17 00:00:00 2001 From: Nivedita Sarkar Date: Mon, 16 Oct 2023 14:47:36 -0700 Subject: [PATCH] Removed MTRDiagnosticLogResult as it is not needed anymore since we are returning a single log file URL --- src/darwin/Framework/CHIP/MTRDevice.h | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/src/darwin/Framework/CHIP/MTRDevice.h b/src/darwin/Framework/CHIP/MTRDevice.h index 420fc2f138d317..9ad42d33cfcc80 100644 --- a/src/darwin/Framework/CHIP/MTRDevice.h +++ b/src/darwin/Framework/CHIP/MTRDevice.h @@ -42,29 +42,6 @@ typedef NS_ENUM(NSInteger, MTRDiagnosticLogType) { @protocol MTRDeviceDelegate; -MTR_PROVISIONALLY_AVAILABLE -@interface MTRDiagnosticLogResult : NSObject - -/** - * The URL representing the location of the end user support log file that was downloaded. - * If no end user support log was requested or retrieved, this will be set to nil. - */ -@property (readonly, nonatomic, nullable) NSURL * endUserSupportLog; - -/** - * The URL representing the location of the network diagnostics log file that was downloaded. - * If no network diagnostics log was requested or retreived, this will be set to nil. - */ -@property (readonly, nonatomic, nullable) NSURL * networkDiagnosticsLog; - -/** - * The URL representing the location of the crash log file that was downloaded. - * If no crash log was requested or retrieved, this will be set to nil. - */ -@property (readonly, nonatomic, nullable) NSURL * crashLog; - -@end - @interface MTRDevice : NSObject - (instancetype)init NS_UNAVAILABLE; + (instancetype)new NS_UNAVAILABLE; @@ -252,7 +229,7 @@ MTR_PROVISIONALLY_AVAILABLE - (void)downloadLogOfType:(MTRDiagnosticLogType)type timeout:(NSTimeInterval)timeout queue:(dispatch_queue_t)queue - completion:(void (^)(MTRDiagnosticLogResult * _Nullable logResult, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE; + completion:(void (^)(NSURL * _Nullable logURL, NSError * _Nullable error))completion MTR_PROVISIONALLY_AVAILABLE; @end