API Differences in Matter in iOS 18.2

It can be difficult to find what changed in Apple SDKs. These pages are algorithmically generated and show what is new in Matter in the iOS 18.2 SDK.

Table of Contents

Protocols

MTRXPCClientProtocol_MTRDevice
MTRXPCClientProtocol_MTRDeviceController
MTRXPCClientProtocol

Classes

MTRXPCDeviceControllerParameters
MTRDeviceType

Functions & Methods

MTRDeviceController
- (void)addDeviceControllerDelegate:(nonnull id<MTRDeviceControllerDelegate>)delegate queue:(nonnull dispatch_queue_t)queue;
MTRDeviceController
- (void)removeDeviceControllerDelegate:(nonnull id<MTRDeviceControllerDelegate>)delegate;
MTRDeviceController
- (void)suspend;
MTRDeviceController
- (void)resume;
MTRDeviceController
- (BOOL)isSuspended;
MTRDeviceControllerDelegate
- (void)controller:(nonnull MTRDeviceController *)controller suspendedChangedTo:(BOOL)suspended;
MTRDevice
- (nonnull NSArray<NSDictionary<NSString *,id> *> *)readAttributePaths:(nonnull NSArray<MTRAttributeRequestPath *> *)attributePaths;
extern NSString *MTRRequestCommandNameForID(MTRClusterIDType clusterID, MTRCommandIDType commandID)
extern NSString *MTRResponseCommandNameForID(MTRClusterIDType clusterID, MTRCommandIDType commandID)
extern NSString *MTREventNameForID(MTRClusterIDType clusterID, MTREventIDType eventID)

Properties & Constants

MTRDeviceController
@property(nonatomic, readonly, getter = isSuspended) BOOL suspended;
MTRDeviceControllerExternalCertificateParameters
@property(nonatomic, copy, readonly) MTRCertificateDERBytes _Nonnull rootCertificate;
MTRCertificateInfo
@property(atomic, retain, readonly, nullable) NSData *publicKeyData;