Skip to content

Commit

Permalink
Deprecate MTROnboardingPayloadParser.
Browse files Browse the repository at this point in the history
We forgot to do this when we deprecated the QRCode/Manual parsers.
  • Loading branch information
bzbarsky-apple committed Apr 26, 2023
1 parent cc6c414 commit aef81ac
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/darwin/Framework/CHIP/MTROnboardingPayloadParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit aef81ac

Please sign in to comment.