From aef81ac2e4984786e6540a33f23208a8ad2cbf38 Mon Sep 17 00:00:00 2001 From: Boris Zbarsky Date: Wed, 26 Apr 2023 18:50:09 -0400 Subject: [PATCH] Deprecate MTROnboardingPayloadParser. We forgot to do this when we deprecated the QRCode/Manual parsers. --- src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h b/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h index b84672b791695f..fb0858ce4c3c85 100644 --- a/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h +++ b/src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h @@ -25,8 +25,9 @@ typedef NS_ENUM(NSUInteger, MTROnboardingPayloadType) { MTROnboardingPayloadTypeQRCode = 0, MTROnboardingPayloadTypeManualCode, MTROnboardingPayloadTypeNFC -}; +} MTR_NEWLY_DEPRECATED("MTROnboardingPayloadType is unused"); +MTR_NEWLY_DEPRECATED("Please use [MTRSetupPayload setupPayloadWithOnboardingPayload") @interface MTROnboardingPayloadParser : NSObject + (MTRSetupPayload * _Nullable)setupPayloadForOnboardingPayload:(NSString *)onboardingPayload