Skip to content

Commit

Permalink
Improve documentation for the "value" of an MTREventReport. (#26856)
Browse files Browse the repository at this point in the history
  • Loading branch information
bzbarsky-apple authored May 26, 2023
1 parent 3d521b0 commit 2e0aab6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/darwin/Framework/CHIP/MTRBaseDevice.h
Original file line number Diff line number Diff line change
Expand Up @@ -673,8 +673,10 @@ typedef NS_ENUM(NSUInteger, MTREventPriority) {
NSDate * timestampDate API_AVAILABLE(ios(16.5), macos(13.4), watchos(9.5), tvos(16.5));

/**
* An instance of one of the event payload interfaces, or nil if error is not
* nil (in which case there is no payload available).
* An instance of the event payload interface that corresponds to the report's
* path (e.g. MTRBasicInformationClusterStartUpEvent if the path's cluster
* 0x0028 "Basic Information" and the path's event is 0x00 "StartUp"), or nil if
* error is not nil (in which case there is no payload available).
*/
@property (nonatomic, readonly, copy, nullable) id value;

Expand Down

0 comments on commit 2e0aab6

Please sign in to comment.