blob: c95fbc82912b39bd97e6e50b63959943ae7d8847 [file] [log] [blame]
/*
*
* Copyright (c) 2022 Project CHIP Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#import <Foundation/Foundation.h>
#import <Matter/MTRClusterStateCacheContainer.h>
#import <Matter/MTRCluster.h>
#import <Matter/MTRCommandPayloadsObjc.h>
NS_ASSUME_NONNULL_BEGIN
/**
* Cluster Identify
* Attributes and commands for putting a device into Identification mode (e.g. flashing a light).
*/
@interface MTRBaseClusterIdentify : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)identifyWithParams:(MTRIdentifyClusterIdentifyParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)triggerEffectWithParams:(MTRIdentifyClusterTriggerEffectParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeIdentifyTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeIdentifyTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeIdentifyTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeIdentifyTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeIdentifyTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeIdentifyTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Groups
* Attributes and commands for group configuration and manipulation.
*/
@interface MTRBaseClusterGroups : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)addGroupWithParams:(MTRGroupsClusterAddGroupParams *)params
completion:(void (^)(MTRGroupsClusterAddGroupResponseParams * _Nullable data, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)viewGroupWithParams:(MTRGroupsClusterViewGroupParams *)params
completion:(void (^)(MTRGroupsClusterViewGroupResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)getGroupMembershipWithParams:(MTRGroupsClusterGetGroupMembershipParams *)params
completion:(void (^)(MTRGroupsClusterGetGroupMembershipResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)removeGroupWithParams:(MTRGroupsClusterRemoveGroupParams *)params
completion:(void (^)(MTRGroupsClusterRemoveGroupResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)removeAllGroupsWithParams:(MTRGroupsClusterRemoveAllGroupsParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)removeAllGroupsWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNameSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNameSupportWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNameSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Scenes
* Attributes and commands for scene configuration and manipulation.
*/
@interface MTRBaseClusterScenes : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)addSceneWithParams:(MTRScenesClusterAddSceneParams *)params
completion:(void (^)(MTRScenesClusterAddSceneResponseParams * _Nullable data, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)viewSceneWithParams:(MTRScenesClusterViewSceneParams *)params
completion:(void (^)(MTRScenesClusterViewSceneResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)removeSceneWithParams:(MTRScenesClusterRemoveSceneParams *)params
completion:(void (^)(MTRScenesClusterRemoveSceneResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)removeAllScenesWithParams:(MTRScenesClusterRemoveAllScenesParams *)params
completion:(void (^)(MTRScenesClusterRemoveAllScenesResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)storeSceneWithParams:(MTRScenesClusterStoreSceneParams *)params
completion:(void (^)(MTRScenesClusterStoreSceneResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)recallSceneWithParams:(MTRScenesClusterRecallSceneParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)getSceneMembershipWithParams:(MTRScenesClusterGetSceneMembershipParams *)params
completion:(void (^)(MTRScenesClusterGetSceneMembershipResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)enhancedAddSceneWithParams:(MTRScenesClusterEnhancedAddSceneParams *)params
completion:(void (^)(MTRScenesClusterEnhancedAddSceneResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)enhancedViewSceneWithParams:(MTRScenesClusterEnhancedViewSceneParams *)params
completion:(void (^)(MTRScenesClusterEnhancedViewSceneResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params
completion:(void (^)(MTRScenesClusterCopySceneResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSceneCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSceneCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSceneCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentSceneWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentSceneWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentSceneWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentGroupWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentGroupWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentGroupWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSceneValidWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSceneValidWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSceneValidWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNameSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNameSupportWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNameSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLastConfiguredByWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLastConfiguredByWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLastConfiguredByWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster On/Off
* Attributes and commands for switching devices between 'On' and 'Off' states.
*/
@interface MTRBaseClusterOnOff : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)offWithParams:(MTROnOffClusterOffParams * _Nullable)params completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)offWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)onWithParams:(MTROnOffClusterOnParams * _Nullable)params completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)onWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)toggleWithParams:(MTROnOffClusterToggleParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)toggleWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)offWithEffectWithParams:(MTROnOffClusterOffWithEffectParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)onWithRecallGlobalSceneWithParams:(MTROnOffClusterOnWithRecallGlobalSceneParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)onWithRecallGlobalSceneWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)onWithTimedOffWithParams:(MTROnOffClusterOnWithTimedOffParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOnOffWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOnOffWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOnOffWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGlobalSceneControlWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGlobalSceneControlWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGlobalSceneControlWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOnTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOnTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOnTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOffWaitTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOffWaitTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOffWaitTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeStartUpOnOffWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStartUpOnOffWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStartUpOnOffWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster On/off Switch Configuration
* Attributes and commands for configuring On/Off switching devices.
*/
@interface MTRBaseClusterOnOffSwitchConfiguration : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeSwitchTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSwitchTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSwitchTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSwitchActionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSwitchActionsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSwitchActionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Level Control
* Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.'
*/
@interface MTRBaseClusterLevelControl : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)moveToLevelWithParams:(MTRLevelControlClusterMoveToLevelParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveWithParams:(MTRLevelControlClusterMoveParams *)params completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stepWithParams:(MTRLevelControlClusterStepParams *)params completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stopWithParams:(MTRLevelControlClusterStopParams *)params completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveToLevelWithOnOffWithParams:(MTRLevelControlClusterMoveToLevelWithOnOffParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveWithOnOffWithParams:(MTRLevelControlClusterMoveWithOnOffParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stepWithOnOffWithParams:(MTRLevelControlClusterStepWithOnOffParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stopWithOnOffWithParams:(MTRLevelControlClusterStopWithOnOffParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFrequencyParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRemainingTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRemainingTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRemainingTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentFrequencyWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinFrequencyWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxFrequencyWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOptionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOptionsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOptionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOnOffTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOnOffTransitionTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOnOffTransitionTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOnLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOnLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOnLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOnTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOnTransitionTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOnTransitionTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOffTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOffTransitionTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOffTransitionTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDefaultMoveRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDefaultMoveRateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDefaultMoveRateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeStartUpCurrentLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStartUpCurrentLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStartUpCurrentLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Binary Input (Basic)
* An interface for reading the value of a binary measurement and accessing various characteristics of that measurement.
*/
@interface MTRBaseClusterBinaryInputBasic : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveTextWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveTextWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInactiveTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInactiveTextWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInactiveTextWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOutOfServiceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOutOfServiceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOutOfServiceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePolarityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePolarityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePolarityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePresentValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePresentValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePresentValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeReliabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeReliabilityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeReliabilityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeStatusFlagsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStatusFlagsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStatusFlagsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeApplicationTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeApplicationTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeApplicationTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Descriptor
* The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its
* endpoints and clusters.
*/
@interface MTRBaseClusterDescriptor : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeDeviceTypeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDeviceTypeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDeviceTypeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeServerListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeServerListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeServerListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClientListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClientListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClientListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePartsListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePartsListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePartsListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Binding
* The Binding Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for supporting the binding table.
*/
@interface MTRBaseClusterBinding : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBindingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBindingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Access Control
* The Access Control Cluster exposes a data model view of a
Node's Access Control List (ACL), which codifies the rules used to manage
and enforce Access Control for the Node's endpoints and their associated
cluster instances.
*/
@interface MTRBaseClusterAccessControl : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeACLWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACLWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACLWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACLWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACLWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeExtensionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeExtensionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSubjectsPerAccessControlEntryWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSubjectsPerAccessControlEntryWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSubjectsPerAccessControlEntryWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTargetsPerAccessControlEntryWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTargetsPerAccessControlEntryWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTargetsPerAccessControlEntryWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAccessControlEntriesPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAccessControlEntriesPerFabricWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAccessControlEntriesPerFabricWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Actions
* This cluster provides a standardized way for a Node (typically a Bridge, but could be any Node) to expose action information.
*/
@interface MTRBaseClusterActions : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)instantActionWithParams:(MTRActionsClusterInstantActionParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)instantActionWithTransitionWithParams:(MTRActionsClusterInstantActionWithTransitionParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)startActionWithParams:(MTRActionsClusterStartActionParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)startActionWithDurationWithParams:(MTRActionsClusterStartActionWithDurationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stopActionWithParams:(MTRActionsClusterStopActionParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)pauseActionWithParams:(MTRActionsClusterPauseActionParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)pauseActionWithDurationWithParams:(MTRActionsClusterPauseActionWithDurationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)resumeActionWithParams:(MTRActionsClusterResumeActionParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)enableActionWithParams:(MTRActionsClusterEnableActionParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)enableActionWithDurationWithParams:(MTRActionsClusterEnableActionWithDurationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)disableActionWithParams:(MTRActionsClusterDisableActionParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithDurationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActionListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActionListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActionListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEndpointListsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEndpointListsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEndpointListsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSetupURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSetupURLWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSetupURLWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Basic
* This cluster provides attributes and events for determining basic information about Nodes, which supports both
Commissioning and operational determination of Node characteristics, such as Vendor ID, Product ID and serial number,
which apply to the whole Node. Also allows setting user device information such as location.
*/
@interface MTRBaseClusterBasic : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)mfgSpecificPingWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDataModelRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDataModelRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDataModelRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeVendorNameWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeVendorNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeVendorIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeVendorIDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeVendorIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeProductNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeProductNameWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeProductNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeProductIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeProductIDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeProductIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNodeLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNodeLabelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNodeLabelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLocationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLocationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLocationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeHardwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeHardwareVersionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeHardwareVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeHardwareVersionStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeHardwareVersionStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeHardwareVersionStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSoftwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSoftwareVersionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSoftwareVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSoftwareVersionStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSoftwareVersionStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSoftwareVersionStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeManufacturingDateWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeManufacturingDateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeManufacturingDateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePartNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePartNumberWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePartNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeProductURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeProductURLWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeProductURLWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeProductLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeProductLabelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeProductLabelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSerialNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSerialNumberWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSerialNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLocalConfigDisabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLocalConfigDisabledWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLocalConfigDisabledWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeReachableWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeReachableWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeReachableWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeUniqueIDWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUniqueIDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUniqueIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCapabilityMinimaWithCompletion:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCapabilityMinimaWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCapabilityMinimaWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster OTA Software Update Provider
* Provides an interface for providing OTA software updates
*/
MTR_NEWLY_AVAILABLE
@interface MTRBaseClusterOTASoftwareUpdateProvider : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)queryImageWithParams:(MTROTASoftwareUpdateProviderClusterQueryImageParams *)params
completion:(void (^)(MTROTASoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)applyUpdateRequestWithParams:(MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams *)params
completion:(void (^)(MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)notifyUpdateAppliedWithParams:(MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster OTA Software Update Requestor
* Provides an interface for downloading and applying OTA software updates
*/
MTR_NEWLY_AVAILABLE
@interface MTRBaseClusterOTASoftwareUpdateRequestor : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)announceOtaProviderWithParams:(MTROTASoftwareUpdateRequestorClusterAnnounceOtaProviderParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDefaultOtaProvidersWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDefaultOtaProvidersWithValue:(NSArray * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDefaultOtaProvidersWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDefaultOtaProvidersWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDefaultOtaProvidersWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeUpdatePossibleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUpdatePossibleWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUpdatePossibleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeUpdateStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUpdateStateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUpdateStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeUpdateStateProgressWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUpdateStateProgressWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUpdateStateProgressWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Localization Configuration
* Nodes should be expected to be deployed to any and all regions of the world. These global regions
may have differing common languages, units of measurements, and numerical formatting
standards. As such, Nodes that visually or audibly convey information need a mechanism by which
they can be configured to use a user’s preferred language, units, etc
*/
@interface MTRBaseClusterLocalizationConfiguration : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveLocaleWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveLocaleWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveLocaleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSupportedLocalesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSupportedLocalesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSupportedLocalesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Time Format Localization
* Nodes should be expected to be deployed to any and all regions of the world. These global regions
may have differing preferences for how dates and times are conveyed. As such, Nodes that visually
or audibly convey time information need a mechanism by which they can be configured to use a
user’s preferred format.
*/
@interface MTRBaseClusterTimeFormatLocalization : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeHourFormatWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeHourFormatWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeHourFormatWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveCalendarTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveCalendarTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveCalendarTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSupportedCalendarTypesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSupportedCalendarTypesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSupportedCalendarTypesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Unit Localization
* Nodes should be expected to be deployed to any and all regions of the world. These global regions
may have differing preferences for the units in which values are conveyed in communication to a
user. As such, Nodes that visually or audibly convey measurable values to the user need a
mechanism by which they can be configured to use a user’s preferred unit.
*/
@interface MTRBaseClusterUnitLocalization : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeTemperatureUnitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTemperatureUnitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTemperatureUnitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Power Source Configuration
* This cluster is used to describe the configuration and capabilities of a Device's power system.
*/
@interface MTRBaseClusterPowerSourceConfiguration : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeSourcesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSourcesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSourcesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Power Source
* This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the
* Node.
*/
@interface MTRBaseClusterPowerSource : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOrderWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOrderWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOrderWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeWiredAssessedInputVoltageWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWiredAssessedInputVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWiredAssessedInputVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWiredAssessedInputFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWiredAssessedInputFrequencyWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWiredAssessedInputFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWiredCurrentTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWiredCurrentTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWiredCurrentTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWiredAssessedCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWiredAssessedCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWiredAssessedCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWiredNominalVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWiredNominalVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWiredNominalVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWiredMaximumCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWiredMaximumCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWiredMaximumCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWiredPresentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWiredPresentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWiredPresentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveWiredFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveWiredFaultsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveWiredFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatPercentRemainingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatPercentRemainingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatPercentRemainingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatTimeRemainingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatTimeRemainingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatTimeRemainingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatChargeLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatChargeLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatChargeLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatReplacementNeededWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatReplacementNeededWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatReplacementNeededWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatReplaceabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatReplaceabilityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatReplaceabilityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatPresentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatPresentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatPresentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveBatFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveBatFaultsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveBatFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatReplacementDescriptionWithCompletion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatReplacementDescriptionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatReplacementDescriptionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatCommonDesignationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatCommonDesignationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatCommonDesignationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatANSIDesignationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatANSIDesignationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatANSIDesignationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatIECDesignationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatIECDesignationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatIECDesignationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatApprovedChemistryWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatApprovedChemistryWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatApprovedChemistryWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatCapacityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatCapacityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatQuantityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatQuantityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatQuantityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatChargeStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatChargeStateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatChargeStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatTimeToFullChargeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatTimeToFullChargeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatTimeToFullChargeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatFunctionalWhileChargingWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatFunctionalWhileChargingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatFunctionalWhileChargingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBatChargingCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBatChargingCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBatChargingCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveBatChargeFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveBatChargeFaultsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveBatChargeFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster General Commissioning
* This cluster is used to manage global aspects of the Commissioning flow.
*/
@interface MTRBaseClusterGeneralCommissioning : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)armFailSafeWithParams:(MTRGeneralCommissioningClusterArmFailSafeParams *)params
completion:(void (^)(MTRGeneralCommissioningClusterArmFailSafeResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)setRegulatoryConfigWithParams:(MTRGeneralCommissioningClusterSetRegulatoryConfigParams *)params
completion:(void (^)(MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)commissioningCompleteWithParams:(MTRGeneralCommissioningClusterCommissioningCompleteParams * _Nullable)params
completion:
(void (^)(MTRGeneralCommissioningClusterCommissioningCompleteResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)commissioningCompleteWithCompletion:(void (^)(
MTRGeneralCommissioningClusterCommissioningCompleteResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBreadcrumbWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBreadcrumbWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBreadcrumbWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBasicCommissioningInfoWithCompletion:
(void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBasicCommissioningInfoWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:
(void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)
readAttributeBasicCommissioningInfoWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:
(void (^)(
MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRegulatoryConfigWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRegulatoryConfigWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRegulatoryConfigWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLocationCapabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLocationCapabilityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLocationCapabilityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSupportsConcurrentConnectionWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSupportsConcurrentConnectionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSupportsConcurrentConnectionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Network Commissioning
* Functionality to configure, enable, disable network credentials and access on a Matter device.
*/
@interface MTRBaseClusterNetworkCommissioning : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)scanNetworksWithParams:(MTRNetworkCommissioningClusterScanNetworksParams * _Nullable)params
completion:(void (^)(MTRNetworkCommissioningClusterScanNetworksResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)addOrUpdateWiFiNetworkWithParams:(MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams *)params
completion:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)addOrUpdateThreadNetworkWithParams:(MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams *)params
completion:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)removeNetworkWithParams:(MTRNetworkCommissioningClusterRemoveNetworkParams *)params
completion:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)connectNetworkWithParams:(MTRNetworkCommissioningClusterConnectNetworkParams *)params
completion:(void (^)(MTRNetworkCommissioningClusterConnectNetworkResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkParams *)params
completion:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxNetworksWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxNetworksWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxNetworksWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNetworksWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNetworksWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNetworksWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeScanMaxTimeSecondsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeScanMaxTimeSecondsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeScanMaxTimeSecondsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeConnectMaxTimeSecondsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeConnectMaxTimeSecondsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeConnectMaxTimeSecondsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeInterfaceEnabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInterfaceEnabledWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInterfaceEnabledWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLastNetworkingStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLastNetworkingStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLastNetworkingStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLastNetworkIDWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLastNetworkIDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLastNetworkIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLastConnectErrorValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLastConnectErrorValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLastConnectErrorValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Diagnostic Logs
* The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics.
*/
@interface MTRBaseClusterDiagnosticLogs : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsRequestParams *)params
completion:(void (^)(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster General Diagnostics
* The General Diagnostics Cluster, along with other diagnostics clusters, provide a means to acquire standardized diagnostics
* metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems.
*/
@interface MTRBaseClusterGeneralDiagnostics : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTriggerParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNetworkInterfacesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNetworkInterfacesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNetworkInterfacesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRebootCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRebootCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRebootCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeUpTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUpTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUpTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTotalOperationalHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTotalOperationalHoursWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTotalOperationalHoursWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBootReasonsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBootReasonsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBootReasonsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveHardwareFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveHardwareFaultsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveHardwareFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveRadioFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveRadioFaultsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveRadioFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveNetworkFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveNetworkFaultsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveNetworkFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTestEventTriggersEnabledWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTestEventTriggersEnabledWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTestEventTriggersEnabledWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Software Diagnostics
* The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to
* assist a user or Administrative Node in diagnosing potential problems.
*/
@interface MTRBaseClusterSoftwareDiagnostics : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)resetWatermarksWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeThreadMetricsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeThreadMetricsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeThreadMetricsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentHeapFreeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentHeapFreeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentHeapFreeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentHeapUsedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentHeapUsedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentHeapUsedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentHeapHighWatermarkWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentHeapHighWatermarkWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentHeapHighWatermarkWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Thread Network Diagnostics
* The Thread Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node
* to assist a user or Administrative Node in diagnosing potential problems
*/
@interface MTRBaseClusterThreadNetworkDiagnostics : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)resetCountsWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeChannelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeChannelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeChannelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRoutingRoleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRoutingRoleWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRoutingRoleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNetworkNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNetworkNameWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNetworkNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePanIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePanIdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePanIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeExtendedPanIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeExtendedPanIdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeExtendedPanIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeshLocalPrefixWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeshLocalPrefixWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeshLocalPrefixWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNeighborTableListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNeighborTableListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNeighborTableListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRouteTableListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRouteTableListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRouteTableListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePartitionIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePartitionIdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePartitionIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeWeightingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWeightingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWeightingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDataVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDataVersionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDataVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeStableDataVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStableDataVersionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStableDataVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLeaderRouterIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLeaderRouterIdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLeaderRouterIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDetachedRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDetachedRoleCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDetachedRoleCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeChildRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeChildRoleCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeChildRoleCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRouterRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRouterRoleCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRouterRoleCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLeaderRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLeaderRoleCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLeaderRoleCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttachAttemptCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttachAttemptCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttachAttemptCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePartitionIdChangeCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePartitionIdChangeCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePartitionIdChangeCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBetterPartitionAttachAttemptCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBetterPartitionAttachAttemptCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBetterPartitionAttachAttemptCountWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeParentChangeCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeParentChangeCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeParentChangeCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxTotalCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxTotalCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxTotalCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxUnicastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxUnicastCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxUnicastCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxBroadcastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxBroadcastCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxBroadcastCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxAckRequestedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxAckRequestedCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxAckRequestedCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxAckedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxAckedCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxAckedCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxNoAckRequestedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxNoAckRequestedCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxNoAckRequestedCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxDataCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxDataCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxDataCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxDataPollCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxDataPollCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxDataPollCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxBeaconCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxBeaconCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxBeaconCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxBeaconRequestCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxBeaconRequestCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxBeaconRequestCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxOtherCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxOtherCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxRetryCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxRetryCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxRetryCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxDirectMaxRetryExpiryCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxDirectMaxRetryExpiryCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxDirectMaxRetryExpiryCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxIndirectMaxRetryExpiryCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxIndirectMaxRetryExpiryCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxIndirectMaxRetryExpiryCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxErrCcaCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxErrCcaCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxErrCcaCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxErrAbortCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxErrAbortCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxErrAbortCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxErrBusyChannelCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxErrBusyChannelCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxErrBusyChannelCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxTotalCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxTotalCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxTotalCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxUnicastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxUnicastCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxUnicastCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxBroadcastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxBroadcastCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxBroadcastCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxDataCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxDataCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxDataCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxDataPollCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxDataPollCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxDataPollCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxBeaconCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxBeaconCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxBeaconCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxBeaconRequestCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxBeaconRequestCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxBeaconRequestCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxOtherCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxOtherCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxAddressFilteredCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxAddressFilteredCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxAddressFilteredCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxDestAddrFilteredCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxDestAddrFilteredCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxDestAddrFilteredCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxDuplicatedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxDuplicatedCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxDuplicatedCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxErrNoFrameCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxErrNoFrameCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxErrNoFrameCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxErrUnknownNeighborCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxErrUnknownNeighborCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxErrUnknownNeighborCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxErrInvalidSrcAddrCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxErrInvalidSrcAddrCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxErrInvalidSrcAddrCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxErrSecCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxErrSecCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxErrSecCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxErrFcsCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxErrFcsCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxErrFcsCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRxErrOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRxErrOtherCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRxErrOtherCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveTimestampWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveTimestampWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveTimestampWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePendingTimestampWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePendingTimestampWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePendingTimestampWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDelayWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDelayWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDelayWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSecurityPolicyWithCompletion:(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSecurityPolicyWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSecurityPolicyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:
(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeChannelPage0MaskWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeChannelPage0MaskWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeChannelPage0MaskWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOperationalDatasetComponentsWithCompletion:
(void (^)(MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)
subscribeAttributeOperationalDatasetComponentsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:
(void (^)(
MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)
readAttributeOperationalDatasetComponentsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:
(void (^)(
MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveNetworkFaultsListWithCompletion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveNetworkFaultsListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveNetworkFaultsListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster WiFi Network Diagnostics
* The Wi-Fi Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node
* to assist a user or Administrative Node in diagnosing potential problems.
*/
@interface MTRBaseClusterWiFiNetworkDiagnostics : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)resetCountsWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBssidWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBssidWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBssidWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSecurityTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSecurityTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSecurityTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeWiFiVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWiFiVersionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWiFiVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeChannelNumberWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeChannelNumberWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeChannelNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRssiWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRssiWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRssiWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBeaconLostCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBeaconLostCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBeaconLostCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBeaconRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBeaconRxCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBeaconRxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePacketMulticastRxCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePacketMulticastRxCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePacketMulticastRxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePacketMulticastTxCountWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePacketMulticastTxCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePacketMulticastTxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePacketUnicastRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePacketUnicastRxCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePacketUnicastRxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePacketUnicastTxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePacketUnicastTxCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePacketUnicastTxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentMaxRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentMaxRateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentMaxRateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Ethernet Network Diagnostics
* The Ethernet Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a
* Node to assist a user or Administrative Node in diagnosing potential problems.
*/
@interface MTRBaseClusterEthernetNetworkDiagnostics : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)resetCountsWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePHYRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePHYRateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePHYRateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFullDuplexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFullDuplexWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFullDuplexWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePacketRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePacketRxCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePacketRxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePacketTxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePacketTxCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePacketTxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTxErrCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTxErrCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTxErrCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCollisionCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCollisionCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCollisionCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCarrierDetectWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCarrierDetectWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCarrierDetectWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTimeSinceResetWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTimeSinceResetWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTimeSinceResetWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Bridged Device Basic
* This Cluster serves two purposes towards a Node communicating with a Bridge: indicate that the functionality on
the Endpoint where it is placed (and its Parts) is bridged from a non-CHIP technology; and provide a centralized
collection of attributes that the Node MAY collect to aid in conveying information regarding the Bridged Device to a user,
such as the vendor name, the model name, or user-assigned name.
*/
@interface MTRBaseClusterBridgedDeviceBasic : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeVendorNameWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeVendorNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeVendorIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeVendorIDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeVendorIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeProductNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeProductNameWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeProductNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNodeLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNodeLabelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNodeLabelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeHardwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeHardwareVersionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeHardwareVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeHardwareVersionStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeHardwareVersionStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeHardwareVersionStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSoftwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSoftwareVersionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSoftwareVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSoftwareVersionStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSoftwareVersionStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSoftwareVersionStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeManufacturingDateWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeManufacturingDateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeManufacturingDateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePartNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePartNumberWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePartNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeProductURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeProductURLWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeProductURLWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeProductLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeProductLabelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeProductLabelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSerialNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSerialNumberWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSerialNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeReachableWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeReachableWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeReachableWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeUniqueIDWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUniqueIDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUniqueIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Switch
* This cluster exposes interactions with a switch device, for the purpose of using those interactions by other devices.
Two types of switch devices are supported: latching switch (e.g. rocker switch) and momentary switch (e.g. push button),
distinguished with their feature flags. Interactions with the switch device are exposed as attributes (for the latching switch) and
as events (for both types of switches). An interested party MAY subscribe to these attributes/events and thus be informed of the
interactions, and can perform actions based on this, for example by sending commands to perform an action such as controlling a
light or a window shade.
*/
@interface MTRBaseClusterSwitch : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfPositionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfPositionsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfPositionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentPositionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentPositionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentPositionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMultiPressMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMultiPressMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMultiPressMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster AdministratorCommissioning
* Commands to trigger a Node to allow a new Administrator to commission it.
*/
@interface MTRBaseClusterAdministratorCommissioning : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)openBasicCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevokeCommissioningParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)revokeCommissioningWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWindowStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWindowStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWindowStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAdminFabricIndexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAdminFabricIndexWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAdminFabricIndexWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAdminVendorIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAdminVendorIdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAdminVendorIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Operational Credentials
* This cluster is used to add or remove Operational Credentials on a Commissionee or Node, as well as manage the associated
* Fabrics.
*/
@interface MTRBaseClusterOperationalCredentials : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)attestationRequestWithParams:(MTROperationalCredentialsClusterAttestationRequestParams *)params
completion:(void (^)(MTROperationalCredentialsClusterAttestationResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)certificateChainRequestWithParams:(MTROperationalCredentialsClusterCertificateChainRequestParams *)params
completion:(void (^)(MTROperationalCredentialsClusterCertificateChainResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)CSRRequestWithParams:(MTROperationalCredentialsClusterCSRRequestParams *)params
completion:(void (^)(MTROperationalCredentialsClusterCSRResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)addNOCWithParams:(MTROperationalCredentialsClusterAddNOCParams *)params
completion:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)updateNOCWithParams:(MTROperationalCredentialsClusterUpdateNOCParams *)params
completion:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)updateFabricLabelWithParams:(MTROperationalCredentialsClusterUpdateFabricLabelParams *)params
completion:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)removeFabricWithParams:(MTROperationalCredentialsClusterRemoveFabricParams *)params
completion:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAddTrustedRootCertificateParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNOCsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNOCsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFabricsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFabricsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSupportedFabricsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSupportedFabricsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSupportedFabricsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCommissionedFabricsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCommissionedFabricsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCommissionedFabricsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTrustedRootCertificatesWithCompletion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTrustedRootCertificatesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTrustedRootCertificatesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentFabricIndexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentFabricIndexWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentFabricIndexWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Group Key Management
* The Group Key Management Cluster is the mechanism by which group keys are managed.
*/
@interface MTRBaseClusterGroupKeyManagement : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)keySetWriteWithParams:(MTRGroupKeyManagementClusterKeySetWriteParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)keySetReadWithParams:(MTRGroupKeyManagementClusterKeySetReadParams *)params
completion:(void (^)(MTRGroupKeyManagementClusterKeySetReadResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)keySetRemoveWithParams:(MTRGroupKeyManagementClusterKeySetRemoveParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)keySetReadAllIndicesWithParams:(MTRGroupKeyManagementClusterKeySetReadAllIndicesParams *)params
completion:(void (^)(MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGroupKeyMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGroupKeyMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGroupTableWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGroupTableWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxGroupsPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxGroupsPerFabricWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxGroupsPerFabricWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxGroupKeysPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxGroupKeysPerFabricWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxGroupKeysPerFabricWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Fixed Label
* The Fixed Label Cluster provides a feature for the device to tag an endpoint with zero or more read only
labels.
*/
@interface MTRBaseClusterFixedLabel : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeLabelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLabelListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLabelListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster User Label
* The User Label Cluster provides a feature to tag an endpoint with zero or more labels.
*/
@interface MTRBaseClusterUserLabel : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeLabelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLabelListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLabelListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Boolean State
* This cluster provides an interface to a boolean state called StateValue.
*/
@interface MTRBaseClusterBooleanState : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeStateValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStateValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStateValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Mode Select
* Attributes and commands for selecting a mode from a list of supported options.
*/
@interface MTRBaseClusterModeSelect : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeStandardNamespaceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStandardNamespaceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStandardNamespaceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Door Lock
* An interface to a generic way to secure a door
*/
@interface MTRBaseClusterDoorLock : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)lockDoorWithParams:(MTRDoorLockClusterLockDoorParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)unlockDoorWithParams:(MTRDoorLockClusterUnlockDoorParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)unlockWithTimeoutWithParams:(MTRDoorLockClusterUnlockWithTimeoutParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)setWeekDayScheduleWithParams:(MTRDoorLockClusterSetWeekDayScheduleParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)getWeekDayScheduleWithParams:(MTRDoorLockClusterGetWeekDayScheduleParams *)params
completion:(void (^)(MTRDoorLockClusterGetWeekDayScheduleResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)clearWeekDayScheduleWithParams:(MTRDoorLockClusterClearWeekDayScheduleParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)setYearDayScheduleWithParams:(MTRDoorLockClusterSetYearDayScheduleParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)getYearDayScheduleWithParams:(MTRDoorLockClusterGetYearDayScheduleParams *)params
completion:(void (^)(MTRDoorLockClusterGetYearDayScheduleResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)clearYearDayScheduleWithParams:(MTRDoorLockClusterClearYearDayScheduleParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)setHolidayScheduleWithParams:(MTRDoorLockClusterSetHolidayScheduleParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)getHolidayScheduleWithParams:(MTRDoorLockClusterGetHolidayScheduleParams *)params
completion:(void (^)(MTRDoorLockClusterGetHolidayScheduleResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)clearHolidayScheduleWithParams:(MTRDoorLockClusterClearHolidayScheduleParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)setUserWithParams:(MTRDoorLockClusterSetUserParams *)params completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)getUserWithParams:(MTRDoorLockClusterGetUserParams *)params
completion:(void (^)(MTRDoorLockClusterGetUserResponseParams * _Nullable data, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)clearUserWithParams:(MTRDoorLockClusterClearUserParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)setCredentialWithParams:(MTRDoorLockClusterSetCredentialParams *)params
completion:(void (^)(MTRDoorLockClusterSetCredentialResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)getCredentialStatusWithParams:(MTRDoorLockClusterGetCredentialStatusParams *)params
completion:(void (^)(MTRDoorLockClusterGetCredentialStatusResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)clearCredentialWithParams:(MTRDoorLockClusterClearCredentialParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLockStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLockStateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLockStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLockTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLockTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLockTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeActuatorEnabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActuatorEnabledWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActuatorEnabledWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDoorStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDoorStateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDoorStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDoorOpenEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDoorOpenEventsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDoorOpenEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDoorClosedEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDoorClosedEventsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDoorClosedEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOpenPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOpenPeriodWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOpenPeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfTotalUsersSupportedWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfTotalUsersSupportedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfTotalUsersSupportedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfPINUsersSupportedWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfPINUsersSupportedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfPINUsersSupportedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfRFIDUsersSupportedWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfRFIDUsersSupportedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfRFIDUsersSupportedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfHolidaySchedulesSupportedWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfHolidaySchedulesSupportedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfHolidaySchedulesSupportedWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxPINCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxPINCodeLengthWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxPINCodeLengthWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinPINCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinPINCodeLengthWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinPINCodeLengthWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxRFIDCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxRFIDCodeLengthWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxRFIDCodeLengthWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinRFIDCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinRFIDCodeLengthWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinRFIDCodeLengthWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCredentialRulesSupportWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCredentialRulesSupportWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCredentialRulesSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfCredentialsSupportedPerUserWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfCredentialsSupportedPerUserWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfCredentialsSupportedPerUserWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLanguageWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLanguageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLanguageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLEDSettingsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLEDSettingsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLEDSettingsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAutoRelockTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAutoRelockTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAutoRelockTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSoundVolumeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSoundVolumeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSoundVolumeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOperatingModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOperatingModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOperatingModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSupportedOperatingModesWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSupportedOperatingModesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSupportedOperatingModesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDefaultConfigurationRegisterWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDefaultConfigurationRegisterWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDefaultConfigurationRegisterWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnableLocalProgrammingWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnableLocalProgrammingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnableLocalProgrammingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnableOneTouchLockingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnableOneTouchLockingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnableOneTouchLockingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnableInsideStatusLEDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnableInsideStatusLEDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnableInsideStatusLEDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnablePrivacyModeButtonWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnablePrivacyModeButtonWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnablePrivacyModeButtonWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLocalProgrammingFeaturesWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLocalProgrammingFeaturesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLocalProgrammingFeaturesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWrongCodeEntryLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWrongCodeEntryLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWrongCodeEntryLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeUserCodeTemporaryDisableTimeWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUserCodeTemporaryDisableTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUserCodeTemporaryDisableTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSendPINOverTheAirWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSendPINOverTheAirWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSendPINOverTheAirWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRequirePINforRemoteOperationWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRequirePINforRemoteOperationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRequirePINforRemoteOperationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeExpiringUserTimeoutWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeExpiringUserTimeoutWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeExpiringUserTimeoutWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Window Covering
* Provides an interface for controlling and adjusting automatic window coverings.
*/
@interface MTRBaseClusterWindowCovering : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)upOrOpenWithParams:(MTRWindowCoveringClusterUpOrOpenParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)upOrOpenWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)downOrCloseWithParams:(MTRWindowCoveringClusterDownOrCloseParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)downOrCloseWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stopMotionWithParams:(MTRWindowCoveringClusterStopMotionParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stopMotionWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)goToLiftValueWithParams:(MTRWindowCoveringClusterGoToLiftValueParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)goToLiftPercentageWithParams:(MTRWindowCoveringClusterGoToLiftPercentageParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)goToTiltValueWithParams:(MTRWindowCoveringClusterGoToTiltValueParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentageParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePhysicalClosedLimitLiftWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePhysicalClosedLimitLiftWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePhysicalClosedLimitLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePhysicalClosedLimitTiltWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePhysicalClosedLimitTiltWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePhysicalClosedLimitTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentPositionLiftWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentPositionLiftWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentPositionLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentPositionTiltWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentPositionTiltWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentPositionTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfActuationsLiftWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfActuationsLiftWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfActuationsLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfActuationsTiltWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfActuationsTiltWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfActuationsTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeConfigStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeConfigStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeConfigStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentPositionLiftPercentageWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentPositionLiftPercentageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentPositionLiftPercentageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentPositionTiltPercentageWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentPositionTiltPercentageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentPositionTiltPercentageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOperationalStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOperationalStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOperationalStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTargetPositionLiftPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTargetPositionLiftPercent100thsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTargetPositionLiftPercent100thsWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTargetPositionTiltPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTargetPositionTiltPercent100thsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTargetPositionTiltPercent100thsWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEndProductTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEndProductTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEndProductTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentPositionLiftPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentPositionLiftPercent100thsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentPositionLiftPercent100thsWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentPositionTiltPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentPositionTiltPercent100thsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentPositionTiltPercent100thsWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstalledOpenLimitLiftWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstalledOpenLimitLiftWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstalledOpenLimitLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstalledClosedLimitLiftWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstalledClosedLimitLiftWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstalledClosedLimitLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstalledOpenLimitTiltWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstalledOpenLimitTiltWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstalledOpenLimitTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstalledClosedLimitTiltWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstalledClosedLimitTiltWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstalledClosedLimitTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSafetyStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSafetyStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSafetyStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Barrier Control
* This cluster provides control of a barrier (garage door).
*/
@interface MTRBaseClusterBarrierControl : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)barrierControlGoToPercentWithParams:(MTRBarrierControlClusterBarrierControlGoToPercentParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStopParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)barrierControlStopWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierMovingStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierMovingStateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierMovingStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierSafetyStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierSafetyStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierSafetyStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierCapabilitiesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierCapabilitiesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierCapabilitiesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierOpenEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierOpenEventsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierOpenEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierCloseEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierCloseEventsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierCloseEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierCommandOpenEventsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierCommandOpenEventsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierCommandOpenEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierCommandCloseEventsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierCommandCloseEventsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierCommandCloseEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierOpenPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierOpenPeriodWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierOpenPeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierClosePeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierClosePeriodWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierClosePeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBarrierPositionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBarrierPositionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBarrierPositionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Pump Configuration and Control
* An interface for configuring and controlling pumps.
*/
@interface MTRBaseClusterPumpConfigurationAndControl : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxPressureWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxSpeedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxFlowWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxFlowWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinConstPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinConstPressureWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinConstPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxConstPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxConstPressureWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxConstPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinCompPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinCompPressureWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinCompPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxCompPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxCompPressureWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxCompPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinConstSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinConstSpeedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinConstSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxConstSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxConstSpeedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxConstSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinConstFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinConstFlowWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinConstFlowWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxConstFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxConstFlowWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxConstFlowWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinConstTempWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinConstTempWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinConstTempWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxConstTempWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxConstTempWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxConstTempWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePumpStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePumpStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePumpStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEffectiveOperationModeWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEffectiveOperationModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEffectiveOperationModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeEffectiveControlModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEffectiveControlModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEffectiveControlModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCapacityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCapacityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSpeedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLifetimeRunningHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLifetimeRunningHoursWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLifetimeRunningHoursWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLifetimeEnergyConsumedWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLifetimeEnergyConsumedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLifetimeEnergyConsumedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOperationModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOperationModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOperationModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeControlModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeControlModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeControlModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Thermostat
* An interface for configuring and controlling the functionality of a thermostat.
*/
@interface MTRBaseClusterThermostat : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)setpointRaiseLowerWithParams:(MTRThermostatClusterSetpointRaiseLowerParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)setWeeklyScheduleWithParams:(MTRThermostatClusterSetWeeklyScheduleParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)getWeeklyScheduleWithParams:(MTRThermostatClusterGetWeeklyScheduleParams *)params
completion:(void (^)(MTRThermostatClusterGetWeeklyScheduleResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklyScheduleParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)clearWeeklyScheduleWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLocalTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLocalTemperatureWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLocalTemperatureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOutdoorTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOutdoorTemperatureWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOutdoorTemperatureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupancyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupancyWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupancyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAbsMinHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAbsMinHeatSetpointLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAbsMinHeatSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAbsMaxHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAbsMaxHeatSetpointLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAbsMaxHeatSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAbsMinCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAbsMinCoolSetpointLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAbsMinCoolSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAbsMaxCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAbsMaxCoolSetpointLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAbsMaxCoolSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePICoolingDemandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePICoolingDemandWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePICoolingDemandWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePIHeatingDemandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePIHeatingDemandWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePIHeatingDemandWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeHVACSystemTypeConfigurationWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeHVACSystemTypeConfigurationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeHVACSystemTypeConfigurationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLocalTemperatureCalibrationWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLocalTemperatureCalibrationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLocalTemperatureCalibrationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupiedCoolingSetpointWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupiedCoolingSetpointWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupiedCoolingSetpointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupiedHeatingSetpointWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupiedHeatingSetpointWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupiedHeatingSetpointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeUnoccupiedCoolingSetpointWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUnoccupiedCoolingSetpointWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUnoccupiedCoolingSetpointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeUnoccupiedHeatingSetpointWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUnoccupiedHeatingSetpointWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUnoccupiedHeatingSetpointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinHeatSetpointLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinHeatSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxHeatSetpointLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxHeatSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinCoolSetpointLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinCoolSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxCoolSetpointLimitWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxCoolSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinSetpointDeadBandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinSetpointDeadBandWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinSetpointDeadBandWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRemoteSensingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRemoteSensingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRemoteSensingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeControlSequenceOfOperationWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeControlSequenceOfOperationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeControlSequenceOfOperationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSystemModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSystemModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSystemModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeThermostatRunningModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeThermostatRunningModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeThermostatRunningModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeStartOfWeekWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStartOfWeekWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStartOfWeekWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfWeeklyTransitionsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfWeeklyTransitionsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfWeeklyTransitionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfDailyTransitionsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfDailyTransitionsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfDailyTransitionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTemperatureSetpointHoldWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTemperatureSetpointHoldWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTemperatureSetpointHoldWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTemperatureSetpointHoldDurationWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTemperatureSetpointHoldDurationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTemperatureSetpointHoldDurationWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeThermostatProgrammingOperationModeWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeThermostatProgrammingOperationModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeThermostatProgrammingOperationModeWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeThermostatRunningStateWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeThermostatRunningStateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeThermostatRunningStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSetpointChangeSourceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSetpointChangeSourceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSetpointChangeSourceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSetpointChangeAmountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSetpointChangeAmountWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSetpointChangeAmountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeSetpointChangeSourceTimestampWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSetpointChangeSourceTimestampWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSetpointChangeSourceTimestampWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupiedSetbackWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupiedSetbackWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupiedSetbackWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupiedSetbackMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupiedSetbackMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupiedSetbackMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupiedSetbackMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupiedSetbackMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupiedSetbackMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeUnoccupiedSetbackWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUnoccupiedSetbackWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUnoccupiedSetbackWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeUnoccupiedSetbackMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUnoccupiedSetbackMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUnoccupiedSetbackMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeUnoccupiedSetbackMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUnoccupiedSetbackMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUnoccupiedSetbackMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeEmergencyHeatDeltaWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEmergencyHeatDeltaWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEmergencyHeatDeltaWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeACTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeACCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACCapacityWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACCapacityWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACCapacityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACCapacityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeACRefrigerantTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACRefrigerantTypeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACRefrigerantTypeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACRefrigerantTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACRefrigerantTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeACCompressorTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACCompressorTypeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACCompressorTypeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACCompressorTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACCompressorTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeACErrorCodeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACErrorCodeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACErrorCodeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACErrorCodeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACErrorCodeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeACLouverPositionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACLouverPositionWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACLouverPositionWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACLouverPositionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACLouverPositionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeACCoilTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACCoilTemperatureWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACCoilTemperatureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeACCapacityformatWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACCapacityformatWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeACCapacityformatWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeACCapacityformatWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeACCapacityformatWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Fan Control
* An interface for controlling a fan in a heating/cooling system.
*/
@interface MTRBaseClusterFanControl : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeFanModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFanModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFanModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFanModeSequenceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeFanModeSequenceWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeFanModeSequenceWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFanModeSequenceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFanModeSequenceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePercentSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributePercentSettingWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePercentSettingWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePercentSettingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePercentSettingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePercentCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePercentCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePercentCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSpeedMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSpeedMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSpeedMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSpeedSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSpeedSettingWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSpeedSettingWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSpeedSettingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSpeedSettingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSpeedCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSpeedCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSpeedCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRockSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRockSupportWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRockSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRockSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRockSettingWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRockSettingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRockSettingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRockSettingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeWindSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWindSupportWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWindSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeWindSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWindSettingWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWindSettingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWindSettingWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWindSettingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Thermostat User Interface Configuration
* An interface for configuring the user interface of a thermostat (which may be remote from the thermostat).
*/
@interface MTRBaseClusterThermostatUserInterfaceConfiguration : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeTemperatureDisplayModeWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTemperatureDisplayModeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTemperatureDisplayModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTemperatureDisplayModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTemperatureDisplayModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeKeypadLockoutWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeKeypadLockoutWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeKeypadLockoutWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeKeypadLockoutWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeKeypadLockoutWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeScheduleProgrammingVisibilityWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeScheduleProgrammingVisibilityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeScheduleProgrammingVisibilityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Color Control
* Attributes and commands for controlling the color properties of a color-capable light.
*/
@interface MTRBaseClusterColorControl : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)moveToHueWithParams:(MTRColorControlClusterMoveToHueParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveHueWithParams:(MTRColorControlClusterMoveHueParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stepHueWithParams:(MTRColorControlClusterStepHueParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveToSaturationWithParams:(MTRColorControlClusterMoveToSaturationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveSaturationWithParams:(MTRColorControlClusterMoveSaturationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stepSaturationWithParams:(MTRColorControlClusterStepSaturationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveToHueAndSaturationWithParams:(MTRColorControlClusterMoveToHueAndSaturationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveToColorWithParams:(MTRColorControlClusterMoveToColorParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveColorWithParams:(MTRColorControlClusterMoveColorParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stepColorWithParams:(MTRColorControlClusterStepColorParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveToColorTemperatureWithParams:(MTRColorControlClusterMoveToColorTemperatureParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)enhancedMoveToHueWithParams:(MTRColorControlClusterEnhancedMoveToHueParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)enhancedMoveHueWithParams:(MTRColorControlClusterEnhancedMoveHueParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)enhancedStepHueWithParams:(MTRColorControlClusterEnhancedStepHueParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)enhancedMoveToHueAndSaturationWithParams:(MTRColorControlClusterEnhancedMoveToHueAndSaturationParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)colorLoopSetWithParams:(MTRColorControlClusterColorLoopSetParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stopMoveStepWithParams:(MTRColorControlClusterStopMoveStepParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)moveColorTemperatureWithParams:(MTRColorControlClusterMoveColorTemperatureParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatureParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentHueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentHueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentHueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentSaturationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentSaturationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentSaturationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRemainingTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRemainingTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRemainingTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentXWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentYWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDriftCompensationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDriftCompensationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDriftCompensationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCompensationTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCompensationTextWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCompensationTextWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorTemperatureMiredsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorTemperatureMiredsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorTemperatureMiredsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOptionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOptionsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOptionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNumberOfPrimariesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNumberOfPrimariesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNumberOfPrimariesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary1XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary1XWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary1XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary1YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary1YWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary1YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary1IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary1IntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary1IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary2XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary2XWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary2XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary2YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary2YWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary2YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary2IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary2IntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary2IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary3XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary3XWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary3XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary3YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary3YWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary3YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary3IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary3IntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary3IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary4XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary4XWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary4XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary4YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary4YWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary4YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary4IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary4IntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary4IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary5XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary5XWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary5XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary5YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary5YWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary5YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary5IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary5IntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary5IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary6XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary6XWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary6XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary6YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary6YWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary6YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePrimary6IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePrimary6IntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePrimary6IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeWhitePointXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWhitePointXWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWhitePointXWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWhitePointXWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWhitePointXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeWhitePointYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWhitePointYWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWhitePointYWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWhitePointYWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWhitePointYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointRXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointRXWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointRXWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointRXWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointRXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointRYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointRYWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointRYWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointRYWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointRYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointRIntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointRIntensityWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointRIntensityWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointRIntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointRIntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointGXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointGXWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointGXWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointGXWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointGXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointGYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointGYWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointGYWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointGYWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointGYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointGIntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointGIntensityWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointGIntensityWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointGIntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointGIntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointBXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointBXWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointBXWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointBXWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointBXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointBYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointBYWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointBYWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointBYWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointBYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorPointBIntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointBIntensityWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeColorPointBIntensityWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorPointBIntensityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorPointBIntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnhancedCurrentHueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnhancedCurrentHueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnhancedCurrentHueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnhancedColorModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnhancedColorModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnhancedColorModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorLoopActiveWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorLoopActiveWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorLoopActiveWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorLoopDirectionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorLoopDirectionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorLoopDirectionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorLoopTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorLoopTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorLoopTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorLoopStartEnhancedHueWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorLoopStartEnhancedHueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorLoopStartEnhancedHueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorLoopStoredEnhancedHueWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorLoopStoredEnhancedHueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorLoopStoredEnhancedHueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorCapabilitiesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorCapabilitiesWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorCapabilitiesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorTempPhysicalMinMiredsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorTempPhysicalMinMiredsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorTempPhysicalMinMiredsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeColorTempPhysicalMaxMiredsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeColorTempPhysicalMaxMiredsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeColorTempPhysicalMaxMiredsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCoupleColorTempToLevelMinMiredsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCoupleColorTempToLevelMinMiredsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCoupleColorTempToLevelMinMiredsWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeStartUpColorTemperatureMiredsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStartUpColorTemperatureMiredsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStartUpColorTemperatureMiredsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Ballast Configuration
* Attributes and commands for configuring a lighting ballast.
*/
@interface MTRBaseClusterBallastConfiguration : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributePhysicalMinLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePhysicalMinLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePhysicalMinLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePhysicalMaxLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePhysicalMaxLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePhysicalMaxLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBallastStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBallastStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBallastStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMinLevelWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMinLevelWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMaxLevelWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeMaxLevelWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxLevelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeIntrinsicBalanceFactorWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeIntrinsicBalanceFactorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeIntrinsicBalanceFactorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBallastFactorAdjustmentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBallastFactorAdjustmentWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBallastFactorAdjustmentWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBallastFactorAdjustmentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBallastFactorAdjustmentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLampQuantityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLampQuantityWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLampQuantityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLampTypeWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampTypeWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampTypeWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLampTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLampTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLampManufacturerWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampManufacturerWithValue:(NSString * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampManufacturerWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLampManufacturerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLampManufacturerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLampRatedHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampRatedHoursWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampRatedHoursWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLampRatedHoursWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLampRatedHoursWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLampBurnHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampBurnHoursWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampBurnHoursWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLampBurnHoursWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLampBurnHoursWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLampAlarmModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampAlarmModeWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampAlarmModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLampAlarmModeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLampAlarmModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLampBurnHoursTripPointWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampBurnHoursTripPointWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLampBurnHoursTripPointWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLampBurnHoursTripPointWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLampBurnHoursTripPointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Illuminance Measurement
* Attributes and commands for configuring the measurement of illuminance, and reporting illuminance measurements.
*/
@interface MTRBaseClusterIlluminanceMeasurement : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLightSensorTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLightSensorTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLightSensorTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Temperature Measurement
* Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements.
*/
@interface MTRBaseClusterTemperatureMeasurement : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Pressure Measurement
* Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements.
*/
@interface MTRBaseClusterPressureMeasurement : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeScaledValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeScaledValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeScaledValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinScaledValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinScaledValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinScaledValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxScaledValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxScaledValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxScaledValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeScaledToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeScaledToleranceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeScaledToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeScaleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeScaleWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeScaleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Flow Measurement
* Attributes and commands for configuring the measurement of flow, and reporting flow measurements.
*/
@interface MTRBaseClusterFlowMeasurement : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Relative Humidity Measurement
* Attributes and commands for configuring the measurement of relative humidity, and reporting relative humidity measurements.
*/
@interface MTRBaseClusterRelativeHumidityMeasurement : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Occupancy Sensing
* Attributes and commands for configuring occupancy sensing, and reporting occupancy status.
*/
@interface MTRBaseClusterOccupancySensing : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupancyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupancyWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupancyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupancySensorTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupancySensorTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupancySensorTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOccupancySensorTypeBitmapWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOccupancySensorTypeBitmapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOccupancySensorTypeBitmapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePIROccupiedToUnoccupiedDelayWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePIROccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePIROccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePIROccupiedToUnoccupiedDelayWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePIROccupiedToUnoccupiedDelayWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePIRUnoccupiedToOccupiedDelayWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePIRUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePIRUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePIRUnoccupiedToOccupiedDelayWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePIRUnoccupiedToOccupiedDelayWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePIRUnoccupiedToOccupiedThresholdWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePIRUnoccupiedToOccupiedThresholdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePIRUnoccupiedToOccupiedThresholdWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUltrasonicOccupiedToUnoccupiedDelayWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Wake on LAN
* This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol.
*/
MTR_NEWLY_AVAILABLE
@interface MTRBaseClusterWakeOnLAN : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeMACAddressWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMACAddressWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMACAddressWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Channel
* This cluster provides an interface for controlling the current Channel on a device.
*/
@interface MTRBaseClusterChannel : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)changeChannelWithParams:(MTRChannelClusterChangeChannelParams *)params
completion:(void (^)(MTRChannelClusterChangeChannelResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)changeChannelByNumberWithParams:(MTRChannelClusterChangeChannelByNumberParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeChannelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeChannelListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeChannelListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLineupWithCompletion:(void (^)(MTRChannelClusterLineupInfo * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLineupWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRChannelClusterLineupInfo * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLineupWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(MTRChannelClusterLineupInfo * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentChannelWithCompletion:(void (^)(MTRChannelClusterChannelInfo * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentChannelWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRChannelClusterChannelInfo * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentChannelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(MTRChannelClusterChannelInfo * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Target Navigator
* This cluster provides an interface for UX navigation within a set of targets on a device or endpoint.
*/
@interface MTRBaseClusterTargetNavigator : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams *)params
completion:(void (^)(MTRTargetNavigatorClusterNavigateTargetResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTargetListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTargetListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTargetListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentTargetWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentTargetWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentTargetWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Media Playback
* This cluster provides an interface for controlling Media Playback (PLAY, PAUSE, etc) on a media device such as a TV or
* Speaker.
*/
@interface MTRBaseClusterMediaPlayback : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)playWithParams:(MTRMediaPlaybackClusterPlayParams * _Nullable)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)playWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)pauseWithParams:(MTRMediaPlaybackClusterPauseParams * _Nullable)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)pauseWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)stopPlaybackWithParams:(MTRMediaPlaybackClusterStopPlaybackParams * _Nullable)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)stopPlaybackWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)startOverWithParams:(MTRMediaPlaybackClusterStartOverParams * _Nullable)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)startOverWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)previousWithParams:(MTRMediaPlaybackClusterPreviousParams * _Nullable)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)previousWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)nextWithParams:(MTRMediaPlaybackClusterNextParams * _Nullable)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)nextWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)rewindWithParams:(MTRMediaPlaybackClusterRewindParams * _Nullable)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)rewindWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)fastForwardWithParams:(MTRMediaPlaybackClusterFastForwardParams * _Nullable)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)fastForwardWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)skipForwardWithParams:(MTRMediaPlaybackClusterSkipForwardParams *)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)skipBackwardWithParams:(MTRMediaPlaybackClusterSkipBackwardParams *)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params
completion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentStateWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeStartTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStartTimeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStartTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDurationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDurationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSampledPositionWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSampledPositionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSampledPositionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePlaybackSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePlaybackSpeedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePlaybackSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSeekRangeEndWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSeekRangeEndWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSeekRangeEndWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSeekRangeStartWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSeekRangeStartWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSeekRangeStartWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Media Input
* This cluster provides an interface for controlling the Input Selector on a media device such as a TV.
*/
@interface MTRBaseClusterMediaInput : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)selectInputWithParams:(MTRMediaInputClusterSelectInputParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)showInputStatusWithParams:(MTRMediaInputClusterShowInputStatusParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)showInputStatusWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)hideInputStatusWithParams:(MTRMediaInputClusterHideInputStatusParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)hideInputStatusWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeInputListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInputListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInputListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentInputWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentInputWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentInputWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Low Power
* This cluster provides an interface for managing low power mode on a device.
*/
@interface MTRBaseClusterLowPower : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)sleepWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Keypad Input
* This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT.
*/
@interface MTRBaseClusterKeypadInput : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params
completion:(void (^)(MTRKeypadInputClusterSendKeyResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Content Launcher
* This cluster provides an interface for launching content on a media player device such as a TV or Speaker.
*/
@interface MTRBaseClusterContentLauncher : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)launchContentWithParams:(MTRContentLauncherClusterLaunchContentParams *)params
completion:(void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)launchURLWithParams:(MTRContentLauncherClusterLaunchURLParams *)params
completion:(void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptHeaderWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptHeaderWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptHeaderWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeSupportedStreamingProtocolsWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeSupportedStreamingProtocolsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeSupportedStreamingProtocolsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Audio Output
* This cluster provides an interface for controlling the Output on a media device such as a TV.
*/
@interface MTRBaseClusterAudioOutput : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)selectOutputWithParams:(MTRAudioOutputClusterSelectOutputParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeOutputListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOutputListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOutputListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentOutputWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentOutputWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentOutputWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Application Launcher
* This cluster provides an interface for launching content on a media player device such as a TV or Speaker.
*/
@interface MTRBaseClusterApplicationLauncher : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)launchAppWithParams:(MTRApplicationLauncherClusterLaunchAppParams *)params
completion:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)stopAppWithParams:(MTRApplicationLauncherClusterStopAppParams *)params
completion:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)hideAppWithParams:(MTRApplicationLauncherClusterHideAppParams *)params
completion:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCatalogListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCatalogListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCatalogListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentAppWithCompletion:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeCurrentAppWithValue:(MTRApplicationLauncherClusterApplicationEP * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeCurrentAppWithValue:(MTRApplicationLauncherClusterApplicationEP * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentAppWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentAppWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Application Basic
* This cluster provides information about an application running on a TV or media player device which is represented as an
* endpoint.
*/
@interface MTRBaseClusterApplicationBasic : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeVendorNameWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeVendorNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeVendorIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeVendorIDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeVendorIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeApplicationNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeApplicationNameWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeApplicationNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeProductIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeProductIDWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeProductIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeApplicationWithCompletion:(void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeApplicationWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeApplicationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:
(void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStatusWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeApplicationVersionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeApplicationVersionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeApplicationVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAllowedVendorListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAllowedVendorListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAllowedVendorListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Account Login
* This cluster provides commands that facilitate user account login on a Content App or a node. For example, a Content App
* running on a Video Player device, which is represented as an endpoint (see [TV Architecture]), can use this cluster to help make
* the user account on the Content App match the user account on the Client.
*/
@interface MTRBaseClusterAccountLogin : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)getSetupPINWithParams:(MTRAccountLoginClusterGetSetupPINParams *)params
completion:(void (^)(MTRAccountLoginClusterGetSetupPINResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)loginWithParams:(MTRAccountLoginClusterLoginParams *)params completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)logoutWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Electrical Measurement
* Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need
* to provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster..
*/
@interface MTRBaseClusterElectricalMeasurement : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)getProfileInfoCommandWithParams:(MTRElectricalMeasurementClusterGetProfileInfoCommandParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)getProfileInfoCommandWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams *)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasurementTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasurementTypeWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasurementTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcVoltageMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcVoltageMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcVoltageMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcVoltageMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcVoltageMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcVoltageMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcCurrentMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcCurrentMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcCurrentMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcCurrentMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcCurrentMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcCurrentMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcPowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcPowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcPowerMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcPowerMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcPowerMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcPowerMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcPowerMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcPowerMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcVoltageMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcVoltageMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcVoltageMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcVoltageDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcVoltageDivisorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcVoltageDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcCurrentMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcCurrentMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcCurrentMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcCurrentDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcCurrentDivisorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcCurrentDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcPowerMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcPowerMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcPowerMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeDcPowerDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeDcPowerDivisorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeDcPowerDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcFrequencyWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcFrequencyMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcFrequencyMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcFrequencyMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcFrequencyMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcFrequencyMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcFrequencyMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNeutralCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNeutralCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNeutralCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeTotalActivePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTotalActivePowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTotalActivePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTotalReactivePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTotalReactivePowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTotalReactivePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTotalApparentPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTotalApparentPowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTotalApparentPowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasured1stHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasured1stHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasured1stHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasured3rdHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasured3rdHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasured3rdHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasured5thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasured5thHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasured5thHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasured7thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasured7thHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasured7thHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasured9thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasured9thHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasured9thHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasured11thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasured11thHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasured11thHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredPhase1stHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredPhase1stHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredPhase1stHarmonicCurrentWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredPhase3rdHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredPhase3rdHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredPhase3rdHarmonicCurrentWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredPhase5thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredPhase5thHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredPhase5thHarmonicCurrentWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredPhase7thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredPhase7thHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredPhase7thHarmonicCurrentWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredPhase9thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredPhase9thHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredPhase9thHarmonicCurrentWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeMeasuredPhase11thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeMeasuredPhase11thHarmonicCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeMeasuredPhase11thHarmonicCurrentWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcFrequencyMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcFrequencyMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcFrequencyMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcFrequencyDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcFrequencyDivisorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcFrequencyDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePowerMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePowerMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePowerMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePowerDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePowerDivisorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePowerDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeHarmonicCurrentMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeHarmonicCurrentMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeHarmonicCurrentMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePhaseHarmonicCurrentMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePhaseHarmonicCurrentMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributePhaseHarmonicCurrentMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstantaneousVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstantaneousVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstantaneousVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstantaneousLineCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstantaneousLineCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstantaneousLineCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstantaneousActiveCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstantaneousActiveCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstantaneousActiveCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstantaneousReactiveCurrentWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstantaneousReactiveCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstantaneousReactiveCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInstantaneousPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInstantaneousPowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInstantaneousPowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerMinWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerMaxWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeReactivePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeReactivePowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeReactivePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeApparentPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeApparentPowerWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeApparentPowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributePowerFactorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePowerFactorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePowerFactorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsVoltageMeasurementPeriodWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsVoltageMeasurementPeriodWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsUnderVoltageCounterWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsUnderVoltageCounterWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsUnderVoltageCounterWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsExtremeOverVoltagePeriodWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsExtremeOverVoltagePeriodWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsExtremeOverVoltagePeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsExtremeUnderVoltagePeriodWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsExtremeUnderVoltagePeriodWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsExtremeUnderVoltagePeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageSagPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageSagPeriodWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageSagPeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageSwellPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageSwellPeriodWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageSwellPeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcVoltageMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcVoltageMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcVoltageMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcVoltageDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcVoltageDivisorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcVoltageDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcCurrentMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcCurrentMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcCurrentMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcCurrentDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcCurrentDivisorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcCurrentDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcPowerMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcPowerMultiplierWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcPowerMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcPowerDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcPowerDivisorWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcPowerDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOverloadAlarmsMaskWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOverloadAlarmsMaskWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOverloadAlarmsMaskWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeVoltageOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeVoltageOverloadWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeVoltageOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeCurrentOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCurrentOverloadWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCurrentOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcOverloadAlarmsMaskWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcOverloadAlarmsMaskWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcOverloadAlarmsMaskWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcVoltageOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcVoltageOverloadWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcVoltageOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcCurrentOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcCurrentOverloadWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcCurrentOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcActivePowerOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcActivePowerOverloadWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcActivePowerOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcReactivePowerOverloadWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcReactivePowerOverloadWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcReactivePowerOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsOverVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsOverVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsOverVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsUnderVoltageWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsUnderVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsUnderVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsExtremeOverVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsExtremeOverVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsExtremeOverVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsExtremeUnderVoltageWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsExtremeUnderVoltageWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsExtremeUnderVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageSagWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageSagWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageSagWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageSwellWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageSwellWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageSwellWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLineCurrentPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLineCurrentPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLineCurrentPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveCurrentPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveCurrentPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveCurrentPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeReactiveCurrentPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeReactiveCurrentPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeReactiveCurrentPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltagePhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltagePhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltagePhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageMinPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageMinPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageMinPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageMaxPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageMaxPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageMaxPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentMinPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentMinPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentMinPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentMaxPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentMaxPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentMaxPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerMinPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerMinPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerMinPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerMaxPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerMaxPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerMaxPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeReactivePowerPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeReactivePowerPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeReactivePowerPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeApparentPowerPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeApparentPowerPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeApparentPowerPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePowerFactorPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePowerFactorPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePowerFactorPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsOverVoltageCounterPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsOverVoltageCounterPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsOverVoltageCounterPhaseBWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsUnderVoltageCounterPhaseBWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsUnderVoltageCounterPhaseBWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageSagPeriodPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageSagPeriodPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageSagPeriodPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageSwellPeriodPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageSwellPeriodPhaseBWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageSwellPeriodPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLineCurrentPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLineCurrentPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLineCurrentPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActiveCurrentPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActiveCurrentPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActiveCurrentPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeReactiveCurrentPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeReactiveCurrentPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeReactiveCurrentPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltagePhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltagePhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltagePhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageMinPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageMinPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageMinPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageMaxPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageMaxPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageMaxPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentMinPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentMinPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentMinPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsCurrentMaxPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsCurrentMaxPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsCurrentMaxPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerMinPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerMinPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerMinPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeActivePowerMaxPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeActivePowerMaxPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeActivePowerMaxPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeReactivePowerPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeReactivePowerPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeReactivePowerPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeApparentPowerPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeApparentPowerPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeApparentPowerPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributePowerFactorPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributePowerFactorPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributePowerFactorPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsOverVoltageCounterPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsOverVoltageCounterPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsOverVoltageCounterPhaseCWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeAverageRmsUnderVoltageCounterPhaseCWithCompletion:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAverageRmsUnderVoltageCounterPhaseCWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageSagPeriodPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageSagPeriodPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageSagPeriodPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRmsVoltageSwellPeriodPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRmsVoltageSwellPeriodPhaseCWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRmsVoltageSwellPeriodPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
/**
* Cluster Unit Testing
* The Test Cluster is meant to validate the generated code
*/
MTR_NEWLY_AVAILABLE
@interface MTRBaseClusterUnitTesting : MTRCluster
- (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device
endpointID:(NSNumber *)endpointID
queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER MTR_NEWLY_AVAILABLE;
- (void)testWithParams:(MTRUnitTestingClusterTestParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)testWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)testNotHandledWithParams:(MTRUnitTestingClusterTestNotHandledParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)testNotHandledWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)testSpecificWithParams:(MTRUnitTestingClusterTestSpecificParams * _Nullable)params
completion:(void (^)(MTRUnitTestingClusterTestSpecificResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testSpecificWithCompletion:(void (^)(MTRUnitTestingClusterTestSpecificResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testUnknownCommandWithParams:(MTRUnitTestingClusterTestUnknownCommandParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)testUnknownCommandWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)testAddArgumentsWithParams:(MTRUnitTestingClusterTestAddArgumentsParams *)params
completion:(void (^)(MTRUnitTestingClusterTestAddArgumentsResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testSimpleArgumentRequestWithParams:(MTRUnitTestingClusterTestSimpleArgumentRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterTestSimpleArgumentResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testStructArrayArgumentRequestWithParams:(MTRUnitTestingClusterTestStructArrayArgumentRequestParams *)params
completion:
(void (^)(MTRUnitTestingClusterTestStructArrayArgumentResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testStructArgumentRequestWithParams:(MTRUnitTestingClusterTestStructArgumentRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testNestedStructArgumentRequestWithParams:(MTRUnitTestingClusterTestNestedStructArgumentRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testListStructArgumentRequestWithParams:(MTRUnitTestingClusterTestListStructArgumentRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testListInt8UArgumentRequestWithParams:(MTRUnitTestingClusterTestListInt8UArgumentRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testNestedStructListArgumentRequestWithParams:(MTRUnitTestingClusterTestNestedStructListArgumentRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testListNestedStructListArgumentRequestWithParams:
(MTRUnitTestingClusterTestListNestedStructListArgumentRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testListInt8UReverseRequestWithParams:(MTRUnitTestingClusterTestListInt8UReverseRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterTestListInt8UReverseResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testEnumsRequestWithParams:(MTRUnitTestingClusterTestEnumsRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterTestEnumsResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testNullableOptionalRequestWithParams:(MTRUnitTestingClusterTestNullableOptionalRequestParams * _Nullable)params
completion:(void (^)(MTRUnitTestingClusterTestNullableOptionalResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)testComplexNullableOptionalRequestWithParams:(MTRUnitTestingClusterTestComplexNullableOptionalRequestParams *)params
completion:
(void (^)(
MTRUnitTestingClusterTestComplexNullableOptionalResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)simpleStructEchoRequestWithParams:(MTRUnitTestingClusterSimpleStructEchoRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterSimpleStructResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)timedInvokeRequestWithParams:(MTRUnitTestingClusterTimedInvokeRequestParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)timedInvokeRequestWithCompletion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)testSimpleOptionalArgumentRequestWithParams:(MTRUnitTestingClusterTestSimpleOptionalArgumentRequestParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)testEmitTestEventRequestWithParams:(MTRUnitTestingClusterTestEmitTestEventRequestParams *)params
completion:(void (^)(MTRUnitTestingClusterTestEmitTestEventResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)
testEmitTestFabricScopedEventRequestWithParams:(MTRUnitTestingClusterTestEmitTestFabricScopedEventRequestParams *)params
completion:
(void (^)(
MTRUnitTestingClusterTestEmitTestFabricScopedEventResponseParams * _Nullable data,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBooleanWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBitmap8WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBitmap8WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBitmap8WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBitmap8WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBitmap8WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBitmap16WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBitmap16WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBitmap16WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBitmap16WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBitmap16WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBitmap32WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBitmap32WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBitmap32WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBitmap32WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBitmap32WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeBitmap64WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBitmap64WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeBitmap64WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeBitmap64WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeBitmap64WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt8uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt8uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt8uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt16uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt16uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt16uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt16uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt16uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt24uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt24uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt24uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt24uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt24uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt32uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt32uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt32uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt32uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt32uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt40uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt40uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt40uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt40uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt40uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt48uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt48uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt48uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt48uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt48uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt56uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt56uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt56uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt56uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt56uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt64uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt64uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt64uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt64uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt64uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt8sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt8sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt8sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt8sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt8sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt16sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt16sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt16sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt16sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt16sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt24sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt24sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt24sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt24sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt24sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt32sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt32sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt32sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt32sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt32sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt40sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt40sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt40sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt40sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt40sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt48sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt48sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt48sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt48sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt48sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt56sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt56sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt56sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt56sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt56sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeInt64sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt64sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeInt64sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeInt64sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeInt64sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnum8WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnum8WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnum8WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnum8WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnum8WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnum16WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnum16WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnum16WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnum16WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnum16WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFloatSingleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeFloatSingleWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeFloatSingleWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFloatSingleWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFloatSingleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFloatDoubleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeFloatDoubleWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeFloatDoubleWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFloatDoubleWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFloatDoubleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeOctetStringWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOctetStringWithValue:(NSData * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeOctetStringWithValue:(NSData * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeOctetStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeListInt8uWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListInt8uWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListInt8uWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeListInt8uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeListInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeListOctetStringWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListOctetStringWithValue:(NSArray * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListOctetStringWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeListOctetStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeListOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeListStructOctetStringWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListStructOctetStringWithValue:(NSArray * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListStructOctetStringWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeListStructOctetStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeListStructOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeLongOctetStringWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLongOctetStringWithValue:(NSData * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLongOctetStringWithValue:(NSData * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLongOctetStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLongOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeCharStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeCharStringWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeCharStringWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeCharStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeCharStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeLongCharStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLongCharStringWithValue:(NSString * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeLongCharStringWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeLongCharStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeLongCharStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEpochUsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEpochUsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEpochUsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEpochUsWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEpochUsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEpochSWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEpochSWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEpochSWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEpochSWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEpochSWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeVendorIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeVendorIdWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeVendorIdWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeVendorIdWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeVendorIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeListNullablesAndOptionalsStructWithCompletion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeListNullablesAndOptionalsStructWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeListNullablesAndOptionalsStructWithClusterStateCache:
(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeEnumAttrWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnumAttrWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeEnumAttrWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeEnumAttrWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeEnumAttrWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeStructAttrWithCompletion:(void (^)(MTRUnitTestingClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStructAttrWithValue:(MTRUnitTestingClusterSimpleStruct * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeStructAttrWithValue:(MTRUnitTestingClusterSimpleStruct * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeStructAttrWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRUnitTestingClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeStructAttrWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(MTRUnitTestingClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRangeRestrictedInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRangeRestrictedInt8uWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRangeRestrictedInt8uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRangeRestrictedInt8uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRangeRestrictedInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRangeRestrictedInt8sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRangeRestrictedInt8sWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRangeRestrictedInt8sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRangeRestrictedInt8sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRangeRestrictedInt8sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRangeRestrictedInt16uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRangeRestrictedInt16uWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRangeRestrictedInt16uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRangeRestrictedInt16uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRangeRestrictedInt16uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeRangeRestrictedInt16sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRangeRestrictedInt16sWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeRangeRestrictedInt16sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeRangeRestrictedInt16sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeRangeRestrictedInt16sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeListLongOctetStringWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeListLongOctetStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeListLongOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeListFabricScopedWithParams:(MTRReadParams * _Nullable)params
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListFabricScopedWithValue:(NSArray * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeListFabricScopedWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeListFabricScopedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeListFabricScopedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeTimedWriteBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTimedWriteBooleanWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeTimedWriteBooleanWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeTimedWriteBooleanWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeTimedWriteBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneralErrorBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeGeneralErrorBooleanWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeGeneralErrorBooleanWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneralErrorBooleanWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneralErrorBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterErrorBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeClusterErrorBooleanWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeClusterErrorBooleanWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterErrorBooleanWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterErrorBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeUnsupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUnsupportedWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeUnsupportedWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeUnsupportedWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeUnsupportedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBooleanWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBooleanWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableBooleanWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableBitmap8WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBitmap8WithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBitmap8WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableBitmap8WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableBitmap8WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableBitmap16WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBitmap16WithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBitmap16WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableBitmap16WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableBitmap16WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableBitmap32WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBitmap32WithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBitmap32WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableBitmap32WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableBitmap32WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableBitmap64WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBitmap64WithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableBitmap64WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableBitmap64WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableBitmap64WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt8uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt8uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt8uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt16uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt16uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt16uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt16uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt16uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt24uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt24uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt24uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt24uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt24uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt32uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt32uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt32uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt32uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt32uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt40uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt40uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt40uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt40uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt40uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt48uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt48uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt48uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt48uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt48uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt56uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt56uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt56uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt56uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt56uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt64uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt64uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt64uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt64uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt64uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt8sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt8sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt8sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt8sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt8sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt16sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt16sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt16sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt16sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt16sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt24sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt24sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt24sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt24sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt24sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt32sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt32sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt32sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt32sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt32sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt40sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt40sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt40sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt40sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt40sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt48sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt48sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt48sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt48sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt48sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt56sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt56sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt56sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt56sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt56sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableInt64sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt64sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableInt64sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableInt64sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableInt64sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableEnum8WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableEnum8WithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableEnum8WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableEnum8WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableEnum8WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableEnum16WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableEnum16WithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableEnum16WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableEnum16WithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableEnum16WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableFloatSingleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableFloatSingleWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableFloatSingleWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableFloatSingleWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableFloatSingleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableFloatDoubleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableFloatDoubleWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableFloatDoubleWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableFloatDoubleWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableFloatDoubleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableOctetStringWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableOctetStringWithValue:(NSData * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableOctetStringWithValue:(NSData * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableOctetStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSData * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableCharStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableCharStringWithValue:(NSString * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableCharStringWithValue:(NSString * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableCharStringWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableCharStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableEnumAttrWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableEnumAttrWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableEnumAttrWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableEnumAttrWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableEnumAttrWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableStructWithCompletion:(void (^)(MTRUnitTestingClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableStructWithValue:(MTRUnitTestingClusterSimpleStruct * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableStructWithValue:(MTRUnitTestingClusterSimpleStruct * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableStructWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(MTRUnitTestingClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableStructWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(MTRUnitTestingClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableRangeRestrictedInt8uWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableRangeRestrictedInt8uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableRangeRestrictedInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableRangeRestrictedInt8sWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableRangeRestrictedInt8sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableRangeRestrictedInt8sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableRangeRestrictedInt16uWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableRangeRestrictedInt16uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableRangeRestrictedInt16uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeNullableRangeRestrictedInt16sWithCompletion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSNumber * _Nullable)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeNullableRangeRestrictedInt16sWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeNullableRangeRestrictedInt16sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeWriteOnlyInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWriteOnlyInt8uWithValue:(NSNumber * _Nonnull)value
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)writeAttributeWriteOnlyInt8uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completion:(MTRStatusCompletion)completion MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeWriteOnlyInt8uWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeWriteOnlyInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion
MTR_NEWLY_AVAILABLE;
- (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_AVAILABLE;
+ (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completion:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completion MTR_NEWLY_AVAILABLE;
- (instancetype)init NS_UNAVAILABLE;
+ (instancetype)new NS_UNAVAILABLE;
@end
MTR_NEWLY_DEPRECATED("Please use MTRBaseClusterOTASoftwareUpdateProvider")
@interface MTRBaseClusterOtaSoftwareUpdateProvider : MTRBaseClusterOTASoftwareUpdateProvider
@end
MTR_NEWLY_DEPRECATED("Please use MTRBaseClusterOTASoftwareUpdateRequestor")
@interface MTRBaseClusterOtaSoftwareUpdateRequestor : MTRBaseClusterOTASoftwareUpdateRequestor
@end
MTR_NEWLY_DEPRECATED("Please use MTRBaseClusterWakeOnLAN")
@interface MTRBaseClusterWakeOnLan : MTRBaseClusterWakeOnLAN
@end
MTR_NEWLY_DEPRECATED("Please use MTRBaseClusterUnitTesting")
@interface MTRBaseClusterTestCluster : MTRBaseClusterUnitTesting
@end
typedef NS_ENUM(uint8_t, MTRIdentifyEffectIdentifier) {
MTRIdentifyEffectIdentifierBlink = 0x00,
MTRIdentifyEffectIdentifierBreathe = 0x01,
MTRIdentifyEffectIdentifierOkay = 0x02,
MTRIdentifyEffectIdentifierChannelChange = 0x0B,
MTRIdentifyEffectIdentifierFinishEffect = 0xFE,
MTRIdentifyEffectIdentifierStopEffect = 0xFF,
};
typedef NS_ENUM(uint8_t, MTRIdentifyEffectVariant) {
MTRIdentifyEffectVariantDefault = 0x00,
};
typedef NS_ENUM(uint8_t, MTRIdentifyType) {
MTRIdentifyTypeNone = 0x00,
MTRIdentifyTypeVisibleLight = 0x01,
MTRIdentifyTypeVisibleLED = 0x02,
MTRIdentifyTypeAudibleBeep = 0x03,
MTRIdentifyTypeDisplay = 0x04,
MTRIdentifyTypeActuator = 0x05,
};
typedef NS_OPTIONS(uint32_t, MTRGroupsGroupClusterFeature) {
MTRGroupsGroupClusterFeatureGroupNames = 0x1,
};
typedef NS_OPTIONS(uint8_t, MTRScenesCopyMode) {
MTRScenesCopyModeCopyAllScenes = 0x1,
};
typedef NS_ENUM(uint8_t, MTROnOffDelayedAllOffEffectVariant) {
MTROnOffDelayedAllOffEffectVariantFadeToOffIn0p8Seconds = 0x00,
MTROnOffDelayedAllOffEffectVariantNoFade = 0x01,
MTROnOffDelayedAllOffEffectVariant50PercentDimDownIn0p8SecondsThenFadeToOffIn12Seconds = 0x02,
};
typedef NS_ENUM(uint8_t, MTROnOffDyingLightEffectVariant) {
MTROnOffDyingLightEffectVariant20PercenterDimUpIn0p5SecondsThenFadeToOffIn1Second = 0x00,
};
typedef NS_ENUM(uint8_t, MTROnOffEffectIdentifier) {
MTROnOffEffectIdentifierDelayedAllOff = 0x00,
MTROnOffEffectIdentifierDyingLight = 0x01,
};
typedef NS_ENUM(uint8_t, MTROnOffStartUpOnOff) {
MTROnOffStartUpOnOffOff = 0x00,
MTROnOffStartUpOnOffOn = 0x01,
MTROnOffStartUpOnOffTogglePreviousOnOff = 0x02,
};
typedef NS_OPTIONS(uint8_t, MTROnOffControl) {
MTROnOffControlAcceptOnlyWhenOn = 0x1,
};
typedef NS_OPTIONS(uint32_t, MTROnOffFeature) {
MTROnOffFeatureLighting = 0x1,
};
typedef NS_OPTIONS(uint32_t, MTROnOffSceneFeatures) {
MTROnOffSceneFeaturesSceneNames = 0x1,
};
typedef NS_ENUM(uint8_t, MTRLevelControlMoveMode) {
MTRLevelControlMoveModeUp = 0x00,
MTRLevelControlMoveModeDown = 0x01,
};
typedef NS_ENUM(uint8_t, MTRLevelControlStepMode) {
MTRLevelControlStepModeUp = 0x00,
MTRLevelControlStepModeDown = 0x01,
};
typedef NS_OPTIONS(uint32_t, MTRLevelControlFeature) {
MTRLevelControlFeatureOnOff = 0x1,
MTRLevelControlFeatureLighting = 0x2,
MTRLevelControlFeatureFrequency = 0x4,
};
typedef NS_OPTIONS(uint8_t, MTRLevelControlOptions) {
MTRLevelControlOptionsExecuteIfOff = 0x1,
MTRLevelControlOptionsCoupleColorTempToLevel = 0x2,
};
typedef NS_ENUM(uint8_t, MTRAccessControlAuthMode) {
MTRAccessControlAuthModePASE = 0x01,
MTRAccessControlAuthModeCASE = 0x02,
MTRAccessControlAuthModeGroup = 0x03,
};
typedef NS_ENUM(uint8_t, MTRAccessControlChangeType) {
MTRAccessControlChangeTypeChanged = 0x00,
MTRAccessControlChangeTypeAdded = 0x01,
MTRAccessControlChangeTypeRemoved = 0x02,
};
typedef NS_ENUM(uint8_t, MTRAccessControlPrivilege) {
MTRAccessControlPrivilegeView = 0x01,
MTRAccessControlPrivilegeProxyView = 0x02,
MTRAccessControlPrivilegeOperate = 0x03,
MTRAccessControlPrivilegeManage = 0x04,
MTRAccessControlPrivilegeAdminister = 0x05,
};
typedef NS_ENUM(uint8_t, MTRActionsActionError) {
MTRActionsActionErrorUnknown = 0x00,
MTRActionsActionErrorInterrupted = 0x01,
};
typedef NS_ENUM(uint8_t, MTRActionsActionState) {
MTRActionsActionStateInactive = 0x00,
MTRActionsActionStateActive = 0x01,
MTRActionsActionStatePaused = 0x02,
MTRActionsActionStateDisabled = 0x03,
};
typedef NS_ENUM(uint8_t, MTRActionsActionType) {
MTRActionsActionTypeOther = 0x00,
MTRActionsActionTypeScene = 0x01,
MTRActionsActionTypeSequence = 0x02,
MTRActionsActionTypeAutomation = 0x03,
MTRActionsActionTypeException = 0x04,
MTRActionsActionTypeNotification = 0x05,
MTRActionsActionTypeAlarm = 0x06,
};
typedef NS_ENUM(uint8_t, MTRActionsEndpointListType) {
MTRActionsEndpointListTypeOther = 0x00,
MTRActionsEndpointListTypeRoom = 0x01,
MTRActionsEndpointListTypeZone = 0x02,
};
typedef NS_OPTIONS(uint16_t, MTRActionsCommandBits) {
MTRActionsCommandBitsInstantAction = 0x1,
MTRActionsCommandBitsInstantActionWithTransition = 0x2,
MTRActionsCommandBitsStartAction = 0x4,
MTRActionsCommandBitsStartActionWithDuration = 0x8,
MTRActionsCommandBitsStopAction = 0x10,
MTRActionsCommandBitsPauseAction = 0x20,
MTRActionsCommandBitsPauseActionWithDuration = 0x40,
MTRActionsCommandBitsResumeAction = 0x80,
MTRActionsCommandBitsEnableAction = 0x100,
MTRActionsCommandBitsEnableActionWithDuration = 0x200,
MTRActionsCommandBitsDisableAction = 0x400,
MTRActionsCommandBitsDisableActionWithDuration = 0x800,
};
typedef NS_ENUM(uint8_t, MTROTASoftwareUpdateProviderOTAApplyUpdateAction) {
MTROTASoftwareUpdateProviderOTAApplyUpdateActionProceed = 0x00,
MTROTASoftwareUpdateProviderOTAApplyUpdateActionAwaitNextAction = 0x01,
MTROTASoftwareUpdateProviderOTAApplyUpdateActionDiscontinue = 0x02,
} MTR_NEWLY_AVAILABLE;
typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateProviderOTAApplyUpdateAction) {
MTROtaSoftwareUpdateProviderOTAApplyUpdateActionProceed = 0x00,
MTROtaSoftwareUpdateProviderOTAApplyUpdateActionAwaitNextAction = 0x01,
MTROtaSoftwareUpdateProviderOTAApplyUpdateActionDiscontinue = 0x02,
} MTR_NEWLY_DEPRECATED("Please use MTROTASoftwareUpdateProviderOTAApplyUpdateAction");
typedef NS_ENUM(uint8_t, MTROTASoftwareUpdateProviderOTADownloadProtocol) {
MTROTASoftwareUpdateProviderOTADownloadProtocolBDXSynchronous = 0x00,
MTROTASoftwareUpdateProviderOTADownloadProtocolBDXAsynchronous = 0x01,
MTROTASoftwareUpdateProviderOTADownloadProtocolHTTPS = 0x02,
MTROTASoftwareUpdateProviderOTADownloadProtocolVendorSpecific = 0x03,
} MTR_NEWLY_AVAILABLE;
typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateProviderOTADownloadProtocol) {
MTROtaSoftwareUpdateProviderOTADownloadProtocolBDXSynchronous = 0x00,
MTROtaSoftwareUpdateProviderOTADownloadProtocolBDXAsynchronous = 0x01,
MTROtaSoftwareUpdateProviderOTADownloadProtocolHTTPS = 0x02,
MTROtaSoftwareUpdateProviderOTADownloadProtocolVendorSpecific = 0x03,
} MTR_NEWLY_DEPRECATED("Please use MTROTASoftwareUpdateProviderOTADownloadProtocol");
typedef NS_ENUM(uint8_t, MTROTASoftwareUpdateProviderOTAQueryStatus) {
MTROTASoftwareUpdateProviderOTAQueryStatusUpdateAvailable = 0x00,
MTROTASoftwareUpdateProviderOTAQueryStatusBusy = 0x01,
MTROTASoftwareUpdateProviderOTAQueryStatusNotAvailable = 0x02,
MTROTASoftwareUpdateProviderOTAQueryStatusDownloadProtocolNotSupported = 0x03,
} MTR_NEWLY_AVAILABLE;
typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateProviderOTAQueryStatus) {
MTROtaSoftwareUpdateProviderOTAQueryStatusUpdateAvailable = 0x00,
MTROtaSoftwareUpdateProviderOTAQueryStatusBusy = 0x01,
MTROtaSoftwareUpdateProviderOTAQueryStatusNotAvailable = 0x02,
MTROtaSoftwareUpdateProviderOTAQueryStatusDownloadProtocolNotSupported = 0x03,
} MTR_NEWLY_DEPRECATED("Please use MTROTASoftwareUpdateProviderOTAQueryStatus");
typedef NS_ENUM(uint8_t, MTROTASoftwareUpdateRequestorOTAAnnouncementReason) {
MTROTASoftwareUpdateRequestorOTAAnnouncementReasonSimpleAnnouncement = 0x00,
MTROTASoftwareUpdateRequestorOTAAnnouncementReasonUpdateAvailable = 0x01,
MTROTASoftwareUpdateRequestorOTAAnnouncementReasonUrgentUpdateAvailable = 0x02,
} MTR_NEWLY_AVAILABLE;
typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateRequestorOTAAnnouncementReason) {
MTROtaSoftwareUpdateRequestorOTAAnnouncementReasonSimpleAnnouncement = 0x00,
MTROtaSoftwareUpdateRequestorOTAAnnouncementReasonUpdateAvailable = 0x01,
MTROtaSoftwareUpdateRequestorOTAAnnouncementReasonUrgentUpdateAvailable = 0x02,
} MTR_NEWLY_DEPRECATED("Please use MTROTASoftwareUpdateRequestorOTAAnnouncementReason");
typedef NS_ENUM(uint8_t, MTROTASoftwareUpdateRequestorOTAChangeReason) {
MTROTASoftwareUpdateRequestorOTAChangeReasonUnknown = 0x00,
MTROTASoftwareUpdateRequestorOTAChangeReasonSuccess = 0x01,
MTROTASoftwareUpdateRequestorOTAChangeReasonFailure = 0x02,
MTROTASoftwareUpdateRequestorOTAChangeReasonTimeOut = 0x03,
MTROTASoftwareUpdateRequestorOTAChangeReasonDelayByProvider = 0x04,
} MTR_NEWLY_AVAILABLE;
typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateRequestorOTAChangeReason) {
MTROtaSoftwareUpdateRequestorOTAChangeReasonUnknown = 0x00,
MTROtaSoftwareUpdateRequestorOTAChangeReasonSuccess = 0x01,
MTROtaSoftwareUpdateRequestorOTAChangeReasonFailure = 0x02,
MTROtaSoftwareUpdateRequestorOTAChangeReasonTimeOut = 0x03,
MTROtaSoftwareUpdateRequestorOTAChangeReasonDelayByProvider = 0x04,
} MTR_NEWLY_DEPRECATED("Please use MTROTASoftwareUpdateRequestorOTAChangeReason");
typedef NS_ENUM(uint8_t, MTROTASoftwareUpdateRequestorOTAUpdateState) {
MTROTASoftwareUpdateRequestorOTAUpdateStateUnknown = 0x00,
MTROTASoftwareUpdateRequestorOTAUpdateStateIdle = 0x01,
MTROTASoftwareUpdateRequestorOTAUpdateStateQuerying = 0x02,
MTROTASoftwareUpdateRequestorOTAUpdateStateDelayedOnQuery = 0x03,
MTROTASoftwareUpdateRequestorOTAUpdateStateDownloading = 0x04,
MTROTASoftwareUpdateRequestorOTAUpdateStateApplying = 0x05,
MTROTASoftwareUpdateRequestorOTAUpdateStateDelayedOnApply = 0x06,
MTROTASoftwareUpdateRequestorOTAUpdateStateRollingBack = 0x07,
MTROTASoftwareUpdateRequestorOTAUpdateStateDelayedOnUserConsent = 0x08,
} MTR_NEWLY_AVAILABLE;
typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateRequestorOTAUpdateState) {
MTROtaSoftwareUpdateRequestorOTAUpdateStateUnknown = 0x00,
MTROtaSoftwareUpdateRequestorOTAUpdateStateIdle = 0x01,
MTROtaSoftwareUpdateRequestorOTAUpdateStateQuerying = 0x02,
MTROtaSoftwareUpdateRequestorOTAUpdateStateDelayedOnQuery = 0x03,
MTROtaSoftwareUpdateRequestorOTAUpdateStateDownloading = 0x04,
MTROtaSoftwareUpdateRequestorOTAUpdateStateApplying = 0x05,
MTROtaSoftwareUpdateRequestorOTAUpdateStateDelayedOnApply = 0x06,
MTROtaSoftwareUpdateRequestorOTAUpdateStateRollingBack = 0x07,
MTROtaSoftwareUpdateRequestorOTAUpdateStateDelayedOnUserConsent = 0x08,
} MTR_NEWLY_DEPRECATED("Please use MTROTASoftwareUpdateRequestorOTAUpdateState");
typedef NS_ENUM(uint8_t, MTRTimeFormatLocalizationCalendarType) {
MTRTimeFormatLocalizationCalendarTypeBuddhist = 0x00,
MTRTimeFormatLocalizationCalendarTypeChinese = 0x01,
MTRTimeFormatLocalizationCalendarTypeCoptic = 0x02,
MTRTimeFormatLocalizationCalendarTypeEthiopian = 0x03,
MTRTimeFormatLocalizationCalendarTypeGregorian = 0x04,
MTRTimeFormatLocalizationCalendarTypeHebrew = 0x05,
MTRTimeFormatLocalizationCalendarTypeIndian = 0x06,
MTRTimeFormatLocalizationCalendarTypeIslamic = 0x07,
MTRTimeFormatLocalizationCalendarTypeJapanese = 0x08,
MTRTimeFormatLocalizationCalendarTypeKorean = 0x09,
MTRTimeFormatLocalizationCalendarTypePersian = 0x0A,
MTRTimeFormatLocalizationCalendarTypeTaiwanese = 0x0B,
};
typedef NS_ENUM(uint8_t, MTRTimeFormatLocalizationHourFormat) {
MTRTimeFormatLocalizationHourFormat12hr = 0x00,
MTRTimeFormatLocalizationHourFormat24hr = 0x01,
};
typedef NS_ENUM(uint8_t, MTRUnitLocalizationTempUnit) {
MTRUnitLocalizationTempUnitFahrenheit = 0x00,
MTRUnitLocalizationTempUnitCelsius = 0x01,
MTRUnitLocalizationTempUnitKelvin = 0x02,
};
typedef NS_OPTIONS(uint32_t, MTRUnitLocalizationFeature) {
MTRUnitLocalizationFeatureTemperatureUnit = 0x1,
};
typedef NS_ENUM(uint8_t, MTRPowerSourceBatChargeFault) {
MTRPowerSourceBatChargeFaultUnspecfied = 0x00,
MTRPowerSourceBatChargeFaultAmbientTooHot = 0x01,
MTRPowerSourceBatChargeFaultAmbientTooCold = 0x02,
MTRPowerSourceBatChargeFaultBatteryTooHot = 0x03,
MTRPowerSourceBatChargeFaultBatteryTooCold = 0x04,
MTRPowerSourceBatChargeFaultBatteryAbsent = 0x05,
MTRPowerSourceBatChargeFaultBatteryOverVoltage = 0x06,
MTRPowerSourceBatChargeFaultBatteryUnderVoltage = 0x07,
MTRPowerSourceBatChargeFaultChargerOverVoltage = 0x08,
MTRPowerSourceBatChargeFaultChargerUnderVoltage = 0x09,
MTRPowerSourceBatChargeFaultSafetyTimeout = 0x0A,
};
typedef NS_ENUM(uint8_t, MTRPowerSourceBatChargeLevel) {
MTRPowerSourceBatChargeLevelOk = 0x00,
MTRPowerSourceBatChargeLevelWarning = 0x01,
MTRPowerSourceBatChargeLevelCritical = 0x02,
};
typedef NS_ENUM(uint8_t, MTRPowerSourceBatChargeState) {
MTRPowerSourceBatChargeStateUnknown = 0x00,
MTRPowerSourceBatChargeStateIsCharging = 0x01,
MTRPowerSourceBatChargeStateIsAtFullCharge = 0x02,
MTRPowerSourceBatChargeStateIsNotCharging = 0x03,
};
typedef NS_ENUM(uint8_t, MTRPowerSourceBatFault) {
MTRPowerSourceBatFaultUnspecfied = 0x00,
MTRPowerSourceBatFaultOverTemp = 0x01,
MTRPowerSourceBatFaultUnderTemp = 0x02,
};
typedef NS_ENUM(uint8_t, MTRPowerSourceBatReplaceability) {
MTRPowerSourceBatReplaceabilityUnspecified = 0x00,
MTRPowerSourceBatReplaceabilityNotReplaceable = 0x01,
MTRPowerSourceBatReplaceabilityUserReplaceable = 0x02,
MTRPowerSourceBatReplaceabilityFactoryReplaceable = 0x03,
};
typedef NS_ENUM(uint8_t, MTRPowerSourceStatus) {
MTRPowerSourceStatusUnspecfied = 0x00,
MTRPowerSourceStatusActive = 0x01,
MTRPowerSourceStatusStandby = 0x02,
MTRPowerSourceStatusUnavailable = 0x03,
};
typedef NS_ENUM(uint8_t, MTRPowerSourceWiredCurrentType) {
MTRPowerSourceWiredCurrentTypeAC = 0x00,
MTRPowerSourceWiredCurrentTypeDC = 0x01,
};
typedef NS_ENUM(uint8_t, MTRPowerSourceWiredFault) {
MTRPowerSourceWiredFaultUnspecfied = 0x00,
MTRPowerSourceWiredFaultOverVoltage = 0x01,
MTRPowerSourceWiredFaultUnderVoltage = 0x02,
};
typedef NS_OPTIONS(uint32_t, MTRPowerSourceFeature) {
MTRPowerSourceFeatureWired = 0x1,
MTRPowerSourceFeatureBattery = 0x2,
MTRPowerSourceFeatureRechargeable = 0x4,
MTRPowerSourceFeatureReplaceable = 0x8,
};
typedef NS_ENUM(uint8_t, MTRGeneralCommissioningCommissioningError) {
MTRGeneralCommissioningCommissioningErrorOk = 0x00,
MTRGeneralCommissioningCommissioningErrorValueOutsideRange = 0x01,
MTRGeneralCommissioningCommissioningErrorInvalidAuthentication = 0x02,
MTRGeneralCommissioningCommissioningErrorNoFailSafe = 0x03,
MTRGeneralCommissioningCommissioningErrorBusyWithOtherAdmin = 0x04,
};
typedef NS_ENUM(uint8_t, MTRGeneralCommissioningRegulatoryLocationType) {
MTRGeneralCommissioningRegulatoryLocationTypeIndoor = 0x00,
MTRGeneralCommissioningRegulatoryLocationTypeOutdoor = 0x01,
MTRGeneralCommissioningRegulatoryLocationTypeIndoorOutdoor = 0x02,
};
typedef NS_ENUM(uint8_t, MTRNetworkCommissioningStatus) {
MTRNetworkCommissioningStatusSuccess = 0x00,
MTRNetworkCommissioningStatusOutOfRange = 0x01,
MTRNetworkCommissioningStatusBoundsExceeded = 0x02,
MTRNetworkCommissioningStatusNetworkIDNotFound = 0x03,
MTRNetworkCommissioningStatusDuplicateNetworkID = 0x04,
MTRNetworkCommissioningStatusNetworkNotFound = 0x05,
MTRNetworkCommissioningStatusRegulatoryError = 0x06,
MTRNetworkCommissioningStatusAuthFailure = 0x07,
MTRNetworkCommissioningStatusUnsupportedSecurity = 0x08,
MTRNetworkCommissioningStatusOtherConnectionFailure = 0x09,
MTRNetworkCommissioningStatusIPV6Failed = 0x0A,
MTRNetworkCommissioningStatusIPBindFailed = 0x0B,
MTRNetworkCommissioningStatusUnknownError = 0x0C,
};
typedef NS_ENUM(uint8_t, MTRNetworkCommissioningWiFiBand) {
MTRNetworkCommissioningWiFiBand2G4 = 0x00,
MTRNetworkCommissioningWiFiBand3G65 = 0x01,
MTRNetworkCommissioningWiFiBand5G = 0x02,
MTRNetworkCommissioningWiFiBand6G = 0x03,
MTRNetworkCommissioningWiFiBand60G = 0x04,
};
typedef NS_OPTIONS(uint32_t, MTRNetworkCommissioningFeature) {
MTRNetworkCommissioningFeatureWiFiNetworkInterface = 0x1,
MTRNetworkCommissioningFeatureThreadNetworkInterface = 0x2,
MTRNetworkCommissioningFeatureEthernetNetworkInterface = 0x4,
};
typedef NS_OPTIONS(uint8_t, MTRNetworkCommissioningWiFiSecurity) {
MTRNetworkCommissioningWiFiSecurityUnencrypted = 0x1,
MTRNetworkCommissioningWiFiSecurityWepPersonal = 0x2,
MTRNetworkCommissioningWiFiSecurityWpaPersonal = 0x4,
MTRNetworkCommissioningWiFiSecurityWpa2Personal = 0x8,
MTRNetworkCommissioningWiFiSecurityWpa3Personal = 0x10,
};
typedef NS_ENUM(uint8_t, MTRDiagnosticLogsLogsIntent) {
MTRDiagnosticLogsLogsIntentEndUserSupport = 0x00,
MTRDiagnosticLogsLogsIntentNetworkDiag = 0x01,
MTRDiagnosticLogsLogsIntentCrashLogs = 0x02,
};
typedef NS_ENUM(uint8_t, MTRDiagnosticLogsLogsStatus) {
MTRDiagnosticLogsLogsStatusSuccess = 0x00,
MTRDiagnosticLogsLogsStatusExhausted = 0x01,
MTRDiagnosticLogsLogsStatusNoLogs = 0x02,
MTRDiagnosticLogsLogsStatusBusy = 0x03,
MTRDiagnosticLogsLogsStatusDenied = 0x04,
};
typedef NS_ENUM(uint8_t, MTRDiagnosticLogsLogsTransferProtocol) {
MTRDiagnosticLogsLogsTransferProtocolResponsePayload = 0x00,
MTRDiagnosticLogsLogsTransferProtocolBDX = 0x01,
};
typedef NS_ENUM(uint8_t, MTRGeneralDiagnosticsBootReasonType) {
MTRGeneralDiagnosticsBootReasonTypeUnspecified = 0x00,
MTRGeneralDiagnosticsBootReasonTypePowerOnReboot = 0x01,
MTRGeneralDiagnosticsBootReasonTypeBrownOutReset = 0x02,
MTRGeneralDiagnosticsBootReasonTypeSoftwareWatchdogReset = 0x03,
MTRGeneralDiagnosticsBootReasonTypeHardwareWatchdogReset = 0x04,
MTRGeneralDiagnosticsBootReasonTypeSoftwareUpdateCompleted = 0x05,
MTRGeneralDiagnosticsBootReasonTypeSoftwareReset = 0x06,
};
typedef NS_ENUM(uint8_t, MTRGeneralDiagnosticsHardwareFaultType) {
MTRGeneralDiagnosticsHardwareFaultTypeUnspecified = 0x00,
MTRGeneralDiagnosticsHardwareFaultTypeRadio = 0x01,
MTRGeneralDiagnosticsHardwareFaultTypeSensor = 0x02,
MTRGeneralDiagnosticsHardwareFaultTypeResettableOverTemp = 0x03,
MTRGeneralDiagnosticsHardwareFaultTypeNonResettableOverTemp = 0x04,
MTRGeneralDiagnosticsHardwareFaultTypePowerSource = 0x05,
MTRGeneralDiagnosticsHardwareFaultTypeVisualDisplayFault = 0x06,
MTRGeneralDiagnosticsHardwareFaultTypeAudioOutputFault = 0x07,
MTRGeneralDiagnosticsHardwareFaultTypeUserInterfaceFault = 0x08,
MTRGeneralDiagnosticsHardwareFaultTypeNonVolatileMemoryError = 0x09,
MTRGeneralDiagnosticsHardwareFaultTypeTamperDetected = 0x0A,
};
typedef NS_ENUM(uint8_t, MTRGeneralDiagnosticsInterfaceType) {
MTRGeneralDiagnosticsInterfaceTypeUnspecified = 0x00,
MTRGeneralDiagnosticsInterfaceTypeWiFi = 0x01,
MTRGeneralDiagnosticsInterfaceTypeEthernet = 0x02,
MTRGeneralDiagnosticsInterfaceTypeCellular = 0x03,
MTRGeneralDiagnosticsInterfaceTypeThread = 0x04,
};
typedef NS_ENUM(uint8_t, MTRGeneralDiagnosticsNetworkFaultType) {
MTRGeneralDiagnosticsNetworkFaultTypeUnspecified = 0x00,
MTRGeneralDiagnosticsNetworkFaultTypeHardwareFailure = 0x01,
MTRGeneralDiagnosticsNetworkFaultTypeNetworkJammed = 0x02,
MTRGeneralDiagnosticsNetworkFaultTypeConnectionFailed = 0x03,
};
typedef NS_ENUM(uint8_t, MTRGeneralDiagnosticsRadioFaultType) {
MTRGeneralDiagnosticsRadioFaultTypeUnspecified = 0x00,
MTRGeneralDiagnosticsRadioFaultTypeWiFiFault = 0x01,
MTRGeneralDiagnosticsRadioFaultTypeCellularFault = 0x02,
MTRGeneralDiagnosticsRadioFaultTypeThreadFault = 0x03,
MTRGeneralDiagnosticsRadioFaultTypeNFCFault = 0x04,
MTRGeneralDiagnosticsRadioFaultTypeBLEFault = 0x05,
MTRGeneralDiagnosticsRadioFaultTypeEthernetFault = 0x06,
};
typedef NS_OPTIONS(uint32_t, MTRSoftwareDiagnosticsFeature) {
MTRSoftwareDiagnosticsFeatureWaterMarks = 0x1,
};
typedef NS_ENUM(uint8_t, MTRThreadNetworkDiagnosticsNetworkFault) {
MTRThreadNetworkDiagnosticsNetworkFaultUnspecified = 0x00,
MTRThreadNetworkDiagnosticsNetworkFaultLinkDown = 0x01,
MTRThreadNetworkDiagnosticsNetworkFaultHardwareFailure = 0x02,
MTRThreadNetworkDiagnosticsNetworkFaultNetworkJammed = 0x03,
};
typedef NS_ENUM(uint8_t, MTRThreadNetworkDiagnosticsRoutingRole) {
MTRThreadNetworkDiagnosticsRoutingRoleUnspecified = 0x00,
MTRThreadNetworkDiagnosticsRoutingRoleUnassigned = 0x01,
MTRThreadNetworkDiagnosticsRoutingRoleSleepyEndDevice = 0x02,
MTRThreadNetworkDiagnosticsRoutingRoleEndDevice = 0x03,
MTRThreadNetworkDiagnosticsRoutingRoleREED = 0x04,
MTRThreadNetworkDiagnosticsRoutingRoleRouter = 0x05,
MTRThreadNetworkDiagnosticsRoutingRoleLeader = 0x06,
};
typedef NS_ENUM(uint8_t, MTRThreadNetworkDiagnosticsThreadConnectionStatus) {
MTRThreadNetworkDiagnosticsThreadConnectionStatusConnected = 0x00,
MTRThreadNetworkDiagnosticsThreadConnectionStatusNotConnected = 0x01,
};
typedef NS_OPTIONS(uint32_t, MTRThreadNetworkDiagnosticsFeature) {
MTRThreadNetworkDiagnosticsFeaturePacketCounts = 0x1,
MTRThreadNetworkDiagnosticsFeatureErrorCounts = 0x2,
MTRThreadNetworkDiagnosticsFeatureMLECounts = 0x4,
MTRThreadNetworkDiagnosticsFeatureMACCounts = 0x8,
};
typedef NS_ENUM(uint8_t, MTRWiFiNetworkDiagnosticsAssociationFailureCause) {
MTRWiFiNetworkDiagnosticsAssociationFailureCauseUnknown = 0x00,
MTRWiFiNetworkDiagnosticsAssociationFailureCauseAssociationFailed = 0x01,
MTRWiFiNetworkDiagnosticsAssociationFailureCauseAuthenticationFailed = 0x02,
MTRWiFiNetworkDiagnosticsAssociationFailureCauseSsidNotFound = 0x03,
};
typedef NS_ENUM(uint8_t, MTRWiFiNetworkDiagnosticsSecurityType) {
MTRWiFiNetworkDiagnosticsSecurityTypeUnspecified = 0x00,
MTRWiFiNetworkDiagnosticsSecurityTypeNone = 0x01,
MTRWiFiNetworkDiagnosticsSecurityTypeWEP = 0x02,
MTRWiFiNetworkDiagnosticsSecurityTypeWPA = 0x03,
MTRWiFiNetworkDiagnosticsSecurityTypeWPA2 = 0x04,
MTRWiFiNetworkDiagnosticsSecurityTypeWPA3 = 0x05,
};
typedef NS_ENUM(uint8_t, MTRWiFiNetworkDiagnosticsWiFiConnectionStatus) {
MTRWiFiNetworkDiagnosticsWiFiConnectionStatusConnected = 0x00,
MTRWiFiNetworkDiagnosticsWiFiConnectionStatusNotConnected = 0x01,
};
typedef NS_ENUM(uint8_t, MTRWiFiNetworkDiagnosticsWiFiVersionType) {
MTRWiFiNetworkDiagnosticsWiFiVersionType80211a = 0x00,
MTRWiFiNetworkDiagnosticsWiFiVersionType80211b = 0x01,
MTRWiFiNetworkDiagnosticsWiFiVersionType80211g = 0x02,
MTRWiFiNetworkDiagnosticsWiFiVersionType80211n = 0x03,
MTRWiFiNetworkDiagnosticsWiFiVersionType80211ac = 0x04,
MTRWiFiNetworkDiagnosticsWiFiVersionType80211ax = 0x05,
};
typedef NS_ENUM(uint8_t, MTREthernetNetworkDiagnosticsPHYRateType) {
MTREthernetNetworkDiagnosticsPHYRateType10M = 0x00,
MTREthernetNetworkDiagnosticsPHYRateType100M = 0x01,
MTREthernetNetworkDiagnosticsPHYRateType1000M = 0x02,
MTREthernetNetworkDiagnosticsPHYRateType25G = 0x03,
MTREthernetNetworkDiagnosticsPHYRateType5G = 0x04,
MTREthernetNetworkDiagnosticsPHYRateType10G = 0x05,
MTREthernetNetworkDiagnosticsPHYRateType40G = 0x06,
MTREthernetNetworkDiagnosticsPHYRateType100G = 0x07,
MTREthernetNetworkDiagnosticsPHYRateType200G = 0x08,
MTREthernetNetworkDiagnosticsPHYRateType400G = 0x09,
};
typedef NS_ENUM(uint8_t, MTRTimeSynchronizationGranularity) {
MTRTimeSynchronizationGranularityNoTimeGranularity = 0x00,
MTRTimeSynchronizationGranularityMinutesGranularity = 0x01,
MTRTimeSynchronizationGranularitySecondsGranularity = 0x02,
MTRTimeSynchronizationGranularityMillisecondsGranularity = 0x03,
MTRTimeSynchronizationGranularityMicrosecondsGranularity = 0x04,
};
typedef NS_ENUM(uint8_t, MTRTimeSynchronizationTimeSource) {
MTRTimeSynchronizationTimeSourceNone = 0x00,
MTRTimeSynchronizationTimeSourceUnknown = 0x01,
MTRTimeSynchronizationTimeSourceAdmin = 0x02,
MTRTimeSynchronizationTimeSourceNodeTimeCluster = 0x03,
MTRTimeSynchronizationTimeSourceNonFabricSntp = 0x04,
MTRTimeSynchronizationTimeSourceNonFabricNtp = 0x05,
MTRTimeSynchronizationTimeSourceFabricSntp = 0x06,
MTRTimeSynchronizationTimeSourceFabricNtp = 0x07,
MTRTimeSynchronizationTimeSourceMixedNtp = 0x08,
MTRTimeSynchronizationTimeSourceNonFabricSntpNts = 0x09,
MTRTimeSynchronizationTimeSourceNonFabricNtpNts = 0x0A,
MTRTimeSynchronizationTimeSourceFabricSntpNts = 0x0B,
MTRTimeSynchronizationTimeSourceFabricNtpNts = 0x0C,
MTRTimeSynchronizationTimeSourceMixedNtpNts = 0x0D,
MTRTimeSynchronizationTimeSourceCloudSource = 0x0E,
MTRTimeSynchronizationTimeSourcePtp = 0x0F,
MTRTimeSynchronizationTimeSourceGnss = 0x10,
};
typedef NS_OPTIONS(uint32_t, MTRSwitchFeature) {
MTRSwitchFeatureLatchingSwitch = 0x1,
MTRSwitchFeatureMomentarySwitch = 0x2,
MTRSwitchFeatureMomentarySwitchRelease = 0x4,
MTRSwitchFeatureMomentarySwitchLongPress = 0x8,
MTRSwitchFeatureMomentarySwitchMultiPress = 0x10,
} API_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2));
typedef NS_ENUM(uint8_t, MTRAdministratorCommissioningCommissioningWindowStatus) {
MTRAdministratorCommissioningCommissioningWindowStatusWindowNotOpen = 0x00,
MTRAdministratorCommissioningCommissioningWindowStatusEnhancedWindowOpen = 0x01,
MTRAdministratorCommissioningCommissioningWindowStatusBasicWindowOpen = 0x02,
};
typedef NS_ENUM(uint8_t, MTRAdministratorCommissioningStatusCode) {
MTRAdministratorCommissioningStatusCodeBusy = 0x02,
MTRAdministratorCommissioningStatusCodePAKEParameterError = 0x03,
MTRAdministratorCommissioningStatusCodeWindowNotOpen = 0x04,
};
typedef NS_ENUM(uint8_t, MTROperationalCredentialsOperationalCertStatus) {
MTROperationalCredentialsOperationalCertStatusSUCCESS = 0x00,
MTROperationalCredentialsOperationalCertStatusInvalidPublicKey = 0x01,
MTROperationalCredentialsOperationalCertStatusInvalidNodeOpId = 0x02,
MTROperationalCredentialsOperationalCertStatusInvalidNOC = 0x03,
MTROperationalCredentialsOperationalCertStatusMissingCsr = 0x04,
MTROperationalCredentialsOperationalCertStatusTableFull = 0x05,
MTROperationalCredentialsOperationalCertStatusInvalidAdminSubject = 0x06,
MTROperationalCredentialsOperationalCertStatusFabricConflict = 0x09,
MTROperationalCredentialsOperationalCertStatusLabelConflict = 0x0A,
MTROperationalCredentialsOperationalCertStatusInvalidFabricIndex = 0x0B,
};
typedef NS_ENUM(uint8_t, MTRGroupKeyManagementGroupKeySecurityPolicy) {
MTRGroupKeyManagementGroupKeySecurityPolicyTrustFirst = 0x00,
MTRGroupKeyManagementGroupKeySecurityPolicyCacheAndSync = 0x01,
};
typedef NS_OPTIONS(uint32_t, MTRModeSelectFeature) {
MTRModeSelectFeatureDEPONOFF = 0x1,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlAlarmCode) {
MTRDoorLockDlAlarmCodeLockJammed = 0x00,
MTRDoorLockDlAlarmCodeLockFactoryReset = 0x01,
MTRDoorLockDlAlarmCodeLockRadioPowerCycled = 0x03,
MTRDoorLockDlAlarmCodeWrongCodeEntryLimit = 0x04,
MTRDoorLockDlAlarmCodeFrontEsceutcheonRemoved = 0x05,
MTRDoorLockDlAlarmCodeDoorForcedOpen = 0x06,
MTRDoorLockDlAlarmCodeDoorAjar = 0x07,
MTRDoorLockDlAlarmCodeForcedUser = 0x08,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlCredentialRule) {
MTRDoorLockDlCredentialRuleSingle = 0x00,
MTRDoorLockDlCredentialRuleDouble = 0x01,
MTRDoorLockDlCredentialRuleTri = 0x02,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlCredentialType) {
MTRDoorLockDlCredentialTypeProgrammingPIN = 0x00,
MTRDoorLockDlCredentialTypePIN = 0x01,
MTRDoorLockDlCredentialTypeRFID = 0x02,
MTRDoorLockDlCredentialTypeFingerprint = 0x03,
MTRDoorLockDlCredentialTypeFingerVein = 0x04,
MTRDoorLockDlCredentialTypeFace = 0x05,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlDataOperationType) {
MTRDoorLockDlDataOperationTypeAdd = 0x00,
MTRDoorLockDlDataOperationTypeClear = 0x01,
MTRDoorLockDlDataOperationTypeModify = 0x02,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlDoorState) {
MTRDoorLockDlDoorStateDoorOpen = 0x00,
MTRDoorLockDlDoorStateDoorClosed = 0x01,
MTRDoorLockDlDoorStateDoorJammed = 0x02,
MTRDoorLockDlDoorStateDoorForcedOpen = 0x03,
MTRDoorLockDlDoorStateDoorUnspecifiedError = 0x04,
MTRDoorLockDlDoorStateDoorAjar = 0x05,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlLockDataType) {
MTRDoorLockDlLockDataTypeUnspecified = 0x00,
MTRDoorLockDlLockDataTypeProgrammingCode = 0x01,
MTRDoorLockDlLockDataTypeUserIndex = 0x02,
MTRDoorLockDlLockDataTypeWeekDaySchedule = 0x03,
MTRDoorLockDlLockDataTypeYearDaySchedule = 0x04,
MTRDoorLockDlLockDataTypeHolidaySchedule = 0x05,
MTRDoorLockDlLockDataTypePIN = 0x06,
MTRDoorLockDlLockDataTypeRFID = 0x07,
MTRDoorLockDlLockDataTypeFingerprint = 0x08,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlLockOperationType) {
MTRDoorLockDlLockOperationTypeLock = 0x00,
MTRDoorLockDlLockOperationTypeUnlock = 0x01,
MTRDoorLockDlLockOperationTypeNonAccessUserEvent = 0x02,
MTRDoorLockDlLockOperationTypeForcedUserEvent = 0x03,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlLockState) {
MTRDoorLockDlLockStateNotFullyLocked = 0x00,
MTRDoorLockDlLockStateLocked = 0x01,
MTRDoorLockDlLockStateUnlocked = 0x02,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlLockType) {
MTRDoorLockDlLockTypeDeadBolt = 0x00,
MTRDoorLockDlLockTypeMagnetic = 0x01,
MTRDoorLockDlLockTypeOther = 0x02,
MTRDoorLockDlLockTypeMortise = 0x03,
MTRDoorLockDlLockTypeRim = 0x04,
MTRDoorLockDlLockTypeLatchBolt = 0x05,
MTRDoorLockDlLockTypeCylindricalLock = 0x06,
MTRDoorLockDlLockTypeTubularLock = 0x07,
MTRDoorLockDlLockTypeInterconnectedLock = 0x08,
MTRDoorLockDlLockTypeDeadLatch = 0x09,
MTRDoorLockDlLockTypeDoorFurniture = 0x0A,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlOperatingMode) {
MTRDoorLockDlOperatingModeNormal = 0x00,
MTRDoorLockDlOperatingModeVacation = 0x01,
MTRDoorLockDlOperatingModePrivacy = 0x02,
MTRDoorLockDlOperatingModeNoRemoteLockUnlock = 0x03,
MTRDoorLockDlOperatingModePassage = 0x04,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlOperationError) {
MTRDoorLockDlOperationErrorUnspecified = 0x00,
MTRDoorLockDlOperationErrorInvalidCredential = 0x01,
MTRDoorLockDlOperationErrorDisabledUserDenied = 0x02,
MTRDoorLockDlOperationErrorRestricted = 0x03,
MTRDoorLockDlOperationErrorInsufficientBattery = 0x04,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlOperationSource) {
MTRDoorLockDlOperationSourceUnspecified = 0x00,
MTRDoorLockDlOperationSourceManual = 0x01,
MTRDoorLockDlOperationSourceProprietaryRemote = 0x02,
MTRDoorLockDlOperationSourceKeypad = 0x03,
MTRDoorLockDlOperationSourceAuto = 0x04,
MTRDoorLockDlOperationSourceButton = 0x05,
MTRDoorLockDlOperationSourceSchedule = 0x06,
MTRDoorLockDlOperationSourceRemote = 0x07,
MTRDoorLockDlOperationSourceRFID = 0x08,
MTRDoorLockDlOperationSourceBiometric = 0x09,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlStatus) {
MTRDoorLockDlStatusSuccess = 0x00,
MTRDoorLockDlStatusFailure = 0x01,
MTRDoorLockDlStatusDuplicate = 0x02,
MTRDoorLockDlStatusOccupied = 0x03,
MTRDoorLockDlStatusInvalidField = 0x85,
MTRDoorLockDlStatusResourceExhausted = 0x89,
MTRDoorLockDlStatusNotFound = 0x8B,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlUserStatus) {
MTRDoorLockDlUserStatusAvailable = 0x00,
MTRDoorLockDlUserStatusOccupiedEnabled = 0x01,
MTRDoorLockDlUserStatusOccupiedDisabled = 0x03,
};
typedef NS_ENUM(uint8_t, MTRDoorLockDlUserType) {
MTRDoorLockDlUserTypeUnrestrictedUser = 0x00,
MTRDoorLockDlUserTypeYearDayScheduleUser = 0x01,
MTRDoorLockDlUserTypeWeekDayScheduleUser = 0x02,
MTRDoorLockDlUserTypeProgrammingUser = 0x03,
MTRDoorLockDlUserTypeNonAccessUser = 0x04,
MTRDoorLockDlUserTypeForcedUser = 0x05,
MTRDoorLockDlUserTypeDisposableUser = 0x06,
MTRDoorLockDlUserTypeExpiringUser = 0x07,
MTRDoorLockDlUserTypeScheduleRestrictedUser = 0x08,
MTRDoorLockDlUserTypeRemoteOnlyUser = 0x09,
};
typedef NS_ENUM(uint8_t, MTRDoorLockOperationEventCode) {
MTRDoorLockOperationEventCodeUnknownOrMfgSpecific = 0x00,
MTRDoorLockOperationEventCodeLock = 0x01,
MTRDoorLockOperationEventCodeUnlock = 0x02,
MTRDoorLockOperationEventCodeLockInvalidPinOrId = 0x03,
MTRDoorLockOperationEventCodeLockInvalidSchedule = 0x04,
MTRDoorLockOperationEventCodeUnlockInvalidPinOrId = 0x05,
MTRDoorLockOperationEventCodeUnlockInvalidSchedule = 0x06,
MTRDoorLockOperationEventCodeOneTouchLock = 0x07,
MTRDoorLockOperationEventCodeKeyLock = 0x08,
MTRDoorLockOperationEventCodeKeyUnlock = 0x09,
MTRDoorLockOperationEventCodeAutoLock = 0x0A,
MTRDoorLockOperationEventCodeScheduleLock = 0x0B,
MTRDoorLockOperationEventCodeScheduleUnlock = 0x0C,
MTRDoorLockOperationEventCodeManualLock = 0x0D,
MTRDoorLockOperationEventCodeManualUnlock = 0x0E,
};
typedef NS_ENUM(uint8_t, MTRDoorLockProgrammingEventCode) {
MTRDoorLockProgrammingEventCodeUnknownOrMfgSpecific = 0x00,
MTRDoorLockProgrammingEventCodeMasterCodeChanged = 0x01,
MTRDoorLockProgrammingEventCodePinAdded = 0x02,
MTRDoorLockProgrammingEventCodePinDeleted = 0x03,
MTRDoorLockProgrammingEventCodePinChanged = 0x04,
MTRDoorLockProgrammingEventCodeIdAdded = 0x05,
MTRDoorLockProgrammingEventCodeIdDeleted = 0x06,
};
typedef NS_ENUM(uint8_t, MTRDoorLockSetPinOrIdStatus) {
MTRDoorLockSetPinOrIdStatusSuccess = 0x00,
MTRDoorLockSetPinOrIdStatusGeneralFailure = 0x01,
MTRDoorLockSetPinOrIdStatusMemoryFull = 0x02,
MTRDoorLockSetPinOrIdStatusDuplicateCodeError = 0x03,
};
typedef NS_ENUM(uint8_t, MTRDoorLockUserStatus) {
MTRDoorLockUserStatusAvailable = 0x00,
MTRDoorLockUserStatusOccupiedEnabled = 0x01,
MTRDoorLockUserStatusOccupiedDisabled = 0x03,
MTRDoorLockUserStatusNotSupported = 0xFF,
};
typedef NS_ENUM(uint8_t, MTRDoorLockUserType) {
MTRDoorLockUserTypeUnrestricted = 0x00,
MTRDoorLockUserTypeYearDayScheduleUser = 0x01,
MTRDoorLockUserTypeWeekDayScheduleUser = 0x02,
MTRDoorLockUserTypeMasterUser = 0x03,
MTRDoorLockUserTypeNonAccessUser = 0x04,
MTRDoorLockUserTypeNotSupported = 0xFF,
};
typedef NS_OPTIONS(uint8_t, MTRDoorLockDlCredentialRuleMask) {
MTRDoorLockDlCredentialRuleMaskSingle = 0x1,
MTRDoorLockDlCredentialRuleMaskDual = 0x2,
MTRDoorLockDlCredentialRuleMaskTri = 0x4,
};
typedef NS_OPTIONS(uint8_t, MTRDoorLockDlCredentialRulesSupport) {
MTRDoorLockDlCredentialRulesSupportSingle = 0x1,
MTRDoorLockDlCredentialRulesSupportDual = 0x2,
MTRDoorLockDlCredentialRulesSupportTri = 0x4,
};
typedef NS_OPTIONS(uint8_t, MTRDoorLockDlDaysMaskMap) {
MTRDoorLockDlDaysMaskMapSunday = 0x1,
MTRDoorLockDlDaysMaskMapMonday = 0x2,
MTRDoorLockDlDaysMaskMapTuesday = 0x4,
MTRDoorLockDlDaysMaskMapWednesday = 0x8,
MTRDoorLockDlDaysMaskMapThursday = 0x10,
MTRDoorLockDlDaysMaskMapFriday = 0x20,
MTRDoorLockDlDaysMaskMapSaturday = 0x40,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlDefaultConfigurationRegister) {
MTRDoorLockDlDefaultConfigurationRegisterEnableLocalProgrammingEnabled = 0x1,
MTRDoorLockDlDefaultConfigurationRegisterKeypadInterfaceDefaultAccessEnabled = 0x2,
MTRDoorLockDlDefaultConfigurationRegisterRemoteInterfaceDefaultAccessIsEnabled = 0x4,
MTRDoorLockDlDefaultConfigurationRegisterSoundEnabled = 0x20,
MTRDoorLockDlDefaultConfigurationRegisterAutoRelockTimeSet = 0x40,
MTRDoorLockDlDefaultConfigurationRegisterLEDSettingsSet = 0x80,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlKeypadOperationEventMask) {
MTRDoorLockDlKeypadOperationEventMaskUnknown = 0x1,
MTRDoorLockDlKeypadOperationEventMaskLock = 0x2,
MTRDoorLockDlKeypadOperationEventMaskUnlock = 0x4,
MTRDoorLockDlKeypadOperationEventMaskLockInvalidPIN = 0x8,
MTRDoorLockDlKeypadOperationEventMaskLockInvalidSchedule = 0x10,
MTRDoorLockDlKeypadOperationEventMaskUnlockInvalidCode = 0x20,
MTRDoorLockDlKeypadOperationEventMaskUnlockInvalidSchedule = 0x40,
MTRDoorLockDlKeypadOperationEventMaskNonAccessUserOpEvent = 0x80,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlKeypadProgrammingEventMask) {
MTRDoorLockDlKeypadProgrammingEventMaskUnknown = 0x1,
MTRDoorLockDlKeypadProgrammingEventMaskProgrammingPINChanged = 0x2,
MTRDoorLockDlKeypadProgrammingEventMaskPINAdded = 0x4,
MTRDoorLockDlKeypadProgrammingEventMaskPINCleared = 0x8,
MTRDoorLockDlKeypadProgrammingEventMaskPINChanged = 0x10,
};
typedef NS_OPTIONS(uint8_t, MTRDoorLockDlLocalProgrammingFeatures) {
MTRDoorLockDlLocalProgrammingFeaturesAddUsersCredentialsSchedulesLocally = 0x1,
MTRDoorLockDlLocalProgrammingFeaturesModifyUsersCredentialsSchedulesLocally = 0x2,
MTRDoorLockDlLocalProgrammingFeaturesClearUsersCredentialsSchedulesLocally = 0x4,
MTRDoorLockDlLocalProgrammingFeaturesAdjustLockSettingsLocally = 0x8,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlManualOperationEventMask) {
MTRDoorLockDlManualOperationEventMaskUnknown = 0x1,
MTRDoorLockDlManualOperationEventMaskThumbturnLock = 0x2,
MTRDoorLockDlManualOperationEventMaskThumbturnUnlock = 0x4,
MTRDoorLockDlManualOperationEventMaskOneTouchLock = 0x8,
MTRDoorLockDlManualOperationEventMaskKeyLock = 0x10,
MTRDoorLockDlManualOperationEventMaskKeyUnlock = 0x20,
MTRDoorLockDlManualOperationEventMaskAutoLock = 0x40,
MTRDoorLockDlManualOperationEventMaskScheduleLock = 0x80,
MTRDoorLockDlManualOperationEventMaskScheduleUnlock = 0x100,
MTRDoorLockDlManualOperationEventMaskManualLock = 0x200,
MTRDoorLockDlManualOperationEventMaskManualUnlock = 0x400,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlRFIDOperationEventMask) {
MTRDoorLockDlRFIDOperationEventMaskUnknown = 0x1,
MTRDoorLockDlRFIDOperationEventMaskLock = 0x2,
MTRDoorLockDlRFIDOperationEventMaskUnlock = 0x4,
MTRDoorLockDlRFIDOperationEventMaskLockInvalidRFID = 0x8,
MTRDoorLockDlRFIDOperationEventMaskLockInvalidSchedule = 0x10,
MTRDoorLockDlRFIDOperationEventMaskUnlockInvalidRFID = 0x20,
MTRDoorLockDlRFIDOperationEventMaskUnlockInvalidSchedule = 0x40,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlRFIDProgrammingEventMask) {
MTRDoorLockDlRFIDProgrammingEventMaskUnknown = 0x1,
MTRDoorLockDlRFIDProgrammingEventMaskRFIDCodeAdded = 0x20,
MTRDoorLockDlRFIDProgrammingEventMaskRFIDCodeCleared = 0x40,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlRemoteOperationEventMask) {
MTRDoorLockDlRemoteOperationEventMaskUnknown = 0x1,
MTRDoorLockDlRemoteOperationEventMaskLock = 0x2,
MTRDoorLockDlRemoteOperationEventMaskUnlock = 0x4,
MTRDoorLockDlRemoteOperationEventMaskLockInvalidCode = 0x8,
MTRDoorLockDlRemoteOperationEventMaskLockInvalidSchedule = 0x10,
MTRDoorLockDlRemoteOperationEventMaskUnlockInvalidCode = 0x20,
MTRDoorLockDlRemoteOperationEventMaskUnlockInvalidSchedule = 0x40,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlRemoteProgrammingEventMask) {
MTRDoorLockDlRemoteProgrammingEventMaskUnknown = 0x1,
MTRDoorLockDlRemoteProgrammingEventMaskProgrammingPINChanged = 0x2,
MTRDoorLockDlRemoteProgrammingEventMaskPINAdded = 0x4,
MTRDoorLockDlRemoteProgrammingEventMaskPINCleared = 0x8,
MTRDoorLockDlRemoteProgrammingEventMaskPINChanged = 0x10,
MTRDoorLockDlRemoteProgrammingEventMaskRFIDCodeAdded = 0x20,
MTRDoorLockDlRemoteProgrammingEventMaskRFIDCodeCleared = 0x40,
};
typedef NS_OPTIONS(uint16_t, MTRDoorLockDlSupportedOperatingModes) {
MTRDoorLockDlSupportedOperatingModesNormal = 0x1,
MTRDoorLockDlSupportedOperatingModesVacation = 0x2,
MTRDoorLockDlSupportedOperatingModesPrivacy = 0x4,
MTRDoorLockDlSupportedOperatingModesNoRemoteLockUnlock = 0x8,
MTRDoorLockDlSupportedOperatingModesPassage = 0x10,
};
typedef NS_OPTIONS(uint8_t, MTRDoorLockDayOfWeek) {
MTRDoorLockDayOfWeekSunday = 0x1,
MTRDoorLockDayOfWeekMonday = 0x2,
MTRDoorLockDayOfWeekTuesday = 0x4,
MTRDoorLockDayOfWeekWednesday = 0x8,
MTRDoorLockDayOfWeekThursday = 0x10,
MTRDoorLockDayOfWeekFriday = 0x20,
MTRDoorLockDayOfWeekSaturday = 0x40,
};
typedef NS_OPTIONS(uint32_t, MTRDoorLockFeature) {
MTRDoorLockFeaturePINCredentials = 0x1,
MTRDoorLockFeatureRFIDCredentials = 0x2,
MTRDoorLockFeatureFingerCredentials = 0x4,
MTRDoorLockFeatureLogging = 0x8,
MTRDoorLockFeatureWeekDaySchedules = 0x10,
MTRDoorLockFeatureDoorPositionSensor = 0x20,
MTRDoorLockFeatureFaceCredentials = 0x40,
MTRDoorLockFeatureCredentialsOTA = 0x80,
MTRDoorLockFeatureUsersManagement = 0x100,
MTRDoorLockFeatureNotifications = 0x200,
MTRDoorLockFeatureYearDaySchedules = 0x400,
MTRDoorLockFeatureHolidaySchedules = 0x800,
};
typedef NS_ENUM(uint8_t, MTRWindowCoveringEndProductType) {
MTRWindowCoveringEndProductTypeRollerShade = 0x00,
MTRWindowCoveringEndProductTypeRomanShade = 0x01,
MTRWindowCoveringEndProductTypeBalloonShade = 0x02,
MTRWindowCoveringEndProductTypeWovenWood = 0x03,
MTRWindowCoveringEndProductTypePleatedShade = 0x04,
MTRWindowCoveringEndProductTypeCellularShade = 0x05,
MTRWindowCoveringEndProductTypeLayeredShade = 0x06,
MTRWindowCoveringEndProductTypeLayeredShade2D = 0x07,
MTRWindowCoveringEndProductTypeSheerShade = 0x08,
MTRWindowCoveringEndProductTypeTiltOnlyInteriorBlind = 0x09,
MTRWindowCoveringEndProductTypeInteriorBlind = 0x0A,
MTRWindowCoveringEndProductTypeVerticalBlindStripCurtain = 0x0B,
MTRWindowCoveringEndProductTypeInteriorVenetianBlind = 0x0C,
MTRWindowCoveringEndProductTypeExteriorVenetianBlind = 0x0D,
MTRWindowCoveringEndProductTypeLateralLeftCurtain = 0x0E,
MTRWindowCoveringEndProductTypeLateralRightCurtain = 0x0F,
MTRWindowCoveringEndProductTypeCentralCurtain = 0x10,
MTRWindowCoveringEndProductTypeRollerShutter = 0x11,
MTRWindowCoveringEndProductTypeExteriorVerticalScreen = 0x12,
MTRWindowCoveringEndProductTypeAwningTerracePatio = 0x13,
MTRWindowCoveringEndProductTypeAwningVerticalScreen = 0x14,
MTRWindowCoveringEndProductTypeTiltOnlyPergola = 0x15,
MTRWindowCoveringEndProductTypeSwingingShutter = 0x16,
MTRWindowCoveringEndProductTypeSlidingShutter = 0x17,
MTRWindowCoveringEndProductTypeUnknown = 0xFF,
};
typedef NS_ENUM(uint8_t, MTRWindowCoveringType) {
MTRWindowCoveringTypeRollerShade = 0x00,
MTRWindowCoveringTypeRollerShade2Motor = 0x01,
MTRWindowCoveringTypeRollerShadeExterior = 0x02,
MTRWindowCoveringTypeRollerShadeExterior2Motor = 0x03,
MTRWindowCoveringTypeDrapery = 0x04,
MTRWindowCoveringTypeAwning = 0x05,
MTRWindowCoveringTypeShutter = 0x06,
MTRWindowCoveringTypeTiltBlindTiltOnly = 0x07,
MTRWindowCoveringTypeTiltBlindLiftAndTilt = 0x08,
MTRWindowCoveringTypeProjectorScreen = 0x09,
MTRWindowCoveringTypeUnknown = 0xFF,
};
typedef NS_OPTIONS(uint8_t, MTRWindowCoveringConfigStatus) {
MTRWindowCoveringConfigStatusOperational = 0x1,
MTRWindowCoveringConfigStatusOnlineReserved = 0x2,
MTRWindowCoveringConfigStatusLiftMovementReversed = 0x4,
MTRWindowCoveringConfigStatusLiftPositionAware = 0x8,
MTRWindowCoveringConfigStatusTiltPositionAware = 0x10,
MTRWindowCoveringConfigStatusLiftEncoderControlled = 0x20,
MTRWindowCoveringConfigStatusTiltEncoderControlled = 0x40,
};
typedef NS_OPTIONS(uint32_t, MTRWindowCoveringFeature) {
MTRWindowCoveringFeatureLift = 0x1,
MTRWindowCoveringFeatureTilt = 0x2,
MTRWindowCoveringFeaturePositionAwareLift = 0x4,
MTRWindowCoveringFeatureAbsolutePosition = 0x8,
MTRWindowCoveringFeaturePositionAwareTilt = 0x10,
};
typedef NS_OPTIONS(uint8_t, MTRWindowCoveringMode) {
MTRWindowCoveringModeMotorDirectionReversed = 0x1,
MTRWindowCoveringModeCalibrationMode = 0x2,
MTRWindowCoveringModeMaintenanceMode = 0x4,
MTRWindowCoveringModeLedFeedback = 0x8,
};
typedef NS_OPTIONS(uint8_t, MTRWindowCoveringOperationalStatus) {
MTRWindowCoveringOperationalStatusGlobal = 0x3,
MTRWindowCoveringOperationalStatusLift = 0xC,
MTRWindowCoveringOperationalStatusTilt = 0x30,
};
typedef NS_OPTIONS(uint16_t, MTRWindowCoveringSafetyStatus) {
MTRWindowCoveringSafetyStatusRemoteLockout = 0x1,
MTRWindowCoveringSafetyStatusTamperDetection = 0x2,
MTRWindowCoveringSafetyStatusFailedCommunication = 0x4,
MTRWindowCoveringSafetyStatusPositionFailure = 0x8,
MTRWindowCoveringSafetyStatusThermalProtection = 0x10,
MTRWindowCoveringSafetyStatusObstacleDetected = 0x20,
MTRWindowCoveringSafetyStatusPower = 0x40,
MTRWindowCoveringSafetyStatusStopInput = 0x80,
MTRWindowCoveringSafetyStatusMotorJammed = 0x100,
MTRWindowCoveringSafetyStatusHardwareFailure = 0x200,
MTRWindowCoveringSafetyStatusManualOperation = 0x400,
MTRWindowCoveringSafetyStatusProtection = 0x800,
};
typedef NS_ENUM(uint8_t, MTRPumpConfigurationAndControlPumpControlMode) {
MTRPumpConfigurationAndControlPumpControlModeConstantSpeed = 0x00,
MTRPumpConfigurationAndControlPumpControlModeConstantPressure = 0x01,
MTRPumpConfigurationAndControlPumpControlModeProportionalPressure = 0x02,
MTRPumpConfigurationAndControlPumpControlModeConstantFlow = 0x03,
MTRPumpConfigurationAndControlPumpControlModeConstantTemperature = 0x05,
MTRPumpConfigurationAndControlPumpControlModeAutomatic = 0x07,
};
typedef NS_ENUM(uint8_t, MTRPumpConfigurationAndControlPumpOperationMode) {
MTRPumpConfigurationAndControlPumpOperationModeNormal = 0x00,
MTRPumpConfigurationAndControlPumpOperationModeMinimum = 0x01,
MTRPumpConfigurationAndControlPumpOperationModeMaximum = 0x02,
MTRPumpConfigurationAndControlPumpOperationModeLocal = 0x03,
};
typedef NS_OPTIONS(uint16_t, MTRPumpConfigurationAndControlPumpStatus) {
MTRPumpConfigurationAndControlPumpStatusDeviceFault = 0x1,
MTRPumpConfigurationAndControlPumpStatusSupplyfault = 0x2,
MTRPumpConfigurationAndControlPumpStatusSpeedLow = 0x4,
MTRPumpConfigurationAndControlPumpStatusSpeedHigh = 0x8,
MTRPumpConfigurationAndControlPumpStatusLocalOverride = 0x10,
MTRPumpConfigurationAndControlPumpStatusRunning = 0x20,
MTRPumpConfigurationAndControlPumpStatusRemotePressure = 0x40,
MTRPumpConfigurationAndControlPumpStatusRemoteFlow = 0x80,
MTRPumpConfigurationAndControlPumpStatusRemoteTemperature = 0x100,
};
typedef NS_ENUM(uint8_t, MTRThermostatSetpointAdjustMode) {
MTRThermostatSetpointAdjustModeHeatSetpoint = 0x00,
MTRThermostatSetpointAdjustModeCoolSetpoint = 0x01,
MTRThermostatSetpointAdjustModeHeatAndCoolSetpoints = 0x02,
};
typedef NS_ENUM(uint8_t, MTRThermostatControlSequence) {
MTRThermostatControlSequenceCoolingOnly = 0x00,
MTRThermostatControlSequenceCoolingWithReheat = 0x01,
MTRThermostatControlSequenceHeatingOnly = 0x02,
MTRThermostatControlSequenceHeatingWithReheat = 0x03,
MTRThermostatControlSequenceCoolingAndHeating = 0x04,
MTRThermostatControlSequenceCoolingAndHeatingWithReheat = 0x05,
};
typedef NS_ENUM(uint8_t, MTRThermostatRunningMode) {
MTRThermostatRunningModeOff = 0x00,
MTRThermostatRunningModeCool = 0x03,
MTRThermostatRunningModeHeat = 0x04,
};
typedef NS_ENUM(uint8_t, MTRThermostatSystemMode) {
MTRThermostatSystemModeOff = 0x00,
MTRThermostatSystemModeAuto = 0x01,
MTRThermostatSystemModeCool = 0x03,
MTRThermostatSystemModeHeat = 0x04,
MTRThermostatSystemModeEmergencyHeating = 0x05,
MTRThermostatSystemModePrecooling = 0x06,
MTRThermostatSystemModeFanOnly = 0x07,
};
typedef NS_OPTIONS(uint8_t, MTRThermostatDayOfWeek) {
MTRThermostatDayOfWeekSunday = 0x1,
MTRThermostatDayOfWeekMonday = 0x2,
MTRThermostatDayOfWeekTuesday = 0x4,
MTRThermostatDayOfWeekWednesday = 0x8,
MTRThermostatDayOfWeekThursday = 0x10,
MTRThermostatDayOfWeekFriday = 0x20,
MTRThermostatDayOfWeekSaturday = 0x40,
MTRThermostatDayOfWeekAwayOrVacation = 0x80,
};
typedef NS_OPTIONS(uint8_t, MTRThermostatModeForSequence) {
MTRThermostatModeForSequenceHeatSetpointFieldPresent = 0x1,
MTRThermostatModeForSequenceCoolSetpointFieldPresent = 0x2,
};
typedef NS_OPTIONS(uint32_t, MTRThermostatFeature) {
MTRThermostatFeatureHeating = 0x1,
MTRThermostatFeatureCooling = 0x2,
MTRThermostatFeatureOccupancy = 0x4,
MTRThermostatFeatureSchedule = 0x8,
MTRThermostatFeatureSetback = 0x10,
MTRThermostatFeatureAutomode = 0x20,
};
typedef NS_ENUM(uint8_t, MTRFanControlFanModeSequenceType) {
MTRFanControlFanModeSequenceTypeOffLowMedHigh = 0x00,
MTRFanControlFanModeSequenceTypeOffLowHigh = 0x01,
MTRFanControlFanModeSequenceTypeOffLowMedHighAuto = 0x02,
MTRFanControlFanModeSequenceTypeOffLowHighAuto = 0x03,
MTRFanControlFanModeSequenceTypeOffOnAuto = 0x04,
MTRFanControlFanModeSequenceTypeOffOn = 0x05,
};
typedef NS_ENUM(uint8_t, MTRFanControlFanModeType) {
MTRFanControlFanModeTypeOff = 0x00,
MTRFanControlFanModeTypeLow = 0x01,
MTRFanControlFanModeTypeMedium = 0x02,
MTRFanControlFanModeTypeHigh = 0x03,
MTRFanControlFanModeTypeOn = 0x04,
MTRFanControlFanModeTypeAuto = 0x05,
MTRFanControlFanModeTypeSmart = 0x06,
};
typedef NS_OPTIONS(uint32_t, MTRFanControlFeature) {
MTRFanControlFeatureMultiSpeed = 0x1,
MTRFanControlFeatureAuto = 0x2,
MTRFanControlFeatureRocking = 0x4,
MTRFanControlFeatureWind = 0x8,
};
typedef NS_OPTIONS(uint8_t, MTRFanControlRockSupportMask) {
MTRFanControlRockSupportMaskRockLeftRight = 0x1,
MTRFanControlRockSupportMaskRockUpDown = 0x2,
MTRFanControlRockSupportMaskRockRound = 0x4,
};
typedef NS_OPTIONS(uint8_t, MTRFanControlWindSettingMask) {
MTRFanControlWindSettingMaskSleepWind = 0x1,
MTRFanControlWindSettingMaskNaturalWind = 0x2,
};
typedef NS_OPTIONS(uint8_t, MTRFanControlWindSupportMask) {
MTRFanControlWindSupportMaskSleepWind = 0x1,
MTRFanControlWindSupportMaskNaturalWind = 0x2,
};
typedef NS_ENUM(uint8_t, MTRColorControlColorLoopAction) {
MTRColorControlColorLoopActionDeactivate = 0x00,
MTRColorControlColorLoopActionActivateFromColorLoopStartEnhancedHue = 0x01,
MTRColorControlColorLoopActionActivateFromEnhancedCurrentHue = 0x02,
};
typedef NS_ENUM(uint8_t, MTRColorControlColorLoopDirection) {
MTRColorControlColorLoopDirectionDecrementHue = 0x00,
MTRColorControlColorLoopDirectionIncrementHue = 0x01,
};
typedef NS_ENUM(uint8_t, MTRColorControlColorMode) {
MTRColorControlColorModeCurrentHueAndCurrentSaturation = 0x00,
MTRColorControlColorModeCurrentXAndCurrentY = 0x01,
MTRColorControlColorModeColorTemperature = 0x02,
};
typedef NS_ENUM(uint8_t, MTRColorControlHueDirection) {
MTRColorControlHueDirectionShortestDistance = 0x00,
MTRColorControlHueDirectionLongestDistance = 0x01,
MTRColorControlHueDirectionUp = 0x02,
MTRColorControlHueDirectionDown = 0x03,
};
typedef NS_ENUM(uint8_t, MTRColorControlHueMoveMode) {
MTRColorControlHueMoveModeStop = 0x00,
MTRColorControlHueMoveModeUp = 0x01,
MTRColorControlHueMoveModeDown = 0x03,
};
typedef NS_ENUM(uint8_t, MTRColorControlHueStepMode) {
MTRColorControlHueStepModeUp = 0x01,
MTRColorControlHueStepModeDown = 0x03,
};
typedef NS_ENUM(uint8_t, MTRColorControlSaturationMoveMode) {
MTRColorControlSaturationMoveModeStop = 0x00,
MTRColorControlSaturationMoveModeUp = 0x01,
MTRColorControlSaturationMoveModeDown = 0x03,
};
typedef NS_ENUM(uint8_t, MTRColorControlSaturationStepMode) {
MTRColorControlSaturationStepModeUp = 0x01,
MTRColorControlSaturationStepModeDown = 0x03,
};
typedef NS_OPTIONS(uint16_t, MTRColorControlColorCapabilities) {
MTRColorControlColorCapabilitiesHueSaturationSupported = 0x1,
MTRColorControlColorCapabilitiesEnhancedHueSupported = 0x2,
MTRColorControlColorCapabilitiesColorLoopSupported = 0x4,
MTRColorControlColorCapabilitiesXYAttributesSupported = 0x8,
MTRColorControlColorCapabilitiesColorTemperatureSupported = 0x10,
};
typedef NS_OPTIONS(uint32_t, MTRColorControlFeature) {
MTRColorControlFeatureHueAndSaturation = 0x1,
MTRColorControlFeatureEnhancedHue = 0x2,
MTRColorControlFeatureColorLoop = 0x4,
MTRColorControlFeatureXY = 0x8,
MTRColorControlFeatureColorTemperature = 0x10,
};
typedef NS_OPTIONS(uint8_t, MTRColorControlColorLoopUpdateFlags) {
MTRColorControlColorLoopUpdateFlagsUpdateAction = 0x1,
MTRColorControlColorLoopUpdateFlagsUpdateDirection = 0x2,
MTRColorControlColorLoopUpdateFlagsUpdateTime = 0x4,
MTRColorControlColorLoopUpdateFlagsUpdateStartHue = 0x8,
};
typedef NS_ENUM(uint8_t, MTRIlluminanceMeasurementLightSensorType) {
MTRIlluminanceMeasurementLightSensorTypePhotodiode = 0x00,
MTRIlluminanceMeasurementLightSensorTypeCMOS = 0x01,
};
typedef NS_OPTIONS(uint32_t, MTRPressureMeasurementPressureFeature) {
MTRPressureMeasurementPressureFeatureEXT = 0x1,
};
typedef NS_ENUM(uint8_t, MTRChannelStatus) {
MTRChannelStatusSuccess = 0x00,
MTRChannelStatusMultipleMatches = 0x01,
MTRChannelStatusNoMatches = 0x02,
};
typedef NS_ENUM(uint8_t, MTRChannelLineupInfoType) {
MTRChannelLineupInfoTypeMso = 0x00,
};
typedef NS_OPTIONS(uint32_t, MTRChannelFeature) {
MTRChannelFeatureChannelList = 0x1,
MTRChannelFeatureLineupInfo = 0x2,
};
typedef NS_ENUM(uint8_t, MTRTargetNavigatorStatus) {
MTRTargetNavigatorStatusSuccess = 0x00,
MTRTargetNavigatorStatusTargetNotFound = 0x01,
MTRTargetNavigatorStatusNotAllowed = 0x02,
};
typedef NS_ENUM(uint8_t, MTRMediaPlaybackStatus) {
MTRMediaPlaybackStatusSuccess = 0x00,
MTRMediaPlaybackStatusInvalidStateForCommand = 0x01,
MTRMediaPlaybackStatusNotAllowed = 0x02,
MTRMediaPlaybackStatusNotActive = 0x03,
MTRMediaPlaybackStatusSpeedOutOfRange = 0x04,
MTRMediaPlaybackStatusSeekOutOfRange = 0x05,
};
typedef NS_ENUM(uint8_t, MTRMediaPlaybackPlaybackState) {
MTRMediaPlaybackPlaybackStatePlaying = 0x00,
MTRMediaPlaybackPlaybackStatePaused = 0x01,
MTRMediaPlaybackPlaybackStateNotPlaying = 0x02,
MTRMediaPlaybackPlaybackStateBuffering = 0x03,
};
typedef NS_OPTIONS(uint32_t, MTRMediaPlaybackFeature) {
MTRMediaPlaybackFeatureAdvancedSeek = 0x1,
MTRMediaPlaybackFeatureVariableSpeed = 0x2,
} API_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2));
typedef NS_ENUM(uint8_t, MTRMediaInputInputType) {
MTRMediaInputInputTypeInternal = 0x00,
MTRMediaInputInputTypeAux = 0x01,
MTRMediaInputInputTypeCoax = 0x02,
MTRMediaInputInputTypeComposite = 0x03,
MTRMediaInputInputTypeHdmi = 0x04,
MTRMediaInputInputTypeInput = 0x05,
MTRMediaInputInputTypeLine = 0x06,
MTRMediaInputInputTypeOptical = 0x07,
MTRMediaInputInputTypeVideo = 0x08,
MTRMediaInputInputTypeScart = 0x09,
MTRMediaInputInputTypeUsb = 0x0A,
MTRMediaInputInputTypeOther = 0x0B,
};
typedef NS_OPTIONS(uint32_t, MTRMediaInputFeature) {
MTRMediaInputFeatureNameUpdates = 0x1,
};
typedef NS_ENUM(uint8_t, MTRKeypadInputCecKeyCode) {
MTRKeypadInputCecKeyCodeSelect = 0x00,
MTRKeypadInputCecKeyCodeUp = 0x01,
MTRKeypadInputCecKeyCodeDown = 0x02,
MTRKeypadInputCecKeyCodeLeft = 0x03,
MTRKeypadInputCecKeyCodeRight = 0x04,
MTRKeypadInputCecKeyCodeRightUp = 0x05,
MTRKeypadInputCecKeyCodeRightDown = 0x06,
MTRKeypadInputCecKeyCodeLeftUp = 0x07,
MTRKeypadInputCecKeyCodeLeftDown = 0x08,
MTRKeypadInputCecKeyCodeRootMenu = 0x09,
MTRKeypadInputCecKeyCodeSetupMenu = 0x0A,
MTRKeypadInputCecKeyCodeContentsMenu = 0x0B,
MTRKeypadInputCecKeyCodeFavoriteMenu = 0x0C,
MTRKeypadInputCecKeyCodeExit = 0x0D,
MTRKeypadInputCecKeyCodeMediaTopMenu = 0x10,
MTRKeypadInputCecKeyCodeMediaContextSensitiveMenu = 0x11,
MTRKeypadInputCecKeyCodeNumberEntryMode = 0x1D,
MTRKeypadInputCecKeyCodeNumber11 = 0x1E,
MTRKeypadInputCecKeyCodeNumber12 = 0x1F,
MTRKeypadInputCecKeyCodeNumber0OrNumber10 = 0x20,
MTRKeypadInputCecKeyCodeNumbers1 = 0x21,
MTRKeypadInputCecKeyCodeNumbers2 = 0x22,
MTRKeypadInputCecKeyCodeNumbers3 = 0x23,
MTRKeypadInputCecKeyCodeNumbers4 = 0x24,
MTRKeypadInputCecKeyCodeNumbers5 = 0x25,
MTRKeypadInputCecKeyCodeNumbers6 = 0x26,
MTRKeypadInputCecKeyCodeNumbers7 = 0x27,
MTRKeypadInputCecKeyCodeNumbers8 = 0x28,
MTRKeypadInputCecKeyCodeNumbers9 = 0x29,
MTRKeypadInputCecKeyCodeDot = 0x2A,
MTRKeypadInputCecKeyCodeEnter = 0x2B,
MTRKeypadInputCecKeyCodeClear = 0x2C,
MTRKeypadInputCecKeyCodeNextFavorite = 0x2F,
MTRKeypadInputCecKeyCodeChannelUp = 0x30,
MTRKeypadInputCecKeyCodeChannelDown = 0x31,
MTRKeypadInputCecKeyCodePreviousChannel = 0x32,
MTRKeypadInputCecKeyCodeSoundSelect = 0x33,
MTRKeypadInputCecKeyCodeInputSelect = 0x34,
MTRKeypadInputCecKeyCodeDisplayInformation = 0x35,
MTRKeypadInputCecKeyCodeHelp = 0x36,
MTRKeypadInputCecKeyCodePageUp = 0x37,
MTRKeypadInputCecKeyCodePageDown = 0x38,
MTRKeypadInputCecKeyCodePower = 0x40,
MTRKeypadInputCecKeyCodeVolumeUp = 0x41,
MTRKeypadInputCecKeyCodeVolumeDown = 0x42,
MTRKeypadInputCecKeyCodeMute = 0x43,
MTRKeypadInputCecKeyCodePlay = 0x44,
MTRKeypadInputCecKeyCodeStop = 0x45,
MTRKeypadInputCecKeyCodePause = 0x46,
MTRKeypadInputCecKeyCodeRecord = 0x47,
MTRKeypadInputCecKeyCodeRewind = 0x48,
MTRKeypadInputCecKeyCodeFastForward = 0x49,
MTRKeypadInputCecKeyCodeEject = 0x4A,
MTRKeypadInputCecKeyCodeForward = 0x4B,
MTRKeypadInputCecKeyCodeBackward = 0x4C,
MTRKeypadInputCecKeyCodeStopRecord = 0x4D,
MTRKeypadInputCecKeyCodePauseRecord = 0x4E,
MTRKeypadInputCecKeyCodeReserved = 0x4F,
MTRKeypadInputCecKeyCodeAngle = 0x50,
MTRKeypadInputCecKeyCodeSubPicture = 0x51,
MTRKeypadInputCecKeyCodeVideoOnDemand = 0x52,
MTRKeypadInputCecKeyCodeElectronicProgramGuide = 0x53,
MTRKeypadInputCecKeyCodeTimerProgramming = 0x54,
MTRKeypadInputCecKeyCodeInitialConfiguration = 0x55,
MTRKeypadInputCecKeyCodeSelectBroadcastType = 0x56,
MTRKeypadInputCecKeyCodeSelectSoundPresentation = 0x57,
MTRKeypadInputCecKeyCodePlayFunction = 0x60,
MTRKeypadInputCecKeyCodePausePlayFunction = 0x61,
MTRKeypadInputCecKeyCodeRecordFunction = 0x62,
MTRKeypadInputCecKeyCodePauseRecordFunction = 0x63,
MTRKeypadInputCecKeyCodeStopFunction = 0x64,
MTRKeypadInputCecKeyCodeMuteFunction = 0x65,
MTRKeypadInputCecKeyCodeRestoreVolumeFunction = 0x66,
MTRKeypadInputCecKeyCodeTuneFunction = 0x67,
MTRKeypadInputCecKeyCodeSelectMediaFunction = 0x68,
MTRKeypadInputCecKeyCodeSelectAvInputFunction = 0x69,
MTRKeypadInputCecKeyCodeSelectAudioInputFunction = 0x6A,
MTRKeypadInputCecKeyCodePowerToggleFunction = 0x6B,
MTRKeypadInputCecKeyCodePowerOffFunction = 0x6C,
MTRKeypadInputCecKeyCodePowerOnFunction = 0x6D,
MTRKeypadInputCecKeyCodeF1Blue = 0x71,
MTRKeypadInputCecKeyCodeF2Red = 0x72,
MTRKeypadInputCecKeyCodeF3Green = 0x73,
MTRKeypadInputCecKeyCodeF4Yellow = 0x74,
MTRKeypadInputCecKeyCodeF5 = 0x75,
MTRKeypadInputCecKeyCodeData = 0x76,
};
typedef NS_ENUM(uint8_t, MTRKeypadInputStatus) {
MTRKeypadInputStatusSuccess = 0x00,
MTRKeypadInputStatusUnsupportedKey = 0x01,
MTRKeypadInputStatusInvalidKeyInCurrentState = 0x02,
};
typedef NS_OPTIONS(uint32_t, MTRKeypadInputFeature) {
MTRKeypadInputFeatureNavigationKeyCodes = 0x1,
MTRKeypadInputFeatureLocationKeys = 0x2,
MTRKeypadInputFeatureNumberKeys = 0x4,
};
typedef NS_ENUM(uint8_t, MTRContentLauncherContentLaunchStatus) {
MTRContentLauncherContentLaunchStatusSuccess = 0x00,
MTRContentLauncherContentLaunchStatusUrlNotAvailable = 0x01,
MTRContentLauncherContentLaunchStatusAuthFailed = 0x02,
};
typedef NS_ENUM(uint8_t, MTRContentLauncherMetricType) {
MTRContentLauncherMetricTypePIXELS = 0x00,
MTRContentLauncherMetricTypePERCENTAGE = 0x01,
};
typedef NS_ENUM(uint8_t, MTRContentLauncherParameter) {
MTRContentLauncherParameterActor = 0x00,
MTRContentLauncherParameterChannel = 0x01,
MTRContentLauncherParameterCharacter = 0x02,
MTRContentLauncherParameterDirector = 0x03,
MTRContentLauncherParameterEvent = 0x04,
MTRContentLauncherParameterFranchise = 0x05,
MTRContentLauncherParameterGenre = 0x06,
MTRContentLauncherParameterLeague = 0x07,
MTRContentLauncherParameterPopularity = 0x08,
MTRContentLauncherParameterProvider = 0x09,
MTRContentLauncherParameterSport = 0x0A,
MTRContentLauncherParameterSportsTeam = 0x0B,
MTRContentLauncherParameterType = 0x0C,
};
typedef NS_OPTIONS(uint32_t, MTRContentLauncherFeature) {
MTRContentLauncherFeatureContentSearch = 0x1,
MTRContentLauncherFeatureURLPlayback = 0x2,
};
typedef NS_OPTIONS(uint32_t, MTRContentLauncherSupportedStreamingProtocol) {
MTRContentLauncherSupportedStreamingProtocolDASH = 0x1,
MTRContentLauncherSupportedStreamingProtocolHLS = 0x2,
};
typedef NS_ENUM(uint8_t, MTRAudioOutputOutputType) {
MTRAudioOutputOutputTypeHdmi = 0x00,
MTRAudioOutputOutputTypeBt = 0x01,
MTRAudioOutputOutputTypeOptical = 0x02,
MTRAudioOutputOutputTypeHeadphone = 0x03,
MTRAudioOutputOutputTypeInternal = 0x04,
MTRAudioOutputOutputTypeOther = 0x05,
};
typedef NS_OPTIONS(uint32_t, MTRAudioOutputFeature) {
MTRAudioOutputFeatureNameUpdates = 0x1,
};
typedef NS_ENUM(uint8_t, MTRApplicationLauncherStatus) {
MTRApplicationLauncherStatusSuccess = 0x00,
MTRApplicationLauncherStatusAppNotAvailable = 0x01,
MTRApplicationLauncherStatusSystemBusy = 0x02,
};
typedef NS_OPTIONS(uint32_t, MTRApplicationLauncherFeature) {
MTRApplicationLauncherFeatureApplicationPlatform = 0x1,
};
typedef NS_ENUM(uint8_t, MTRApplicationBasicApplicationStatus) {
MTRApplicationBasicApplicationStatusStopped = 0x00,
MTRApplicationBasicApplicationStatusActiveVisibleFocus = 0x01,
MTRApplicationBasicApplicationStatusActiveHidden = 0x02,
MTRApplicationBasicApplicationStatusActiveVisibleNotFocus = 0x03,
};
typedef NS_ENUM(uint8_t, MTRUnitTestingSimple) {
MTRUnitTestingSimpleUnspecified = 0x00,
MTRUnitTestingSimpleValueA = 0x01,
MTRUnitTestingSimpleValueB = 0x02,
MTRUnitTestingSimpleValueC = 0x03,
} MTR_NEWLY_AVAILABLE;
typedef NS_ENUM(uint8_t, MTRTestClusterSimple) {
MTRTestClusterSimpleUnspecified = 0x00,
MTRTestClusterSimpleValueA = 0x01,
MTRTestClusterSimpleValueB = 0x02,
MTRTestClusterSimpleValueC = 0x03,
} MTR_NEWLY_DEPRECATED("Please use MTRUnitTestingSimple");
typedef NS_OPTIONS(uint16_t, MTRUnitTestingBitmap16MaskMap) {
MTRUnitTestingBitmap16MaskMapMaskVal1 = 0x1,
MTRUnitTestingBitmap16MaskMapMaskVal2 = 0x2,
MTRUnitTestingBitmap16MaskMapMaskVal3 = 0x4,
MTRUnitTestingBitmap16MaskMapMaskVal4 = 0x4000,
} MTR_NEWLY_AVAILABLE;
typedef NS_OPTIONS(uint16_t, MTRTestClusterBitmap16MaskMap) {
MTRTestClusterBitmap16MaskMapMaskVal1 = 0x1,
MTRTestClusterBitmap16MaskMapMaskVal2 = 0x2,
MTRTestClusterBitmap16MaskMapMaskVal3 = 0x4,
MTRTestClusterBitmap16MaskMapMaskVal4 = 0x4000,
} MTR_NEWLY_DEPRECATED("Please use MTRUnitTestingBitmap16MaskMap");
typedef NS_OPTIONS(uint32_t, MTRUnitTestingBitmap32MaskMap) {
MTRUnitTestingBitmap32MaskMapMaskVal1 = 0x1,
MTRUnitTestingBitmap32MaskMapMaskVal2 = 0x2,
MTRUnitTestingBitmap32MaskMapMaskVal3 = 0x4,
MTRUnitTestingBitmap32MaskMapMaskVal4 = 0x40000000,
} MTR_NEWLY_AVAILABLE;
typedef NS_OPTIONS(uint32_t, MTRTestClusterBitmap32MaskMap) {
MTRTestClusterBitmap32MaskMapMaskVal1 = 0x1,
MTRTestClusterBitmap32MaskMapMaskVal2 = 0x2,
MTRTestClusterBitmap32MaskMapMaskVal3 = 0x4,
MTRTestClusterBitmap32MaskMapMaskVal4 = 0x40000000,
} MTR_NEWLY_DEPRECATED("Please use MTRUnitTestingBitmap32MaskMap");
typedef NS_OPTIONS(uint64_t, MTRUnitTestingBitmap64MaskMap) {
MTRUnitTestingBitmap64MaskMapMaskVal1 = 0x1,
MTRUnitTestingBitmap64MaskMapMaskVal2 = 0x2,
MTRUnitTestingBitmap64MaskMapMaskVal3 = 0x4,
MTRUnitTestingBitmap64MaskMapMaskVal4 = 0x4000000000000000,
} MTR_NEWLY_AVAILABLE;
typedef NS_OPTIONS(uint64_t, MTRTestClusterBitmap64MaskMap) {
MTRTestClusterBitmap64MaskMapMaskVal1 = 0x1,
MTRTestClusterBitmap64MaskMapMaskVal2 = 0x2,
MTRTestClusterBitmap64MaskMapMaskVal3 = 0x4,
MTRTestClusterBitmap64MaskMapMaskVal4 = 0x4000000000000000,
} MTR_NEWLY_DEPRECATED("Please use MTRUnitTestingBitmap64MaskMap");
typedef NS_OPTIONS(uint8_t, MTRUnitTestingBitmap8MaskMap) {
MTRUnitTestingBitmap8MaskMapMaskVal1 = 0x1,
MTRUnitTestingBitmap8MaskMapMaskVal2 = 0x2,
MTRUnitTestingBitmap8MaskMapMaskVal3 = 0x4,
MTRUnitTestingBitmap8MaskMapMaskVal4 = 0x40,
} MTR_NEWLY_AVAILABLE;
typedef NS_OPTIONS(uint8_t, MTRTestClusterBitmap8MaskMap) {
MTRTestClusterBitmap8MaskMapMaskVal1 = 0x1,
MTRTestClusterBitmap8MaskMapMaskVal2 = 0x2,
MTRTestClusterBitmap8MaskMapMaskVal3 = 0x4,
MTRTestClusterBitmap8MaskMapMaskVal4 = 0x40,
} MTR_NEWLY_DEPRECATED("Please use MTRUnitTestingBitmap8MaskMap");
typedef NS_OPTIONS(uint8_t, MTRUnitTestingSimpleBitmap) {
MTRUnitTestingSimpleBitmapValueA = 0x1,
MTRUnitTestingSimpleBitmapValueB = 0x2,
MTRUnitTestingSimpleBitmapValueC = 0x4,
} MTR_NEWLY_AVAILABLE;
typedef NS_OPTIONS(uint8_t, MTRTestClusterSimpleBitmap) {
MTRTestClusterSimpleBitmapValueA = 0x1,
MTRTestClusterSimpleBitmapValueB = 0x2,
MTRTestClusterSimpleBitmapValueC = 0x4,
} MTR_NEWLY_DEPRECATED("Please use MTRUnitTestingSimpleBitmap");
typedef NS_ENUM(uint8_t, MTRFaultInjectionFaultType) {
MTRFaultInjectionFaultTypeUnspecified = 0x00,
MTRFaultInjectionFaultTypeSystemFault = 0x01,
MTRFaultInjectionFaultTypeInetFault = 0x02,
MTRFaultInjectionFaultTypeChipFault = 0x03,
MTRFaultInjectionFaultTypeCertFault = 0x04,
};
@interface MTRBaseClusterIdentify (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)identifyWithParams:(MTRIdentifyClusterIdentifyParams *)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use identifyWithParams:completion:");
- (void)triggerEffectWithParams:(MTRIdentifyClusterTriggerEffectParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use triggerEffectWithParams:completion:");
- (void)readAttributeIdentifyTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeIdentifyTimeWithCompletion:");
- (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeIdentifyTimeWithValue:completion:");
- (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeIdentifyTimeWithValue:params:completion:");
- (void)subscribeAttributeIdentifyTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeIdentifyTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeIdentifyTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeIdentifyTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeIdentifyTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeIdentifyTypeWithCompletion:");
- (void)subscribeAttributeIdentifyTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeIdentifyTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeIdentifyTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeIdentifyTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterGroups (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)addGroupWithParams:(MTRGroupsClusterAddGroupParams *)params
completionHandler:
(void (^)(MTRGroupsClusterAddGroupResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use addGroupWithParams:completion:");
- (void)viewGroupWithParams:(MTRGroupsClusterViewGroupParams *)params
completionHandler:
(void (^)(MTRGroupsClusterViewGroupResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use viewGroupWithParams:completion:");
- (void)getGroupMembershipWithParams:(MTRGroupsClusterGetGroupMembershipParams *)params
completionHandler:(void (^)(MTRGroupsClusterGetGroupMembershipResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getGroupMembershipWithParams:completion:");
- (void)removeGroupWithParams:(MTRGroupsClusterRemoveGroupParams *)params
completionHandler:
(void (^)(MTRGroupsClusterRemoveGroupResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use removeGroupWithParams:completion:");
- (void)removeAllGroupsWithParams:(MTRGroupsClusterRemoveAllGroupsParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use removeAllGroupsWithParams:completion:");
- (void)removeAllGroupsWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use removeAllGroupsWithCompletion:");
- (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use addGroupIfIdentifyingWithParams:completion:");
- (void)readAttributeNameSupportWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNameSupportWithCompletion:");
- (void)subscribeAttributeNameSupportWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNameSupportWithParams:subscriptionEstablished:");
+ (void)readAttributeNameSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNameSupportWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterScenes (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)addSceneWithParams:(MTRScenesClusterAddSceneParams *)params
completionHandler:
(void (^)(MTRScenesClusterAddSceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use addSceneWithParams:completion:");
- (void)viewSceneWithParams:(MTRScenesClusterViewSceneParams *)params
completionHandler:
(void (^)(MTRScenesClusterViewSceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use viewSceneWithParams:completion:");
- (void)removeSceneWithParams:(MTRScenesClusterRemoveSceneParams *)params
completionHandler:
(void (^)(MTRScenesClusterRemoveSceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use removeSceneWithParams:completion:");
- (void)removeAllScenesWithParams:(MTRScenesClusterRemoveAllScenesParams *)params
completionHandler:(void (^)(MTRScenesClusterRemoveAllScenesResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use removeAllScenesWithParams:completion:");
- (void)storeSceneWithParams:(MTRScenesClusterStoreSceneParams *)params
completionHandler:
(void (^)(MTRScenesClusterStoreSceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use storeSceneWithParams:completion:");
- (void)recallSceneWithParams:(MTRScenesClusterRecallSceneParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use recallSceneWithParams:completion:");
- (void)getSceneMembershipWithParams:(MTRScenesClusterGetSceneMembershipParams *)params
completionHandler:(void (^)(MTRScenesClusterGetSceneMembershipResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getSceneMembershipWithParams:completion:");
- (void)enhancedAddSceneWithParams:(MTRScenesClusterEnhancedAddSceneParams *)params
completionHandler:(void (^)(MTRScenesClusterEnhancedAddSceneResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use enhancedAddSceneWithParams:completion:");
- (void)enhancedViewSceneWithParams:(MTRScenesClusterEnhancedViewSceneParams *)params
completionHandler:(void (^)(MTRScenesClusterEnhancedViewSceneResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use enhancedViewSceneWithParams:completion:");
- (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params
completionHandler:
(void (^)(MTRScenesClusterCopySceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use copySceneWithParams:completion:");
- (void)readAttributeSceneCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSceneCountWithCompletion:");
- (void)subscribeAttributeSceneCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSceneCountWithParams:subscriptionEstablished:");
+ (void)readAttributeSceneCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSceneCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentSceneWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentSceneWithCompletion:");
- (void)subscribeAttributeCurrentSceneWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentSceneWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentSceneWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentSceneWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentGroupWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentGroupWithCompletion:");
- (void)subscribeAttributeCurrentGroupWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentGroupWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentGroupWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentGroupWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSceneValidWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSceneValidWithCompletion:");
- (void)subscribeAttributeSceneValidWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSceneValidWithParams:subscriptionEstablished:");
+ (void)readAttributeSceneValidWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSceneValidWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNameSupportWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNameSupportWithCompletion:");
- (void)subscribeAttributeNameSupportWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNameSupportWithParams:subscriptionEstablished:");
+ (void)readAttributeNameSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNameSupportWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLastConfiguredByWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLastConfiguredByWithCompletion:");
- (void)
subscribeAttributeLastConfiguredByWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLastConfiguredByWithParams:subscriptionEstablished:");
+ (void)readAttributeLastConfiguredByWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLastConfiguredByWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterOnOff (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)offWithParams:(MTROnOffClusterOffParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use offWithParams:completion:");
- (void)offWithCompletionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use offWithCompletion:");
- (void)onWithParams:(MTROnOffClusterOnParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use onWithParams:completion:");
- (void)onWithCompletionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use onWithCompletion:");
- (void)toggleWithParams:(MTROnOffClusterToggleParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use toggleWithParams:completion:");
- (void)toggleWithCompletionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use toggleWithCompletion:");
- (void)offWithEffectWithParams:(MTROnOffClusterOffWithEffectParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use offWithEffectWithParams:completion:");
- (void)onWithRecallGlobalSceneWithParams:(MTROnOffClusterOnWithRecallGlobalSceneParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use onWithRecallGlobalSceneWithParams:completion:");
- (void)onWithRecallGlobalSceneWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use onWithRecallGlobalSceneWithCompletion:");
- (void)onWithTimedOffWithParams:(MTROnOffClusterOnWithTimedOffParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use onWithTimedOffWithParams:completion:");
- (void)readAttributeOnOffWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnOffWithCompletion:");
- (void)subscribeAttributeOnOffWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOnOffWithParams:subscriptionEstablished:");
+ (void)readAttributeOnOffWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnOffWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGlobalSceneControlWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGlobalSceneControlWithCompletion:");
- (void)subscribeAttributeGlobalSceneControlWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGlobalSceneControlWithParams:subscriptionEstablished:");
+ (void)readAttributeGlobalSceneControlWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGlobalSceneControlWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOnTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnTimeWithCompletion:");
- (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnTimeWithValue:completion:");
- (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnTimeWithValue:params:completion:");
- (void)subscribeAttributeOnTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOnTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeOnTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOffWaitTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOffWaitTimeWithCompletion:");
- (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOffWaitTimeWithValue:completion:");
- (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOffWaitTimeWithValue:params:completion:");
- (void)subscribeAttributeOffWaitTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOffWaitTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeOffWaitTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOffWaitTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStartUpOnOffWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartUpOnOffWithCompletion:");
- (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStartUpOnOffWithValue:completion:");
- (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStartUpOnOffWithValue:params:completion:");
- (void)subscribeAttributeStartUpOnOffWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStartUpOnOffWithParams:subscriptionEstablished:");
+ (void)readAttributeStartUpOnOffWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartUpOnOffWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterOnOffSwitchConfiguration (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeSwitchTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSwitchTypeWithCompletion:");
- (void)subscribeAttributeSwitchTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSwitchTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeSwitchTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSwitchTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSwitchActionsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSwitchActionsWithCompletion:");
- (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSwitchActionsWithValue:completion:");
- (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSwitchActionsWithValue:params:completion:");
- (void)subscribeAttributeSwitchActionsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSwitchActionsWithParams:subscriptionEstablished:");
+ (void)readAttributeSwitchActionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSwitchActionsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterLevelControl (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)moveToLevelWithParams:(MTRLevelControlClusterMoveToLevelParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveToLevelWithParams:completion:");
- (void)moveWithParams:(MTRLevelControlClusterMoveParams *)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use moveWithParams:completion:");
- (void)stepWithParams:(MTRLevelControlClusterStepParams *)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use stepWithParams:completion:");
- (void)stopWithParams:(MTRLevelControlClusterStopParams *)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use stopWithParams:completion:");
- (void)moveToLevelWithOnOffWithParams:(MTRLevelControlClusterMoveToLevelWithOnOffParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveToLevelWithOnOffWithParams:completion:");
- (void)moveWithOnOffWithParams:(MTRLevelControlClusterMoveWithOnOffParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveWithOnOffWithParams:completion:");
- (void)stepWithOnOffWithParams:(MTRLevelControlClusterStepWithOnOffParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stepWithOnOffWithParams:completion:");
- (void)stopWithOnOffWithParams:(MTRLevelControlClusterStopWithOnOffParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stopWithOnOffWithParams:completion:");
- (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFrequencyParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveToClosestFrequencyWithParams:completion:");
- (void)readAttributeCurrentLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentLevelWithCompletion:");
- (void)subscribeAttributeCurrentLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentLevelWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRemainingTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRemainingTimeWithCompletion:");
- (void)subscribeAttributeRemainingTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRemainingTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeRemainingTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRemainingTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinLevelWithCompletion:");
- (void)subscribeAttributeMinLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinLevelWithParams:subscriptionEstablished:");
+ (void)readAttributeMinLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxLevelWithCompletion:");
- (void)subscribeAttributeMaxLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxLevelWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentFrequencyWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentFrequencyWithCompletion:");
- (void)
subscribeAttributeCurrentFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentFrequencyWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentFrequencyWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinFrequencyWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinFrequencyWithCompletion:");
- (void)subscribeAttributeMinFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinFrequencyWithParams:subscriptionEstablished:");
+ (void)readAttributeMinFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinFrequencyWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxFrequencyWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxFrequencyWithCompletion:");
- (void)subscribeAttributeMaxFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxFrequencyWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxFrequencyWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOptionsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOptionsWithCompletion:");
- (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOptionsWithValue:completion:");
- (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOptionsWithValue:params:completion:");
- (void)subscribeAttributeOptionsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOptionsWithParams:subscriptionEstablished:");
+ (void)readAttributeOptionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOptionsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOnOffTransitionTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnOffTransitionTimeWithCompletion:");
- (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnOffTransitionTimeWithValue:completion:");
- (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnOffTransitionTimeWithValue:params:completion:");
- (void)subscribeAttributeOnOffTransitionTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOnOffTransitionTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeOnOffTransitionTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnOffTransitionTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOnLevelWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnLevelWithCompletion:");
- (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnLevelWithValue:completion:");
- (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnLevelWithValue:params:completion:");
- (void)subscribeAttributeOnLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOnLevelWithParams:subscriptionEstablished:");
+ (void)readAttributeOnLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOnTransitionTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnTransitionTimeWithCompletion:");
- (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnTransitionTimeWithValue:completion:");
- (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnTransitionTimeWithValue:params:completion:");
- (void)
subscribeAttributeOnTransitionTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOnTransitionTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeOnTransitionTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnTransitionTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOffTransitionTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOffTransitionTimeWithCompletion:");
- (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOffTransitionTimeWithValue:completion:");
- (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOffTransitionTimeWithValue:params:completion:");
- (void)subscribeAttributeOffTransitionTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOffTransitionTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeOffTransitionTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOffTransitionTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDefaultMoveRateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDefaultMoveRateWithCompletion:");
- (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDefaultMoveRateWithValue:completion:");
- (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDefaultMoveRateWithValue:params:completion:");
- (void)subscribeAttributeDefaultMoveRateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDefaultMoveRateWithParams:subscriptionEstablished:");
+ (void)readAttributeDefaultMoveRateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDefaultMoveRateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStartUpCurrentLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartUpCurrentLevelWithCompletion:");
- (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStartUpCurrentLevelWithValue:completion:");
- (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStartUpCurrentLevelWithValue:params:completion:");
- (void)subscribeAttributeStartUpCurrentLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStartUpCurrentLevelWithParams:subscriptionEstablished:");
+ (void)readAttributeStartUpCurrentLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartUpCurrentLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterBinaryInputBasic (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeActiveTextWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveTextWithCompletion:");
- (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeActiveTextWithValue:completion:");
- (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeActiveTextWithValue:params:completion:");
- (void)subscribeAttributeActiveTextWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveTextWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveTextWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveTextWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDescriptionWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDescriptionWithCompletion:");
- (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDescriptionWithValue:completion:");
- (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDescriptionWithValue:params:completion:");
- (void)subscribeAttributeDescriptionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDescriptionWithParams:subscriptionEstablished:");
+ (void)readAttributeDescriptionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDescriptionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInactiveTextWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInactiveTextWithCompletion:");
- (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInactiveTextWithValue:completion:");
- (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInactiveTextWithValue:params:completion:");
- (void)subscribeAttributeInactiveTextWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInactiveTextWithParams:subscriptionEstablished:");
+ (void)readAttributeInactiveTextWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInactiveTextWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOutOfServiceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOutOfServiceWithCompletion:");
- (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOutOfServiceWithValue:completion:");
- (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOutOfServiceWithValue:params:completion:");
- (void)subscribeAttributeOutOfServiceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOutOfServiceWithParams:subscriptionEstablished:");
+ (void)readAttributeOutOfServiceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOutOfServiceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePolarityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePolarityWithCompletion:");
- (void)subscribeAttributePolarityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePolarityWithParams:subscriptionEstablished:");
+ (void)readAttributePolarityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePolarityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePresentValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePresentValueWithCompletion:");
- (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePresentValueWithValue:completion:");
- (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePresentValueWithValue:params:completion:");
- (void)subscribeAttributePresentValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePresentValueWithParams:subscriptionEstablished:");
+ (void)readAttributePresentValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePresentValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeReliabilityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReliabilityWithCompletion:");
- (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeReliabilityWithValue:completion:");
- (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeReliabilityWithValue:params:completion:");
- (void)subscribeAttributeReliabilityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeReliabilityWithParams:subscriptionEstablished:");
+ (void)readAttributeReliabilityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReliabilityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStatusFlagsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStatusFlagsWithCompletion:");
- (void)subscribeAttributeStatusFlagsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStatusFlagsWithParams:subscriptionEstablished:");
+ (void)readAttributeStatusFlagsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStatusFlagsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeApplicationTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApplicationTypeWithCompletion:");
- (void)subscribeAttributeApplicationTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeApplicationTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeApplicationTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApplicationTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterDescriptor (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeDeviceListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDeviceTypeListWithCompletion:");
- (void)subscribeAttributeDeviceListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDeviceTypeListWithParams:subscriptionEstablished:");
+ (void)readAttributeDeviceListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDeviceTypeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeServerListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeServerListWithCompletion:");
- (void)subscribeAttributeServerListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeServerListWithParams:subscriptionEstablished:");
+ (void)readAttributeServerListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeServerListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClientListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClientListWithCompletion:");
- (void)subscribeAttributeClientListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClientListWithParams:subscriptionEstablished:");
+ (void)readAttributeClientListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClientListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePartsListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartsListWithCompletion:");
- (void)subscribeAttributePartsListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePartsListWithParams:subscriptionEstablished:");
+ (void)readAttributePartsListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartsListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterBinding (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBindingWithParams:completion:");
- (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBindingWithValue:completion:");
- (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBindingWithValue:params:completion:");
- (void)subscribeAttributeBindingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBindingWithParams:subscriptionEstablished:");
+ (void)readAttributeBindingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBindingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterAccessControl (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeAclWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACLWithParams:completion:");
- (void)writeAttributeAclWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACLWithValue:completion:");
- (void)writeAttributeAclWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACLWithValue:params:completion:");
- (void)subscribeAttributeAclWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACLWithParams:subscriptionEstablished:");
+ (void)readAttributeAclWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACLWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeExtensionWithParams:completion:");
- (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeExtensionWithValue:completion:");
- (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeExtensionWithValue:params:completion:");
- (void)subscribeAttributeExtensionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeExtensionWithParams:subscriptionEstablished:");
+ (void)readAttributeExtensionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeExtensionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSubjectsPerAccessControlEntryWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSubjectsPerAccessControlEntryWithCompletion:");
- (void)subscribeAttributeSubjectsPerAccessControlEntryWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSubjectsPerAccessControlEntryWithParams:subscriptionEstablished:");
+ (void)readAttributeSubjectsPerAccessControlEntryWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSubjectsPerAccessControlEntryWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTargetsPerAccessControlEntryWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTargetsPerAccessControlEntryWithCompletion:");
- (void)subscribeAttributeTargetsPerAccessControlEntryWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTargetsPerAccessControlEntryWithParams:subscriptionEstablished:");
+ (void)readAttributeTargetsPerAccessControlEntryWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTargetsPerAccessControlEntryWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAccessControlEntriesPerFabricWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAccessControlEntriesPerFabricWithCompletion:");
- (void)subscribeAttributeAccessControlEntriesPerFabricWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAccessControlEntriesPerFabricWithParams:subscriptionEstablished:");
+ (void)readAttributeAccessControlEntriesPerFabricWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAccessControlEntriesPerFabricWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterActions (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)instantActionWithParams:(MTRActionsClusterInstantActionParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use instantActionWithParams:completion:");
- (void)instantActionWithTransitionWithParams:(MTRActionsClusterInstantActionWithTransitionParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use instantActionWithTransitionWithParams:completion:");
- (void)startActionWithParams:(MTRActionsClusterStartActionParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use startActionWithParams:completion:");
- (void)startActionWithDurationWithParams:(MTRActionsClusterStartActionWithDurationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use startActionWithDurationWithParams:completion:");
- (void)stopActionWithParams:(MTRActionsClusterStopActionParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stopActionWithParams:completion:");
- (void)pauseActionWithParams:(MTRActionsClusterPauseActionParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use pauseActionWithParams:completion:");
- (void)pauseActionWithDurationWithParams:(MTRActionsClusterPauseActionWithDurationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use pauseActionWithDurationWithParams:completion:");
- (void)resumeActionWithParams:(MTRActionsClusterResumeActionParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resumeActionWithParams:completion:");
- (void)enableActionWithParams:(MTRActionsClusterEnableActionParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use enableActionWithParams:completion:");
- (void)enableActionWithDurationWithParams:(MTRActionsClusterEnableActionWithDurationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use enableActionWithDurationWithParams:completion:");
- (void)disableActionWithParams:(MTRActionsClusterDisableActionParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use disableActionWithParams:completion:");
- (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithDurationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use disableActionWithDurationWithParams:completion:");
- (void)readAttributeActionListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActionListWithCompletion:");
- (void)subscribeAttributeActionListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActionListWithParams:subscriptionEstablished:");
+ (void)readAttributeActionListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActionListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEndpointListsWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEndpointListsWithCompletion:");
- (void)subscribeAttributeEndpointListsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEndpointListsWithParams:subscriptionEstablished:");
+ (void)readAttributeEndpointListsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEndpointListsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSetupURLWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSetupURLWithCompletion:");
- (void)subscribeAttributeSetupURLWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSetupURLWithParams:subscriptionEstablished:");
+ (void)readAttributeSetupURLWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSetupURLWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterBasic (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use mfgSpecificPingWithParams:completion:");
- (void)mfgSpecificPingWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use mfgSpecificPingWithCompletion:");
- (void)readAttributeDataModelRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDataModelRevisionWithCompletion:");
- (void)subscribeAttributeDataModelRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDataModelRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeDataModelRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDataModelRevisionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeVendorNameWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorNameWithCompletion:");
- (void)subscribeAttributeVendorNameWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeVendorNameWithParams:subscriptionEstablished:");
+ (void)readAttributeVendorNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorNameWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeVendorIDWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorIDWithCompletion:");
- (void)subscribeAttributeVendorIDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeVendorIDWithParams:subscriptionEstablished:");
+ (void)readAttributeVendorIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorIDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeProductNameWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductNameWithCompletion:");
- (void)subscribeAttributeProductNameWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeProductNameWithParams:subscriptionEstablished:");
+ (void)readAttributeProductNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductNameWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeProductIDWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductIDWithCompletion:");
- (void)subscribeAttributeProductIDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeProductIDWithParams:subscriptionEstablished:");
+ (void)readAttributeProductIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductIDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNodeLabelWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNodeLabelWithCompletion:");
- (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNodeLabelWithValue:completion:");
- (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNodeLabelWithValue:params:completion:");
- (void)subscribeAttributeNodeLabelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNodeLabelWithParams:subscriptionEstablished:");
+ (void)readAttributeNodeLabelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNodeLabelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLocationWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocationWithCompletion:");
- (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLocationWithValue:completion:");
- (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLocationWithValue:params:completion:");
- (void)subscribeAttributeLocationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLocationWithParams:subscriptionEstablished:");
+ (void)readAttributeLocationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeHardwareVersionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHardwareVersionWithCompletion:");
- (void)subscribeAttributeHardwareVersionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeHardwareVersionWithParams:subscriptionEstablished:");
+ (void)readAttributeHardwareVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHardwareVersionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeHardwareVersionStringWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHardwareVersionStringWithCompletion:");
- (void)subscribeAttributeHardwareVersionStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeHardwareVersionStringWithParams:subscriptionEstablished:");
+ (void)readAttributeHardwareVersionStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHardwareVersionStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSoftwareVersionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoftwareVersionWithCompletion:");
- (void)subscribeAttributeSoftwareVersionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSoftwareVersionWithParams:subscriptionEstablished:");
+ (void)readAttributeSoftwareVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoftwareVersionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSoftwareVersionStringWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoftwareVersionStringWithCompletion:");
- (void)subscribeAttributeSoftwareVersionStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSoftwareVersionStringWithParams:subscriptionEstablished:");
+ (void)readAttributeSoftwareVersionStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoftwareVersionStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeManufacturingDateWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeManufacturingDateWithCompletion:");
- (void)subscribeAttributeManufacturingDateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeManufacturingDateWithParams:subscriptionEstablished:");
+ (void)readAttributeManufacturingDateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeManufacturingDateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePartNumberWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartNumberWithCompletion:");
- (void)subscribeAttributePartNumberWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePartNumberWithParams:subscriptionEstablished:");
+ (void)readAttributePartNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartNumberWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeProductURLWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductURLWithCompletion:");
- (void)subscribeAttributeProductURLWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeProductURLWithParams:subscriptionEstablished:");
+ (void)readAttributeProductURLWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductURLWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeProductLabelWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductLabelWithCompletion:");
- (void)subscribeAttributeProductLabelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeProductLabelWithParams:subscriptionEstablished:");
+ (void)readAttributeProductLabelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductLabelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSerialNumberWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSerialNumberWithCompletion:");
- (void)subscribeAttributeSerialNumberWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSerialNumberWithParams:subscriptionEstablished:");
+ (void)readAttributeSerialNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSerialNumberWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLocalConfigDisabledWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocalConfigDisabledWithCompletion:");
- (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLocalConfigDisabledWithValue:completion:");
- (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLocalConfigDisabledWithValue:params:completion:");
- (void)subscribeAttributeLocalConfigDisabledWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLocalConfigDisabledWithParams:subscriptionEstablished:");
+ (void)readAttributeLocalConfigDisabledWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocalConfigDisabledWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeReachableWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReachableWithCompletion:");
- (void)subscribeAttributeReachableWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeReachableWithParams:subscriptionEstablished:");
+ (void)readAttributeReachableWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReachableWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUniqueIDWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUniqueIDWithCompletion:");
- (void)subscribeAttributeUniqueIDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUniqueIDWithParams:subscriptionEstablished:");
+ (void)readAttributeUniqueIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUniqueIDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCapabilityMinimaWithCompletionHandler:
(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCapabilityMinimaWithCompletion:");
- (void)subscribeAttributeCapabilityMinimaWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCapabilityMinimaWithParams:subscriptionEstablished:");
+ (void)readAttributeCapabilityMinimaWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCapabilityMinimaWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterOtaSoftwareUpdateProvider (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)queryImageWithParams:(MTROtaSoftwareUpdateProviderClusterQueryImageParams *)params
completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use queryImageWithParams:completion:");
- (void)applyUpdateRequestWithParams:(MTROtaSoftwareUpdateProviderClusterApplyUpdateRequestParams *)params
completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use applyUpdateRequestWithParams:completion:");
- (void)notifyUpdateAppliedWithParams:(MTROtaSoftwareUpdateProviderClusterNotifyUpdateAppliedParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use notifyUpdateAppliedWithParams:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterOtaSoftwareUpdateRequestor (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)announceOtaProviderWithParams:(MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use announceOtaProviderWithParams:completion:");
- (void)readAttributeDefaultOtaProvidersWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDefaultOtaProvidersWithParams:completion:");
- (void)writeAttributeDefaultOtaProvidersWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDefaultOtaProvidersWithValue:completion:");
- (void)writeAttributeDefaultOtaProvidersWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDefaultOtaProvidersWithValue:params:completion:");
- (void)subscribeAttributeDefaultOtaProvidersWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDefaultOtaProvidersWithParams:subscriptionEstablished:");
+ (void)readAttributeDefaultOtaProvidersWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDefaultOtaProvidersWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUpdatePossibleWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUpdatePossibleWithCompletion:");
- (void)subscribeAttributeUpdatePossibleWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUpdatePossibleWithParams:subscriptionEstablished:");
+ (void)readAttributeUpdatePossibleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUpdatePossibleWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUpdateStateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUpdateStateWithCompletion:");
- (void)subscribeAttributeUpdateStateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUpdateStateWithParams:subscriptionEstablished:");
+ (void)readAttributeUpdateStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUpdateStateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUpdateStateProgressWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUpdateStateProgressWithCompletion:");
- (void)subscribeAttributeUpdateStateProgressWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUpdateStateProgressWithParams:subscriptionEstablished:");
+ (void)readAttributeUpdateStateProgressWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUpdateStateProgressWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterLocalizationConfiguration (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeActiveLocaleWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveLocaleWithCompletion:");
- (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeActiveLocaleWithValue:completion:");
- (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeActiveLocaleWithValue:params:completion:");
- (void)subscribeAttributeActiveLocaleWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveLocaleWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveLocaleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveLocaleWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSupportedLocalesWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedLocalesWithCompletion:");
- (void)
subscribeAttributeSupportedLocalesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSupportedLocalesWithParams:subscriptionEstablished:");
+ (void)readAttributeSupportedLocalesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedLocalesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterTimeFormatLocalization (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeHourFormatWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHourFormatWithCompletion:");
- (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeHourFormatWithValue:completion:");
- (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeHourFormatWithValue:params:completion:");
- (void)subscribeAttributeHourFormatWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeHourFormatWithParams:subscriptionEstablished:");
+ (void)readAttributeHourFormatWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHourFormatWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveCalendarTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveCalendarTypeWithCompletion:");
- (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeActiveCalendarTypeWithValue:completion:");
- (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeActiveCalendarTypeWithValue:params:completion:");
- (void)subscribeAttributeActiveCalendarTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveCalendarTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveCalendarTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveCalendarTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSupportedCalendarTypesWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedCalendarTypesWithCompletion:");
- (void)subscribeAttributeSupportedCalendarTypesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSupportedCalendarTypesWithParams:subscriptionEstablished:");
+ (void)readAttributeSupportedCalendarTypesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedCalendarTypesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterUnitLocalization (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeTemperatureUnitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTemperatureUnitWithCompletion:");
- (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTemperatureUnitWithValue:completion:");
- (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTemperatureUnitWithValue:params:completion:");
- (void)subscribeAttributeTemperatureUnitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTemperatureUnitWithParams:subscriptionEstablished:");
+ (void)readAttributeTemperatureUnitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTemperatureUnitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterPowerSourceConfiguration (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeSourcesWithCompletionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSourcesWithCompletion:");
- (void)subscribeAttributeSourcesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSourcesWithParams:subscriptionEstablished:");
+ (void)readAttributeSourcesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSourcesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterPowerSource (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStatusWithCompletion:");
- (void)subscribeAttributeStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOrderWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOrderWithCompletion:");
- (void)subscribeAttributeOrderWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOrderWithParams:subscriptionEstablished:");
+ (void)readAttributeOrderWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOrderWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDescriptionWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDescriptionWithCompletion:");
- (void)subscribeAttributeDescriptionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDescriptionWithParams:subscriptionEstablished:");
+ (void)readAttributeDescriptionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDescriptionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWiredAssessedInputVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredAssessedInputVoltageWithCompletion:");
- (void)subscribeAttributeWiredAssessedInputVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWiredAssessedInputVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeWiredAssessedInputVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredAssessedInputVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWiredAssessedInputFrequencyWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredAssessedInputFrequencyWithCompletion:");
- (void)subscribeAttributeWiredAssessedInputFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWiredAssessedInputFrequencyWithParams:subscriptionEstablished:");
+ (void)readAttributeWiredAssessedInputFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredAssessedInputFrequencyWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWiredCurrentTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredCurrentTypeWithCompletion:");
- (void)
subscribeAttributeWiredCurrentTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWiredCurrentTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeWiredCurrentTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredCurrentTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWiredAssessedCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredAssessedCurrentWithCompletion:");
- (void)subscribeAttributeWiredAssessedCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWiredAssessedCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeWiredAssessedCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredAssessedCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWiredNominalVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredNominalVoltageWithCompletion:");
- (void)subscribeAttributeWiredNominalVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWiredNominalVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeWiredNominalVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredNominalVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWiredMaximumCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredMaximumCurrentWithCompletion:");
- (void)subscribeAttributeWiredMaximumCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWiredMaximumCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeWiredMaximumCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredMaximumCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWiredPresentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredPresentWithCompletion:");
- (void)subscribeAttributeWiredPresentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWiredPresentWithParams:subscriptionEstablished:");
+ (void)readAttributeWiredPresentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiredPresentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveWiredFaultsWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveWiredFaultsWithCompletion:");
- (void)
subscribeAttributeActiveWiredFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveWiredFaultsWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveWiredFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveWiredFaultsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatVoltageWithCompletion:");
- (void)subscribeAttributeBatVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeBatVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatPercentRemainingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatPercentRemainingWithCompletion:");
- (void)subscribeAttributeBatPercentRemainingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatPercentRemainingWithParams:subscriptionEstablished:");
+ (void)readAttributeBatPercentRemainingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatPercentRemainingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatTimeRemainingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatTimeRemainingWithCompletion:");
- (void)
subscribeAttributeBatTimeRemainingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatTimeRemainingWithParams:subscriptionEstablished:");
+ (void)readAttributeBatTimeRemainingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatTimeRemainingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatChargeLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatChargeLevelWithCompletion:");
- (void)subscribeAttributeBatChargeLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatChargeLevelWithParams:subscriptionEstablished:");
+ (void)readAttributeBatChargeLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatChargeLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatReplacementNeededWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatReplacementNeededWithCompletion:");
- (void)subscribeAttributeBatReplacementNeededWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatReplacementNeededWithParams:subscriptionEstablished:");
+ (void)readAttributeBatReplacementNeededWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatReplacementNeededWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatReplaceabilityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatReplaceabilityWithCompletion:");
- (void)subscribeAttributeBatReplaceabilityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatReplaceabilityWithParams:subscriptionEstablished:");
+ (void)readAttributeBatReplaceabilityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatReplaceabilityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatPresentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatPresentWithCompletion:");
- (void)subscribeAttributeBatPresentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatPresentWithParams:subscriptionEstablished:");
+ (void)readAttributeBatPresentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatPresentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveBatFaultsWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveBatFaultsWithCompletion:");
- (void)subscribeAttributeActiveBatFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveBatFaultsWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveBatFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveBatFaultsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatReplacementDescriptionWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatReplacementDescriptionWithCompletion:");
- (void)subscribeAttributeBatReplacementDescriptionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatReplacementDescriptionWithParams:subscriptionEstablished:");
+ (void)readAttributeBatReplacementDescriptionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatReplacementDescriptionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatCommonDesignationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatCommonDesignationWithCompletion:");
- (void)subscribeAttributeBatCommonDesignationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatCommonDesignationWithParams:subscriptionEstablished:");
+ (void)readAttributeBatCommonDesignationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatCommonDesignationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatANSIDesignationWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatANSIDesignationWithCompletion:");
- (void)subscribeAttributeBatANSIDesignationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatANSIDesignationWithParams:subscriptionEstablished:");
+ (void)readAttributeBatANSIDesignationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatANSIDesignationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatIECDesignationWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatIECDesignationWithCompletion:");
- (void)subscribeAttributeBatIECDesignationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatIECDesignationWithParams:subscriptionEstablished:");
+ (void)readAttributeBatIECDesignationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatIECDesignationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatApprovedChemistryWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatApprovedChemistryWithCompletion:");
- (void)subscribeAttributeBatApprovedChemistryWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatApprovedChemistryWithParams:subscriptionEstablished:");
+ (void)readAttributeBatApprovedChemistryWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatApprovedChemistryWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatCapacityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatCapacityWithCompletion:");
- (void)subscribeAttributeBatCapacityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatCapacityWithParams:subscriptionEstablished:");
+ (void)readAttributeBatCapacityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatCapacityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatQuantityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatQuantityWithCompletion:");
- (void)subscribeAttributeBatQuantityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatQuantityWithParams:subscriptionEstablished:");
+ (void)readAttributeBatQuantityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatQuantityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatChargeStateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatChargeStateWithCompletion:");
- (void)subscribeAttributeBatChargeStateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatChargeStateWithParams:subscriptionEstablished:");
+ (void)readAttributeBatChargeStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatChargeStateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatTimeToFullChargeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatTimeToFullChargeWithCompletion:");
- (void)subscribeAttributeBatTimeToFullChargeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatTimeToFullChargeWithParams:subscriptionEstablished:");
+ (void)readAttributeBatTimeToFullChargeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatTimeToFullChargeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatFunctionalWhileChargingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatFunctionalWhileChargingWithCompletion:");
- (void)subscribeAttributeBatFunctionalWhileChargingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatFunctionalWhileChargingWithParams:subscriptionEstablished:");
+ (void)readAttributeBatFunctionalWhileChargingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatFunctionalWhileChargingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBatChargingCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatChargingCurrentWithCompletion:");
- (void)subscribeAttributeBatChargingCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBatChargingCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeBatChargingCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBatChargingCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveBatChargeFaultsWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveBatChargeFaultsWithCompletion:");
- (void)subscribeAttributeActiveBatChargeFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveBatChargeFaultsWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveBatChargeFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveBatChargeFaultsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterGeneralCommissioning (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)armFailSafeWithParams:(MTRGeneralCommissioningClusterArmFailSafeParams *)params
completionHandler:(void (^)(MTRGeneralCommissioningClusterArmFailSafeResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use armFailSafeWithParams:completion:");
- (void)setRegulatoryConfigWithParams:(MTRGeneralCommissioningClusterSetRegulatoryConfigParams *)params
completionHandler:(void (^)(MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use setRegulatoryConfigWithParams:completion:");
- (void)commissioningCompleteWithParams:(MTRGeneralCommissioningClusterCommissioningCompleteParams * _Nullable)params
completionHandler:
(void (^)(MTRGeneralCommissioningClusterCommissioningCompleteResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use commissioningCompleteWithParams:completion:");
- (void)commissioningCompleteWithCompletionHandler:
(void (^)(MTRGeneralCommissioningClusterCommissioningCompleteResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler MTR_NEWLY_DEPRECATED("Please use commissioningCompleteWithCompletion:");
- (void)readAttributeBreadcrumbWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBreadcrumbWithCompletion:");
- (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBreadcrumbWithValue:completion:");
- (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBreadcrumbWithValue:params:completion:");
- (void)subscribeAttributeBreadcrumbWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBreadcrumbWithParams:subscriptionEstablished:");
+ (void)readAttributeBreadcrumbWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBreadcrumbWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBasicCommissioningInfoWithCompletionHandler:
(void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBasicCommissioningInfoWithCompletion:");
- (void)subscribeAttributeBasicCommissioningInfoWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(
MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBasicCommissioningInfoWithParams:subscriptionEstablished:");
+ (void)readAttributeBasicCommissioningInfoWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBasicCommissioningInfoWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRegulatoryConfigWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRegulatoryConfigWithCompletion:");
- (void)
subscribeAttributeRegulatoryConfigWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRegulatoryConfigWithParams:subscriptionEstablished:");
+ (void)readAttributeRegulatoryConfigWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRegulatoryConfigWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLocationCapabilityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocationCapabilityWithCompletion:");
- (void)subscribeAttributeLocationCapabilityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLocationCapabilityWithParams:subscriptionEstablished:");
+ (void)readAttributeLocationCapabilityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocationCapabilityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSupportsConcurrentConnectionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportsConcurrentConnectionWithCompletion:");
- (void)subscribeAttributeSupportsConcurrentConnectionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSupportsConcurrentConnectionWithParams:subscriptionEstablished:");
+ (void)readAttributeSupportsConcurrentConnectionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportsConcurrentConnectionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterNetworkCommissioning (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)scanNetworksWithParams:(MTRNetworkCommissioningClusterScanNetworksParams * _Nullable)params
completionHandler:(void (^)(MTRNetworkCommissioningClusterScanNetworksResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use scanNetworksWithParams:completion:");
- (void)addOrUpdateWiFiNetworkWithParams:(MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams *)params
completionHandler:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use addOrUpdateWiFiNetworkWithParams:completion:");
- (void)addOrUpdateThreadNetworkWithParams:(MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams *)params
completionHandler:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use addOrUpdateThreadNetworkWithParams:completion:");
- (void)removeNetworkWithParams:(MTRNetworkCommissioningClusterRemoveNetworkParams *)params
completionHandler:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use removeNetworkWithParams:completion:");
- (void)connectNetworkWithParams:(MTRNetworkCommissioningClusterConnectNetworkParams *)params
completionHandler:(void (^)(MTRNetworkCommissioningClusterConnectNetworkResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use connectNetworkWithParams:completion:");
- (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkParams *)params
completionHandler:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use reorderNetworkWithParams:completion:");
- (void)readAttributeMaxNetworksWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxNetworksWithCompletion:");
- (void)subscribeAttributeMaxNetworksWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxNetworksWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxNetworksWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxNetworksWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNetworksWithCompletionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNetworksWithCompletion:");
- (void)subscribeAttributeNetworksWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNetworksWithParams:subscriptionEstablished:");
+ (void)readAttributeNetworksWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNetworksWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeScanMaxTimeSecondsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScanMaxTimeSecondsWithCompletion:");
- (void)subscribeAttributeScanMaxTimeSecondsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeScanMaxTimeSecondsWithParams:subscriptionEstablished:");
+ (void)readAttributeScanMaxTimeSecondsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScanMaxTimeSecondsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeConnectMaxTimeSecondsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeConnectMaxTimeSecondsWithCompletion:");
- (void)subscribeAttributeConnectMaxTimeSecondsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeConnectMaxTimeSecondsWithParams:subscriptionEstablished:");
+ (void)readAttributeConnectMaxTimeSecondsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeConnectMaxTimeSecondsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInterfaceEnabledWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInterfaceEnabledWithCompletion:");
- (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInterfaceEnabledWithValue:completion:");
- (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInterfaceEnabledWithValue:params:completion:");
- (void)
subscribeAttributeInterfaceEnabledWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInterfaceEnabledWithParams:subscriptionEstablished:");
+ (void)readAttributeInterfaceEnabledWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInterfaceEnabledWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLastNetworkingStatusWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLastNetworkingStatusWithCompletion:");
- (void)subscribeAttributeLastNetworkingStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLastNetworkingStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeLastNetworkingStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLastNetworkingStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLastNetworkIDWithCompletionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLastNetworkIDWithCompletion:");
- (void)subscribeAttributeLastNetworkIDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLastNetworkIDWithParams:subscriptionEstablished:");
+ (void)readAttributeLastNetworkIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLastNetworkIDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLastConnectErrorValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLastConnectErrorValueWithCompletion:");
- (void)subscribeAttributeLastConnectErrorValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLastConnectErrorValueWithParams:subscriptionEstablished:");
+ (void)readAttributeLastConnectErrorValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLastConnectErrorValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterDiagnosticLogs (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsRequestParams *)params
completionHandler:(void (^)(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use retrieveLogsRequestWithParams:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterGeneralDiagnostics (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTriggerParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use testEventTriggerWithParams:completion:");
- (void)readAttributeNetworkInterfacesWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNetworkInterfacesWithCompletion:");
- (void)
subscribeAttributeNetworkInterfacesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNetworkInterfacesWithParams:subscriptionEstablished:");
+ (void)readAttributeNetworkInterfacesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNetworkInterfacesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRebootCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRebootCountWithCompletion:");
- (void)subscribeAttributeRebootCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRebootCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRebootCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRebootCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUpTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUpTimeWithCompletion:");
- (void)subscribeAttributeUpTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUpTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeUpTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUpTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTotalOperationalHoursWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTotalOperationalHoursWithCompletion:");
- (void)subscribeAttributeTotalOperationalHoursWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTotalOperationalHoursWithParams:subscriptionEstablished:");
+ (void)readAttributeTotalOperationalHoursWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTotalOperationalHoursWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBootReasonsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBootReasonsWithCompletion:");
- (void)subscribeAttributeBootReasonsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBootReasonsWithParams:subscriptionEstablished:");
+ (void)readAttributeBootReasonsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBootReasonsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveHardwareFaultsWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveHardwareFaultsWithCompletion:");
- (void)subscribeAttributeActiveHardwareFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveHardwareFaultsWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveHardwareFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveHardwareFaultsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveRadioFaultsWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveRadioFaultsWithCompletion:");
- (void)
subscribeAttributeActiveRadioFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveRadioFaultsWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveRadioFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveRadioFaultsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveNetworkFaultsWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveNetworkFaultsWithCompletion:");
- (void)subscribeAttributeActiveNetworkFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveNetworkFaultsWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveNetworkFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveNetworkFaultsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTestEventTriggersEnabledWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTestEventTriggersEnabledWithCompletion:");
- (void)subscribeAttributeTestEventTriggersEnabledWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTestEventTriggersEnabledWithParams:subscriptionEstablished:");
+ (void)readAttributeTestEventTriggersEnabledWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTestEventTriggersEnabledWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterSoftwareDiagnostics (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resetWatermarksWithParams:completion:");
- (void)resetWatermarksWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resetWatermarksWithCompletion:");
- (void)readAttributeThreadMetricsWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeThreadMetricsWithCompletion:");
- (void)subscribeAttributeThreadMetricsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeThreadMetricsWithParams:subscriptionEstablished:");
+ (void)readAttributeThreadMetricsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeThreadMetricsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentHeapFreeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentHeapFreeWithCompletion:");
- (void)subscribeAttributeCurrentHeapFreeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentHeapFreeWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentHeapFreeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentHeapFreeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentHeapUsedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentHeapUsedWithCompletion:");
- (void)subscribeAttributeCurrentHeapUsedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentHeapUsedWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentHeapUsedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentHeapUsedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentHeapHighWatermarkWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentHeapHighWatermarkWithCompletion:");
- (void)subscribeAttributeCurrentHeapHighWatermarkWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentHeapHighWatermarkWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentHeapHighWatermarkWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentHeapHighWatermarkWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterThreadNetworkDiagnostics (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resetCountsWithParams:completion:");
- (void)resetCountsWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resetCountsWithCompletion:");
- (void)readAttributeChannelWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChannelWithCompletion:");
- (void)subscribeAttributeChannelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeChannelWithParams:subscriptionEstablished:");
+ (void)readAttributeChannelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChannelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRoutingRoleWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRoutingRoleWithCompletion:");
- (void)subscribeAttributeRoutingRoleWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRoutingRoleWithParams:subscriptionEstablished:");
+ (void)readAttributeRoutingRoleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRoutingRoleWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNetworkNameWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNetworkNameWithCompletion:");
- (void)subscribeAttributeNetworkNameWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNetworkNameWithParams:subscriptionEstablished:");
+ (void)readAttributeNetworkNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNetworkNameWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePanIdWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePanIdWithCompletion:");
- (void)subscribeAttributePanIdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePanIdWithParams:subscriptionEstablished:");
+ (void)readAttributePanIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePanIdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeExtendedPanIdWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeExtendedPanIdWithCompletion:");
- (void)subscribeAttributeExtendedPanIdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeExtendedPanIdWithParams:subscriptionEstablished:");
+ (void)readAttributeExtendedPanIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeExtendedPanIdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeshLocalPrefixWithCompletionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeshLocalPrefixWithCompletion:");
- (void)subscribeAttributeMeshLocalPrefixWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeshLocalPrefixWithParams:subscriptionEstablished:");
+ (void)readAttributeMeshLocalPrefixWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeshLocalPrefixWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOverrunCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOverrunCountWithCompletion:");
- (void)subscribeAttributeOverrunCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOverrunCountWithParams:subscriptionEstablished:");
+ (void)readAttributeOverrunCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOverrunCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNeighborTableListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNeighborTableListWithCompletion:");
- (void)
subscribeAttributeNeighborTableListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNeighborTableListWithParams:subscriptionEstablished:");
+ (void)readAttributeNeighborTableListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNeighborTableListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRouteTableListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRouteTableListWithCompletion:");
- (void)subscribeAttributeRouteTableListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRouteTableListWithParams:subscriptionEstablished:");
+ (void)readAttributeRouteTableListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRouteTableListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePartitionIdWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartitionIdWithCompletion:");
- (void)subscribeAttributePartitionIdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePartitionIdWithParams:subscriptionEstablished:");
+ (void)readAttributePartitionIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartitionIdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWeightingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWeightingWithCompletion:");
- (void)subscribeAttributeWeightingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWeightingWithParams:subscriptionEstablished:");
+ (void)readAttributeWeightingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWeightingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDataVersionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDataVersionWithCompletion:");
- (void)subscribeAttributeDataVersionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDataVersionWithParams:subscriptionEstablished:");
+ (void)readAttributeDataVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDataVersionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStableDataVersionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStableDataVersionWithCompletion:");
- (void)subscribeAttributeStableDataVersionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStableDataVersionWithParams:subscriptionEstablished:");
+ (void)readAttributeStableDataVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStableDataVersionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLeaderRouterIdWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLeaderRouterIdWithCompletion:");
- (void)subscribeAttributeLeaderRouterIdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLeaderRouterIdWithParams:subscriptionEstablished:");
+ (void)readAttributeLeaderRouterIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLeaderRouterIdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDetachedRoleCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDetachedRoleCountWithCompletion:");
- (void)subscribeAttributeDetachedRoleCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDetachedRoleCountWithParams:subscriptionEstablished:");
+ (void)readAttributeDetachedRoleCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDetachedRoleCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeChildRoleCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChildRoleCountWithCompletion:");
- (void)subscribeAttributeChildRoleCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeChildRoleCountWithParams:subscriptionEstablished:");
+ (void)readAttributeChildRoleCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChildRoleCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRouterRoleCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRouterRoleCountWithCompletion:");
- (void)subscribeAttributeRouterRoleCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRouterRoleCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRouterRoleCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRouterRoleCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLeaderRoleCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLeaderRoleCountWithCompletion:");
- (void)subscribeAttributeLeaderRoleCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLeaderRoleCountWithParams:subscriptionEstablished:");
+ (void)readAttributeLeaderRoleCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLeaderRoleCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttachAttemptCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttachAttemptCountWithCompletion:");
- (void)subscribeAttributeAttachAttemptCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttachAttemptCountWithParams:subscriptionEstablished:");
+ (void)readAttributeAttachAttemptCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttachAttemptCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePartitionIdChangeCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartitionIdChangeCountWithCompletion:");
- (void)subscribeAttributePartitionIdChangeCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePartitionIdChangeCountWithParams:subscriptionEstablished:");
+ (void)readAttributePartitionIdChangeCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartitionIdChangeCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBetterPartitionAttachAttemptCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBetterPartitionAttachAttemptCountWithCompletion:");
- (void)subscribeAttributeBetterPartitionAttachAttemptCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBetterPartitionAttachAttemptCountWithParams:subscriptionEstablished:");
+ (void)readAttributeBetterPartitionAttachAttemptCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBetterPartitionAttachAttemptCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeParentChangeCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeParentChangeCountWithCompletion:");
- (void)subscribeAttributeParentChangeCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeParentChangeCountWithParams:subscriptionEstablished:");
+ (void)readAttributeParentChangeCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeParentChangeCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxTotalCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxTotalCountWithCompletion:");
- (void)subscribeAttributeTxTotalCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxTotalCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxTotalCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxTotalCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxUnicastCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxUnicastCountWithCompletion:");
- (void)subscribeAttributeTxUnicastCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxUnicastCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxUnicastCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxUnicastCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxBroadcastCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxBroadcastCountWithCompletion:");
- (void)
subscribeAttributeTxBroadcastCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxBroadcastCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxBroadcastCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxBroadcastCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxAckRequestedCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxAckRequestedCountWithCompletion:");
- (void)subscribeAttributeTxAckRequestedCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxAckRequestedCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxAckRequestedCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxAckRequestedCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxAckedCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxAckedCountWithCompletion:");
- (void)subscribeAttributeTxAckedCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxAckedCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxAckedCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxAckedCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxNoAckRequestedCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxNoAckRequestedCountWithCompletion:");
- (void)subscribeAttributeTxNoAckRequestedCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxNoAckRequestedCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxNoAckRequestedCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxNoAckRequestedCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxDataCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxDataCountWithCompletion:");
- (void)subscribeAttributeTxDataCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxDataCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxDataCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxDataCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxDataPollCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxDataPollCountWithCompletion:");
- (void)subscribeAttributeTxDataPollCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxDataPollCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxDataPollCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxDataPollCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxBeaconCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxBeaconCountWithCompletion:");
- (void)subscribeAttributeTxBeaconCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxBeaconCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxBeaconCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxBeaconCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxBeaconRequestCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxBeaconRequestCountWithCompletion:");
- (void)subscribeAttributeTxBeaconRequestCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxBeaconRequestCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxBeaconRequestCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxBeaconRequestCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxOtherCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxOtherCountWithCompletion:");
- (void)subscribeAttributeTxOtherCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxOtherCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxOtherCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxOtherCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxRetryCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxRetryCountWithCompletion:");
- (void)subscribeAttributeTxRetryCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxRetryCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxRetryCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxRetryCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxDirectMaxRetryExpiryCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxDirectMaxRetryExpiryCountWithCompletion:");
- (void)subscribeAttributeTxDirectMaxRetryExpiryCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxDirectMaxRetryExpiryCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxDirectMaxRetryExpiryCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxDirectMaxRetryExpiryCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxIndirectMaxRetryExpiryCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxIndirectMaxRetryExpiryCountWithCompletion:");
- (void)subscribeAttributeTxIndirectMaxRetryExpiryCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxIndirectMaxRetryExpiryCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxIndirectMaxRetryExpiryCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxIndirectMaxRetryExpiryCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxErrCcaCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxErrCcaCountWithCompletion:");
- (void)subscribeAttributeTxErrCcaCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxErrCcaCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxErrCcaCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxErrCcaCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxErrAbortCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxErrAbortCountWithCompletion:");
- (void)subscribeAttributeTxErrAbortCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxErrAbortCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxErrAbortCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxErrAbortCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxErrBusyChannelCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxErrBusyChannelCountWithCompletion:");
- (void)subscribeAttributeTxErrBusyChannelCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxErrBusyChannelCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxErrBusyChannelCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxErrBusyChannelCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxTotalCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxTotalCountWithCompletion:");
- (void)subscribeAttributeRxTotalCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxTotalCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxTotalCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxTotalCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxUnicastCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxUnicastCountWithCompletion:");
- (void)subscribeAttributeRxUnicastCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxUnicastCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxUnicastCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxUnicastCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxBroadcastCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxBroadcastCountWithCompletion:");
- (void)
subscribeAttributeRxBroadcastCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxBroadcastCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxBroadcastCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxBroadcastCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxDataCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxDataCountWithCompletion:");
- (void)subscribeAttributeRxDataCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxDataCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxDataCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxDataCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxDataPollCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxDataPollCountWithCompletion:");
- (void)subscribeAttributeRxDataPollCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxDataPollCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxDataPollCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxDataPollCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxBeaconCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxBeaconCountWithCompletion:");
- (void)subscribeAttributeRxBeaconCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxBeaconCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxBeaconCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxBeaconCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxBeaconRequestCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxBeaconRequestCountWithCompletion:");
- (void)subscribeAttributeRxBeaconRequestCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxBeaconRequestCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxBeaconRequestCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxBeaconRequestCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxOtherCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxOtherCountWithCompletion:");
- (void)subscribeAttributeRxOtherCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxOtherCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxOtherCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxOtherCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxAddressFilteredCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxAddressFilteredCountWithCompletion:");
- (void)subscribeAttributeRxAddressFilteredCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxAddressFilteredCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxAddressFilteredCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxAddressFilteredCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxDestAddrFilteredCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxDestAddrFilteredCountWithCompletion:");
- (void)subscribeAttributeRxDestAddrFilteredCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxDestAddrFilteredCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxDestAddrFilteredCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxDestAddrFilteredCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxDuplicatedCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxDuplicatedCountWithCompletion:");
- (void)subscribeAttributeRxDuplicatedCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxDuplicatedCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxDuplicatedCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxDuplicatedCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxErrNoFrameCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrNoFrameCountWithCompletion:");
- (void)subscribeAttributeRxErrNoFrameCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxErrNoFrameCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxErrNoFrameCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrNoFrameCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxErrUnknownNeighborCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrUnknownNeighborCountWithCompletion:");
- (void)subscribeAttributeRxErrUnknownNeighborCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxErrUnknownNeighborCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxErrUnknownNeighborCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrUnknownNeighborCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxErrInvalidSrcAddrCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrInvalidSrcAddrCountWithCompletion:");
- (void)subscribeAttributeRxErrInvalidSrcAddrCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxErrInvalidSrcAddrCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxErrInvalidSrcAddrCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrInvalidSrcAddrCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxErrSecCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrSecCountWithCompletion:");
- (void)subscribeAttributeRxErrSecCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxErrSecCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxErrSecCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrSecCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxErrFcsCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrFcsCountWithCompletion:");
- (void)subscribeAttributeRxErrFcsCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxErrFcsCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxErrFcsCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrFcsCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRxErrOtherCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrOtherCountWithCompletion:");
- (void)subscribeAttributeRxErrOtherCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRxErrOtherCountWithParams:subscriptionEstablished:");
+ (void)readAttributeRxErrOtherCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRxErrOtherCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveTimestampWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveTimestampWithCompletion:");
- (void)subscribeAttributeActiveTimestampWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveTimestampWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveTimestampWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveTimestampWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePendingTimestampWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePendingTimestampWithCompletion:");
- (void)
subscribeAttributePendingTimestampWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePendingTimestampWithParams:subscriptionEstablished:");
+ (void)readAttributePendingTimestampWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePendingTimestampWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDelayWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDelayWithCompletion:");
- (void)subscribeAttributeDelayWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDelayWithParams:subscriptionEstablished:");
+ (void)readAttributeDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDelayWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSecurityPolicyWithCompletionHandler:
(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSecurityPolicyWithCompletion:");
- (void)subscribeAttributeSecurityPolicyWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSecurityPolicyWithParams:subscriptionEstablished:");
+ (void)readAttributeSecurityPolicyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSecurityPolicyWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeChannelPage0MaskWithCompletionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChannelPage0MaskWithCompletion:");
- (void)
subscribeAttributeChannelPage0MaskWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeChannelPage0MaskWithParams:subscriptionEstablished:");
+ (void)readAttributeChannelPage0MaskWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChannelPage0MaskWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOperationalDatasetComponentsWithCompletionHandler:
(void (^)(MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOperationalDatasetComponentsWithCompletion:");
- (void)
subscribeAttributeOperationalDatasetComponentsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(
MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOperationalDatasetComponentsWithParams:subscriptionEstablished:");
+ (void)
readAttributeOperationalDatasetComponentsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(
MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOperationalDatasetComponentsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveNetworkFaultsListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveNetworkFaultsListWithCompletion:");
- (void)subscribeAttributeActiveNetworkFaultsListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveNetworkFaultsListWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveNetworkFaultsListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveNetworkFaultsListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterWiFiNetworkDiagnostics (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resetCountsWithParams:completion:");
- (void)resetCountsWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resetCountsWithCompletion:");
- (void)readAttributeBssidWithCompletionHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBssidWithCompletion:");
- (void)subscribeAttributeBssidWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBssidWithParams:subscriptionEstablished:");
+ (void)readAttributeBssidWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBssidWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSecurityTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSecurityTypeWithCompletion:");
- (void)subscribeAttributeSecurityTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSecurityTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeSecurityTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSecurityTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWiFiVersionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiFiVersionWithCompletion:");
- (void)subscribeAttributeWiFiVersionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWiFiVersionWithParams:subscriptionEstablished:");
+ (void)readAttributeWiFiVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWiFiVersionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeChannelNumberWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChannelNumberWithCompletion:");
- (void)subscribeAttributeChannelNumberWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeChannelNumberWithParams:subscriptionEstablished:");
+ (void)readAttributeChannelNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChannelNumberWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRssiWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRssiWithCompletion:");
- (void)subscribeAttributeRssiWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRssiWithParams:subscriptionEstablished:");
+ (void)readAttributeRssiWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRssiWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBeaconLostCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBeaconLostCountWithCompletion:");
- (void)subscribeAttributeBeaconLostCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBeaconLostCountWithParams:subscriptionEstablished:");
+ (void)readAttributeBeaconLostCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBeaconLostCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBeaconRxCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBeaconRxCountWithCompletion:");
- (void)subscribeAttributeBeaconRxCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBeaconRxCountWithParams:subscriptionEstablished:");
+ (void)readAttributeBeaconRxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBeaconRxCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePacketMulticastRxCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketMulticastRxCountWithCompletion:");
- (void)subscribeAttributePacketMulticastRxCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePacketMulticastRxCountWithParams:subscriptionEstablished:");
+ (void)readAttributePacketMulticastRxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketMulticastRxCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePacketMulticastTxCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketMulticastTxCountWithCompletion:");
- (void)subscribeAttributePacketMulticastTxCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePacketMulticastTxCountWithParams:subscriptionEstablished:");
+ (void)readAttributePacketMulticastTxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketMulticastTxCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePacketUnicastRxCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketUnicastRxCountWithCompletion:");
- (void)subscribeAttributePacketUnicastRxCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePacketUnicastRxCountWithParams:subscriptionEstablished:");
+ (void)readAttributePacketUnicastRxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketUnicastRxCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePacketUnicastTxCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketUnicastTxCountWithCompletion:");
- (void)subscribeAttributePacketUnicastTxCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePacketUnicastTxCountWithParams:subscriptionEstablished:");
+ (void)readAttributePacketUnicastTxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketUnicastTxCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentMaxRateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentMaxRateWithCompletion:");
- (void)subscribeAttributeCurrentMaxRateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentMaxRateWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentMaxRateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentMaxRateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOverrunCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOverrunCountWithCompletion:");
- (void)subscribeAttributeOverrunCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOverrunCountWithParams:subscriptionEstablished:");
+ (void)readAttributeOverrunCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOverrunCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterEthernetNetworkDiagnostics (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resetCountsWithParams:completion:");
- (void)resetCountsWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use resetCountsWithCompletion:");
- (void)readAttributePHYRateWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePHYRateWithCompletion:");
- (void)subscribeAttributePHYRateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePHYRateWithParams:subscriptionEstablished:");
+ (void)readAttributePHYRateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePHYRateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFullDuplexWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFullDuplexWithCompletion:");
- (void)subscribeAttributeFullDuplexWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFullDuplexWithParams:subscriptionEstablished:");
+ (void)readAttributeFullDuplexWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFullDuplexWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePacketRxCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketRxCountWithCompletion:");
- (void)subscribeAttributePacketRxCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePacketRxCountWithParams:subscriptionEstablished:");
+ (void)readAttributePacketRxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketRxCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePacketTxCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketTxCountWithCompletion:");
- (void)subscribeAttributePacketTxCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePacketTxCountWithParams:subscriptionEstablished:");
+ (void)readAttributePacketTxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePacketTxCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTxErrCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxErrCountWithCompletion:");
- (void)subscribeAttributeTxErrCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTxErrCountWithParams:subscriptionEstablished:");
+ (void)readAttributeTxErrCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTxErrCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCollisionCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCollisionCountWithCompletion:");
- (void)subscribeAttributeCollisionCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCollisionCountWithParams:subscriptionEstablished:");
+ (void)readAttributeCollisionCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCollisionCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOverrunCountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOverrunCountWithCompletion:");
- (void)subscribeAttributeOverrunCountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOverrunCountWithParams:subscriptionEstablished:");
+ (void)readAttributeOverrunCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOverrunCountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCarrierDetectWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCarrierDetectWithCompletion:");
- (void)subscribeAttributeCarrierDetectWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCarrierDetectWithParams:subscriptionEstablished:");
+ (void)readAttributeCarrierDetectWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCarrierDetectWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTimeSinceResetWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTimeSinceResetWithCompletion:");
- (void)subscribeAttributeTimeSinceResetWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTimeSinceResetWithParams:subscriptionEstablished:");
+ (void)readAttributeTimeSinceResetWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTimeSinceResetWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterBridgedDeviceBasic (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeVendorNameWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorNameWithCompletion:");
- (void)subscribeAttributeVendorNameWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeVendorNameWithParams:subscriptionEstablished:");
+ (void)readAttributeVendorNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorNameWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeVendorIDWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorIDWithCompletion:");
- (void)subscribeAttributeVendorIDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeVendorIDWithParams:subscriptionEstablished:");
+ (void)readAttributeVendorIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorIDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeProductNameWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductNameWithCompletion:");
- (void)subscribeAttributeProductNameWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeProductNameWithParams:subscriptionEstablished:");
+ (void)readAttributeProductNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductNameWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNodeLabelWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNodeLabelWithCompletion:");
- (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNodeLabelWithValue:completion:");
- (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNodeLabelWithValue:params:completion:");
- (void)subscribeAttributeNodeLabelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNodeLabelWithParams:subscriptionEstablished:");
+ (void)readAttributeNodeLabelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNodeLabelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeHardwareVersionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHardwareVersionWithCompletion:");
- (void)subscribeAttributeHardwareVersionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeHardwareVersionWithParams:subscriptionEstablished:");
+ (void)readAttributeHardwareVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHardwareVersionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeHardwareVersionStringWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHardwareVersionStringWithCompletion:");
- (void)subscribeAttributeHardwareVersionStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeHardwareVersionStringWithParams:subscriptionEstablished:");
+ (void)readAttributeHardwareVersionStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHardwareVersionStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSoftwareVersionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoftwareVersionWithCompletion:");
- (void)subscribeAttributeSoftwareVersionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSoftwareVersionWithParams:subscriptionEstablished:");
+ (void)readAttributeSoftwareVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoftwareVersionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSoftwareVersionStringWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoftwareVersionStringWithCompletion:");
- (void)subscribeAttributeSoftwareVersionStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSoftwareVersionStringWithParams:subscriptionEstablished:");
+ (void)readAttributeSoftwareVersionStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoftwareVersionStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeManufacturingDateWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeManufacturingDateWithCompletion:");
- (void)subscribeAttributeManufacturingDateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeManufacturingDateWithParams:subscriptionEstablished:");
+ (void)readAttributeManufacturingDateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeManufacturingDateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePartNumberWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartNumberWithCompletion:");
- (void)subscribeAttributePartNumberWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePartNumberWithParams:subscriptionEstablished:");
+ (void)readAttributePartNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePartNumberWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeProductURLWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductURLWithCompletion:");
- (void)subscribeAttributeProductURLWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeProductURLWithParams:subscriptionEstablished:");
+ (void)readAttributeProductURLWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductURLWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeProductLabelWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductLabelWithCompletion:");
- (void)subscribeAttributeProductLabelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeProductLabelWithParams:subscriptionEstablished:");
+ (void)readAttributeProductLabelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductLabelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSerialNumberWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSerialNumberWithCompletion:");
- (void)subscribeAttributeSerialNumberWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSerialNumberWithParams:subscriptionEstablished:");
+ (void)readAttributeSerialNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSerialNumberWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeReachableWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReachableWithCompletion:");
- (void)subscribeAttributeReachableWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeReachableWithParams:subscriptionEstablished:");
+ (void)readAttributeReachableWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReachableWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUniqueIDWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUniqueIDWithCompletion:");
- (void)subscribeAttributeUniqueIDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUniqueIDWithParams:subscriptionEstablished:");
+ (void)readAttributeUniqueIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUniqueIDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterSwitch (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeNumberOfPositionsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfPositionsWithCompletion:");
- (void)subscribeAttributeNumberOfPositionsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfPositionsWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfPositionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfPositionsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentPositionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionWithCompletion:");
- (void)subscribeAttributeCurrentPositionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentPositionWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentPositionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMultiPressMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMultiPressMaxWithCompletion:");
- (void)subscribeAttributeMultiPressMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMultiPressMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeMultiPressMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMultiPressMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterAdministratorCommissioning (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use openCommissioningWindowWithParams:completion:");
- (void)openBasicCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use openBasicCommissioningWindowWithParams:completion:");
- (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevokeCommissioningParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use revokeCommissioningWithParams:completion:");
- (void)revokeCommissioningWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use revokeCommissioningWithCompletion:");
- (void)readAttributeWindowStatusWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWindowStatusWithCompletion:");
- (void)subscribeAttributeWindowStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWindowStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeWindowStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWindowStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAdminFabricIndexWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAdminFabricIndexWithCompletion:");
- (void)
subscribeAttributeAdminFabricIndexWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAdminFabricIndexWithParams:subscriptionEstablished:");
+ (void)readAttributeAdminFabricIndexWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAdminFabricIndexWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAdminVendorIdWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAdminVendorIdWithCompletion:");
- (void)subscribeAttributeAdminVendorIdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAdminVendorIdWithParams:subscriptionEstablished:");
+ (void)readAttributeAdminVendorIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAdminVendorIdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterOperationalCredentials (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)attestationRequestWithParams:(MTROperationalCredentialsClusterAttestationRequestParams *)params
completionHandler:(void (^)(MTROperationalCredentialsClusterAttestationResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use attestationRequestWithParams:completion:");
- (void)certificateChainRequestWithParams:(MTROperationalCredentialsClusterCertificateChainRequestParams *)params
completionHandler:(void (^)(MTROperationalCredentialsClusterCertificateChainResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use certificateChainRequestWithParams:completion:");
- (void)CSRRequestWithParams:(MTROperationalCredentialsClusterCSRRequestParams *)params
completionHandler:(void (^)(MTROperationalCredentialsClusterCSRResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use CSRRequestWithParams:completion:");
- (void)addNOCWithParams:(MTROperationalCredentialsClusterAddNOCParams *)params
completionHandler:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use addNOCWithParams:completion:");
- (void)updateNOCWithParams:(MTROperationalCredentialsClusterUpdateNOCParams *)params
completionHandler:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use updateNOCWithParams:completion:");
- (void)updateFabricLabelWithParams:(MTROperationalCredentialsClusterUpdateFabricLabelParams *)params
completionHandler:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use updateFabricLabelWithParams:completion:");
- (void)removeFabricWithParams:(MTROperationalCredentialsClusterRemoveFabricParams *)params
completionHandler:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use removeFabricWithParams:completion:");
- (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAddTrustedRootCertificateParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use addTrustedRootCertificateWithParams:completion:");
- (void)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNOCsWithParams:completion:");
- (void)subscribeAttributeNOCsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNOCsWithParams:subscriptionEstablished:");
+ (void)readAttributeNOCsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNOCsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFabricsWithParams:completion:");
- (void)subscribeAttributeFabricsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFabricsWithParams:subscriptionEstablished:");
+ (void)readAttributeFabricsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFabricsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSupportedFabricsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedFabricsWithCompletion:");
- (void)
subscribeAttributeSupportedFabricsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSupportedFabricsWithParams:subscriptionEstablished:");
+ (void)readAttributeSupportedFabricsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedFabricsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCommissionedFabricsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCommissionedFabricsWithCompletion:");
- (void)subscribeAttributeCommissionedFabricsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCommissionedFabricsWithParams:subscriptionEstablished:");
+ (void)readAttributeCommissionedFabricsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCommissionedFabricsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTrustedRootCertificatesWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTrustedRootCertificatesWithCompletion:");
- (void)subscribeAttributeTrustedRootCertificatesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTrustedRootCertificatesWithParams:subscriptionEstablished:");
+ (void)readAttributeTrustedRootCertificatesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTrustedRootCertificatesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentFabricIndexWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentFabricIndexWithCompletion:");
- (void)subscribeAttributeCurrentFabricIndexWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentFabricIndexWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentFabricIndexWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentFabricIndexWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterGroupKeyManagement (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)keySetWriteWithParams:(MTRGroupKeyManagementClusterKeySetWriteParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use keySetWriteWithParams:completion:");
- (void)keySetReadWithParams:(MTRGroupKeyManagementClusterKeySetReadParams *)params
completionHandler:(void (^)(MTRGroupKeyManagementClusterKeySetReadResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use keySetReadWithParams:completion:");
- (void)keySetRemoveWithParams:(MTRGroupKeyManagementClusterKeySetRemoveParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use keySetRemoveWithParams:completion:");
- (void)keySetReadAllIndicesWithParams:(MTRGroupKeyManagementClusterKeySetReadAllIndicesParams *)params
completionHandler:(void (^)(MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use keySetReadAllIndicesWithParams:completion:");
- (void)readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGroupKeyMapWithParams:completion:");
- (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeGroupKeyMapWithValue:completion:");
- (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeGroupKeyMapWithValue:params:completion:");
- (void)subscribeAttributeGroupKeyMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGroupKeyMapWithParams:subscriptionEstablished:");
+ (void)readAttributeGroupKeyMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGroupKeyMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGroupTableWithParams:completion:");
- (void)subscribeAttributeGroupTableWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGroupTableWithParams:subscriptionEstablished:");
+ (void)readAttributeGroupTableWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGroupTableWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxGroupsPerFabricWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxGroupsPerFabricWithCompletion:");
- (void)subscribeAttributeMaxGroupsPerFabricWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxGroupsPerFabricWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxGroupsPerFabricWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxGroupsPerFabricWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxGroupKeysPerFabricWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxGroupKeysPerFabricWithCompletion:");
- (void)subscribeAttributeMaxGroupKeysPerFabricWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxGroupKeysPerFabricWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxGroupKeysPerFabricWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxGroupKeysPerFabricWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterFixedLabel (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeLabelListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLabelListWithCompletion:");
- (void)subscribeAttributeLabelListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLabelListWithParams:subscriptionEstablished:");
+ (void)readAttributeLabelListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLabelListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterUserLabel (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeLabelListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLabelListWithCompletion:");
- (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLabelListWithValue:completion:");
- (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLabelListWithValue:params:completion:");
- (void)subscribeAttributeLabelListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLabelListWithParams:subscriptionEstablished:");
+ (void)readAttributeLabelListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLabelListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterBooleanState (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeStateValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStateValueWithCompletion:");
- (void)subscribeAttributeStateValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStateValueWithParams:subscriptionEstablished:");
+ (void)readAttributeStateValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStateValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterModeSelect (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use changeToModeWithParams:completion:");
- (void)readAttributeDescriptionWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDescriptionWithCompletion:");
- (void)subscribeAttributeDescriptionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDescriptionWithParams:subscriptionEstablished:");
+ (void)readAttributeDescriptionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDescriptionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStandardNamespaceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStandardNamespaceWithCompletion:");
- (void)subscribeAttributeStandardNamespaceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStandardNamespaceWithParams:subscriptionEstablished:");
+ (void)readAttributeStandardNamespaceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStandardNamespaceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSupportedModesWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedModesWithCompletion:");
- (void)subscribeAttributeSupportedModesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSupportedModesWithParams:subscriptionEstablished:");
+ (void)readAttributeSupportedModesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedModesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentModeWithCompletion:");
- (void)subscribeAttributeCurrentModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentModeWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStartUpModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartUpModeWithCompletion:");
- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStartUpModeWithValue:completion:");
- (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStartUpModeWithValue:params:completion:");
- (void)subscribeAttributeStartUpModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStartUpModeWithParams:subscriptionEstablished:");
+ (void)readAttributeStartUpModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartUpModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOnModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnModeWithCompletion:");
- (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnModeWithValue:completion:");
- (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOnModeWithValue:params:completion:");
- (void)subscribeAttributeOnModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOnModeWithParams:subscriptionEstablished:");
+ (void)readAttributeOnModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOnModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterDoorLock (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)lockDoorWithParams:(MTRDoorLockClusterLockDoorParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use lockDoorWithParams:completion:");
- (void)unlockDoorWithParams:(MTRDoorLockClusterUnlockDoorParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use unlockDoorWithParams:completion:");
- (void)unlockWithTimeoutWithParams:(MTRDoorLockClusterUnlockWithTimeoutParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use unlockWithTimeoutWithParams:completion:");
- (void)setWeekDayScheduleWithParams:(MTRDoorLockClusterSetWeekDayScheduleParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use setWeekDayScheduleWithParams:completion:");
- (void)getWeekDayScheduleWithParams:(MTRDoorLockClusterGetWeekDayScheduleParams *)params
completionHandler:(void (^)(MTRDoorLockClusterGetWeekDayScheduleResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getWeekDayScheduleWithParams:completion:");
- (void)clearWeekDayScheduleWithParams:(MTRDoorLockClusterClearWeekDayScheduleParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use clearWeekDayScheduleWithParams:completion:");
- (void)setYearDayScheduleWithParams:(MTRDoorLockClusterSetYearDayScheduleParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use setYearDayScheduleWithParams:completion:");
- (void)getYearDayScheduleWithParams:(MTRDoorLockClusterGetYearDayScheduleParams *)params
completionHandler:(void (^)(MTRDoorLockClusterGetYearDayScheduleResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getYearDayScheduleWithParams:completion:");
- (void)clearYearDayScheduleWithParams:(MTRDoorLockClusterClearYearDayScheduleParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use clearYearDayScheduleWithParams:completion:");
- (void)setHolidayScheduleWithParams:(MTRDoorLockClusterSetHolidayScheduleParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use setHolidayScheduleWithParams:completion:");
- (void)getHolidayScheduleWithParams:(MTRDoorLockClusterGetHolidayScheduleParams *)params
completionHandler:(void (^)(MTRDoorLockClusterGetHolidayScheduleResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getHolidayScheduleWithParams:completion:");
- (void)clearHolidayScheduleWithParams:(MTRDoorLockClusterClearHolidayScheduleParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use clearHolidayScheduleWithParams:completion:");
- (void)setUserWithParams:(MTRDoorLockClusterSetUserParams *)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use setUserWithParams:completion:");
- (void)getUserWithParams:(MTRDoorLockClusterGetUserParams *)params
completionHandler:
(void (^)(MTRDoorLockClusterGetUserResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getUserWithParams:completion:");
- (void)clearUserWithParams:(MTRDoorLockClusterClearUserParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use clearUserWithParams:completion:");
- (void)setCredentialWithParams:(MTRDoorLockClusterSetCredentialParams *)params
completionHandler:(void (^)(MTRDoorLockClusterSetCredentialResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use setCredentialWithParams:completion:");
- (void)getCredentialStatusWithParams:(MTRDoorLockClusterGetCredentialStatusParams *)params
completionHandler:(void (^)(MTRDoorLockClusterGetCredentialStatusResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getCredentialStatusWithParams:completion:");
- (void)clearCredentialWithParams:(MTRDoorLockClusterClearCredentialParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use clearCredentialWithParams:completion:");
- (void)readAttributeLockStateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLockStateWithCompletion:");
- (void)subscribeAttributeLockStateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLockStateWithParams:subscriptionEstablished:");
+ (void)readAttributeLockStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLockStateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLockTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLockTypeWithCompletion:");
- (void)subscribeAttributeLockTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLockTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeLockTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLockTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActuatorEnabledWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActuatorEnabledWithCompletion:");
- (void)subscribeAttributeActuatorEnabledWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActuatorEnabledWithParams:subscriptionEstablished:");
+ (void)readAttributeActuatorEnabledWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActuatorEnabledWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDoorStateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDoorStateWithCompletion:");
- (void)subscribeAttributeDoorStateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDoorStateWithParams:subscriptionEstablished:");
+ (void)readAttributeDoorStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDoorStateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDoorOpenEventsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDoorOpenEventsWithCompletion:");
- (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDoorOpenEventsWithValue:completion:");
- (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDoorOpenEventsWithValue:params:completion:");
- (void)subscribeAttributeDoorOpenEventsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDoorOpenEventsWithParams:subscriptionEstablished:");
+ (void)readAttributeDoorOpenEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDoorOpenEventsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDoorClosedEventsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDoorClosedEventsWithCompletion:");
- (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDoorClosedEventsWithValue:completion:");
- (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeDoorClosedEventsWithValue:params:completion:");
- (void)
subscribeAttributeDoorClosedEventsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDoorClosedEventsWithParams:subscriptionEstablished:");
+ (void)readAttributeDoorClosedEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDoorClosedEventsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOpenPeriodWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOpenPeriodWithCompletion:");
- (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOpenPeriodWithValue:completion:");
- (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOpenPeriodWithValue:params:completion:");
- (void)subscribeAttributeOpenPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOpenPeriodWithParams:subscriptionEstablished:");
+ (void)readAttributeOpenPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOpenPeriodWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfTotalUsersSupportedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfTotalUsersSupportedWithCompletion:");
- (void)subscribeAttributeNumberOfTotalUsersSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfTotalUsersSupportedWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfTotalUsersSupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfTotalUsersSupportedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfPINUsersSupportedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfPINUsersSupportedWithCompletion:");
- (void)subscribeAttributeNumberOfPINUsersSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfPINUsersSupportedWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfPINUsersSupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfPINUsersSupportedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfRFIDUsersSupportedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfRFIDUsersSupportedWithCompletion:");
- (void)subscribeAttributeNumberOfRFIDUsersSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfRFIDUsersSupportedWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfRFIDUsersSupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfRFIDUsersSupportedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletion:");
- (void)subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUserWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)
subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED(
"Please use subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithAttributeCache:
(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletion:");
- (void)subscribeAttributeNumberOfYearDaySchedulesSupportedPerUserWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)
subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED(
"Please use subscribeAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithAttributeCache:
(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeNumberOfYearDaySchedulesSupportedPerUserWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfHolidaySchedulesSupportedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfHolidaySchedulesSupportedWithCompletion:");
- (void)subscribeAttributeNumberOfHolidaySchedulesSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfHolidaySchedulesSupportedWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfHolidaySchedulesSupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfHolidaySchedulesSupportedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxPINCodeLengthWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxPINCodeLengthWithCompletion:");
- (void)
subscribeAttributeMaxPINCodeLengthWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxPINCodeLengthWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxPINCodeLengthWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxPINCodeLengthWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinPINCodeLengthWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinPINCodeLengthWithCompletion:");
- (void)
subscribeAttributeMinPINCodeLengthWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinPINCodeLengthWithParams:subscriptionEstablished:");
+ (void)readAttributeMinPINCodeLengthWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinPINCodeLengthWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxRFIDCodeLengthWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxRFIDCodeLengthWithCompletion:");
- (void)subscribeAttributeMaxRFIDCodeLengthWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxRFIDCodeLengthWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxRFIDCodeLengthWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxRFIDCodeLengthWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinRFIDCodeLengthWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinRFIDCodeLengthWithCompletion:");
- (void)subscribeAttributeMinRFIDCodeLengthWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinRFIDCodeLengthWithParams:subscriptionEstablished:");
+ (void)readAttributeMinRFIDCodeLengthWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinRFIDCodeLengthWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCredentialRulesSupportWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCredentialRulesSupportWithCompletion:");
- (void)subscribeAttributeCredentialRulesSupportWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCredentialRulesSupportWithParams:subscriptionEstablished:");
+ (void)readAttributeCredentialRulesSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCredentialRulesSupportWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfCredentialsSupportedPerUserWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfCredentialsSupportedPerUserWithCompletion:");
- (void)subscribeAttributeNumberOfCredentialsSupportedPerUserWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfCredentialsSupportedPerUserWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfCredentialsSupportedPerUserWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeNumberOfCredentialsSupportedPerUserWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLanguageWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLanguageWithCompletion:");
- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLanguageWithValue:completion:");
- (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLanguageWithValue:params:completion:");
- (void)subscribeAttributeLanguageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLanguageWithParams:subscriptionEstablished:");
+ (void)readAttributeLanguageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLanguageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLEDSettingsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLEDSettingsWithCompletion:");
- (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLEDSettingsWithValue:completion:");
- (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLEDSettingsWithValue:params:completion:");
- (void)subscribeAttributeLEDSettingsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLEDSettingsWithParams:subscriptionEstablished:");
+ (void)readAttributeLEDSettingsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLEDSettingsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAutoRelockTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAutoRelockTimeWithCompletion:");
- (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeAutoRelockTimeWithValue:completion:");
- (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeAutoRelockTimeWithValue:params:completion:");
- (void)subscribeAttributeAutoRelockTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAutoRelockTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeAutoRelockTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAutoRelockTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSoundVolumeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoundVolumeWithCompletion:");
- (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSoundVolumeWithValue:completion:");
- (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSoundVolumeWithValue:params:completion:");
- (void)subscribeAttributeSoundVolumeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSoundVolumeWithParams:subscriptionEstablished:");
+ (void)readAttributeSoundVolumeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSoundVolumeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOperatingModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOperatingModeWithCompletion:");
- (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOperatingModeWithValue:completion:");
- (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOperatingModeWithValue:params:completion:");
- (void)subscribeAttributeOperatingModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOperatingModeWithParams:subscriptionEstablished:");
+ (void)readAttributeOperatingModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOperatingModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSupportedOperatingModesWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedOperatingModesWithCompletion:");
- (void)subscribeAttributeSupportedOperatingModesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSupportedOperatingModesWithParams:subscriptionEstablished:");
+ (void)readAttributeSupportedOperatingModesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedOperatingModesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDefaultConfigurationRegisterWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDefaultConfigurationRegisterWithCompletion:");
- (void)subscribeAttributeDefaultConfigurationRegisterWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDefaultConfigurationRegisterWithParams:subscriptionEstablished:");
+ (void)readAttributeDefaultConfigurationRegisterWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDefaultConfigurationRegisterWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnableLocalProgrammingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnableLocalProgrammingWithCompletion:");
- (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnableLocalProgrammingWithValue:completion:");
- (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnableLocalProgrammingWithValue:params:completion:");
- (void)subscribeAttributeEnableLocalProgrammingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnableLocalProgrammingWithParams:subscriptionEstablished:");
+ (void)readAttributeEnableLocalProgrammingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnableLocalProgrammingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnableOneTouchLockingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnableOneTouchLockingWithCompletion:");
- (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnableOneTouchLockingWithValue:completion:");
- (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnableOneTouchLockingWithValue:params:completion:");
- (void)subscribeAttributeEnableOneTouchLockingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnableOneTouchLockingWithParams:subscriptionEstablished:");
+ (void)readAttributeEnableOneTouchLockingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnableOneTouchLockingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnableInsideStatusLEDWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnableInsideStatusLEDWithCompletion:");
- (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnableInsideStatusLEDWithValue:completion:");
- (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnableInsideStatusLEDWithValue:params:completion:");
- (void)subscribeAttributeEnableInsideStatusLEDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnableInsideStatusLEDWithParams:subscriptionEstablished:");
+ (void)readAttributeEnableInsideStatusLEDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnableInsideStatusLEDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnablePrivacyModeButtonWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnablePrivacyModeButtonWithCompletion:");
- (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnablePrivacyModeButtonWithValue:completion:");
- (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnablePrivacyModeButtonWithValue:params:completion:");
- (void)subscribeAttributeEnablePrivacyModeButtonWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnablePrivacyModeButtonWithParams:subscriptionEstablished:");
+ (void)readAttributeEnablePrivacyModeButtonWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnablePrivacyModeButtonWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLocalProgrammingFeaturesWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocalProgrammingFeaturesWithCompletion:");
- (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLocalProgrammingFeaturesWithValue:completion:");
- (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLocalProgrammingFeaturesWithValue:params:completion:");
- (void)subscribeAttributeLocalProgrammingFeaturesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLocalProgrammingFeaturesWithParams:subscriptionEstablished:");
+ (void)readAttributeLocalProgrammingFeaturesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocalProgrammingFeaturesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWrongCodeEntryLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWrongCodeEntryLimitWithCompletion:");
- (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeWrongCodeEntryLimitWithValue:completion:");
- (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeWrongCodeEntryLimitWithValue:params:completion:");
- (void)subscribeAttributeWrongCodeEntryLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWrongCodeEntryLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeWrongCodeEntryLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWrongCodeEntryLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUserCodeTemporaryDisableTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUserCodeTemporaryDisableTimeWithCompletion:");
- (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUserCodeTemporaryDisableTimeWithValue:completion:");
- (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUserCodeTemporaryDisableTimeWithValue:params:completion:");
- (void)subscribeAttributeUserCodeTemporaryDisableTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUserCodeTemporaryDisableTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeUserCodeTemporaryDisableTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUserCodeTemporaryDisableTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSendPINOverTheAirWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSendPINOverTheAirWithCompletion:");
- (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSendPINOverTheAirWithValue:completion:");
- (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSendPINOverTheAirWithValue:params:completion:");
- (void)subscribeAttributeSendPINOverTheAirWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSendPINOverTheAirWithParams:subscriptionEstablished:");
+ (void)readAttributeSendPINOverTheAirWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSendPINOverTheAirWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRequirePINforRemoteOperationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRequirePINforRemoteOperationWithCompletion:");
- (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRequirePINforRemoteOperationWithValue:completion:");
- (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRequirePINforRemoteOperationWithValue:params:completion:");
- (void)subscribeAttributeRequirePINforRemoteOperationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRequirePINforRemoteOperationWithParams:subscriptionEstablished:");
+ (void)readAttributeRequirePINforRemoteOperationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRequirePINforRemoteOperationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeExpiringUserTimeoutWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeExpiringUserTimeoutWithCompletion:");
- (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeExpiringUserTimeoutWithValue:completion:");
- (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeExpiringUserTimeoutWithValue:params:completion:");
- (void)subscribeAttributeExpiringUserTimeoutWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeExpiringUserTimeoutWithParams:subscriptionEstablished:");
+ (void)readAttributeExpiringUserTimeoutWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeExpiringUserTimeoutWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterWindowCovering (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)upOrOpenWithParams:(MTRWindowCoveringClusterUpOrOpenParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use upOrOpenWithParams:completion:");
- (void)upOrOpenWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use upOrOpenWithCompletion:");
- (void)downOrCloseWithParams:(MTRWindowCoveringClusterDownOrCloseParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use downOrCloseWithParams:completion:");
- (void)downOrCloseWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use downOrCloseWithCompletion:");
- (void)stopMotionWithParams:(MTRWindowCoveringClusterStopMotionParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stopMotionWithParams:completion:");
- (void)stopMotionWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stopMotionWithCompletion:");
- (void)goToLiftValueWithParams:(MTRWindowCoveringClusterGoToLiftValueParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use goToLiftValueWithParams:completion:");
- (void)goToLiftPercentageWithParams:(MTRWindowCoveringClusterGoToLiftPercentageParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use goToLiftPercentageWithParams:completion:");
- (void)goToTiltValueWithParams:(MTRWindowCoveringClusterGoToTiltValueParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use goToTiltValueWithParams:completion:");
- (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentageParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use goToTiltPercentageWithParams:completion:");
- (void)readAttributeTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTypeWithCompletion:");
- (void)subscribeAttributeTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePhysicalClosedLimitLiftWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalClosedLimitLiftWithCompletion:");
- (void)subscribeAttributePhysicalClosedLimitLiftWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePhysicalClosedLimitLiftWithParams:subscriptionEstablished:");
+ (void)readAttributePhysicalClosedLimitLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalClosedLimitLiftWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePhysicalClosedLimitTiltWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalClosedLimitTiltWithCompletion:");
- (void)subscribeAttributePhysicalClosedLimitTiltWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePhysicalClosedLimitTiltWithParams:subscriptionEstablished:");
+ (void)readAttributePhysicalClosedLimitTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalClosedLimitTiltWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentPositionLiftWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionLiftWithCompletion:");
- (void)subscribeAttributeCurrentPositionLiftWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentPositionLiftWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentPositionLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionLiftWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentPositionTiltWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionTiltWithCompletion:");
- (void)subscribeAttributeCurrentPositionTiltWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentPositionTiltWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentPositionTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionTiltWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfActuationsLiftWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfActuationsLiftWithCompletion:");
- (void)subscribeAttributeNumberOfActuationsLiftWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfActuationsLiftWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfActuationsLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfActuationsLiftWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfActuationsTiltWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfActuationsTiltWithCompletion:");
- (void)subscribeAttributeNumberOfActuationsTiltWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfActuationsTiltWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfActuationsTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfActuationsTiltWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeConfigStatusWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeConfigStatusWithCompletion:");
- (void)subscribeAttributeConfigStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeConfigStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeConfigStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeConfigStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentPositionLiftPercentageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionLiftPercentageWithCompletion:");
- (void)subscribeAttributeCurrentPositionLiftPercentageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentPositionLiftPercentageWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentPositionLiftPercentageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionLiftPercentageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentPositionTiltPercentageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionTiltPercentageWithCompletion:");
- (void)subscribeAttributeCurrentPositionTiltPercentageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentPositionTiltPercentageWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentPositionTiltPercentageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionTiltPercentageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOperationalStatusWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOperationalStatusWithCompletion:");
- (void)subscribeAttributeOperationalStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOperationalStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeOperationalStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOperationalStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTargetPositionLiftPercent100thsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTargetPositionLiftPercent100thsWithCompletion:");
- (void)subscribeAttributeTargetPositionLiftPercent100thsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTargetPositionLiftPercent100thsWithParams:subscriptionEstablished:");
+ (void)readAttributeTargetPositionLiftPercent100thsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTargetPositionLiftPercent100thsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTargetPositionTiltPercent100thsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTargetPositionTiltPercent100thsWithCompletion:");
- (void)subscribeAttributeTargetPositionTiltPercent100thsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTargetPositionTiltPercent100thsWithParams:subscriptionEstablished:");
+ (void)readAttributeTargetPositionTiltPercent100thsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTargetPositionTiltPercent100thsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEndProductTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEndProductTypeWithCompletion:");
- (void)subscribeAttributeEndProductTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEndProductTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeEndProductTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEndProductTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentPositionLiftPercent100thsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionLiftPercent100thsWithCompletion:");
- (void)subscribeAttributeCurrentPositionLiftPercent100thsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentPositionLiftPercent100thsWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentPositionLiftPercent100thsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionLiftPercent100thsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentPositionTiltPercent100thsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionTiltPercent100thsWithCompletion:");
- (void)subscribeAttributeCurrentPositionTiltPercent100thsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentPositionTiltPercent100thsWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentPositionTiltPercent100thsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentPositionTiltPercent100thsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstalledOpenLimitLiftWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstalledOpenLimitLiftWithCompletion:");
- (void)subscribeAttributeInstalledOpenLimitLiftWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstalledOpenLimitLiftWithParams:subscriptionEstablished:");
+ (void)readAttributeInstalledOpenLimitLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstalledOpenLimitLiftWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstalledClosedLimitLiftWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstalledClosedLimitLiftWithCompletion:");
- (void)subscribeAttributeInstalledClosedLimitLiftWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstalledClosedLimitLiftWithParams:subscriptionEstablished:");
+ (void)readAttributeInstalledClosedLimitLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstalledClosedLimitLiftWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstalledOpenLimitTiltWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstalledOpenLimitTiltWithCompletion:");
- (void)subscribeAttributeInstalledOpenLimitTiltWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstalledOpenLimitTiltWithParams:subscriptionEstablished:");
+ (void)readAttributeInstalledOpenLimitTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstalledOpenLimitTiltWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstalledClosedLimitTiltWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstalledClosedLimitTiltWithCompletion:");
- (void)subscribeAttributeInstalledClosedLimitTiltWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstalledClosedLimitTiltWithParams:subscriptionEstablished:");
+ (void)readAttributeInstalledClosedLimitTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstalledClosedLimitTiltWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeModeWithCompletion:");
- (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeModeWithValue:completion:");
- (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeModeWithValue:params:completion:");
- (void)subscribeAttributeModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeModeWithParams:subscriptionEstablished:");
+ (void)readAttributeModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSafetyStatusWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSafetyStatusWithCompletion:");
- (void)subscribeAttributeSafetyStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSafetyStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeSafetyStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSafetyStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterBarrierControl (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)barrierControlGoToPercentWithParams:(MTRBarrierControlClusterBarrierControlGoToPercentParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use barrierControlGoToPercentWithParams:completion:");
- (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStopParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use barrierControlStopWithParams:completion:");
- (void)barrierControlStopWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use barrierControlStopWithCompletion:");
- (void)readAttributeBarrierMovingStateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierMovingStateWithCompletion:");
- (void)subscribeAttributeBarrierMovingStateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierMovingStateWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierMovingStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierMovingStateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierSafetyStatusWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierSafetyStatusWithCompletion:");
- (void)subscribeAttributeBarrierSafetyStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierSafetyStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierSafetyStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierSafetyStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierCapabilitiesWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierCapabilitiesWithCompletion:");
- (void)subscribeAttributeBarrierCapabilitiesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierCapabilitiesWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierCapabilitiesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierCapabilitiesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierOpenEventsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierOpenEventsWithCompletion:");
- (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierOpenEventsWithValue:completion:");
- (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierOpenEventsWithValue:params:completion:");
- (void)subscribeAttributeBarrierOpenEventsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierOpenEventsWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierOpenEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierOpenEventsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierCloseEventsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierCloseEventsWithCompletion:");
- (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierCloseEventsWithValue:completion:");
- (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierCloseEventsWithValue:params:completion:");
- (void)subscribeAttributeBarrierCloseEventsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierCloseEventsWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierCloseEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierCloseEventsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierCommandOpenEventsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierCommandOpenEventsWithCompletion:");
- (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierCommandOpenEventsWithValue:completion:");
- (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierCommandOpenEventsWithValue:params:completion:");
- (void)subscribeAttributeBarrierCommandOpenEventsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierCommandOpenEventsWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierCommandOpenEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierCommandOpenEventsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierCommandCloseEventsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierCommandCloseEventsWithCompletion:");
- (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierCommandCloseEventsWithValue:completion:");
- (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierCommandCloseEventsWithValue:params:completion:");
- (void)subscribeAttributeBarrierCommandCloseEventsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierCommandCloseEventsWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierCommandCloseEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierCommandCloseEventsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierOpenPeriodWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierOpenPeriodWithCompletion:");
- (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierOpenPeriodWithValue:completion:");
- (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierOpenPeriodWithValue:params:completion:");
- (void)subscribeAttributeBarrierOpenPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierOpenPeriodWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierOpenPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierOpenPeriodWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierClosePeriodWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierClosePeriodWithCompletion:");
- (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierClosePeriodWithValue:completion:");
- (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBarrierClosePeriodWithValue:params:completion:");
- (void)subscribeAttributeBarrierClosePeriodWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierClosePeriodWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierClosePeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierClosePeriodWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBarrierPositionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierPositionWithCompletion:");
- (void)subscribeAttributeBarrierPositionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBarrierPositionWithParams:subscriptionEstablished:");
+ (void)readAttributeBarrierPositionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBarrierPositionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterPumpConfigurationAndControl (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeMaxPressureWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxPressureWithCompletion:");
- (void)subscribeAttributeMaxPressureWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxPressureWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxPressureWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxSpeedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxSpeedWithCompletion:");
- (void)subscribeAttributeMaxSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxSpeedWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxSpeedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxFlowWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxFlowWithCompletion:");
- (void)subscribeAttributeMaxFlowWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxFlowWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxFlowWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxFlowWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinConstPressureWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinConstPressureWithCompletion:");
- (void)
subscribeAttributeMinConstPressureWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinConstPressureWithParams:subscriptionEstablished:");
+ (void)readAttributeMinConstPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinConstPressureWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxConstPressureWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxConstPressureWithCompletion:");
- (void)
subscribeAttributeMaxConstPressureWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxConstPressureWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxConstPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxConstPressureWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinCompPressureWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinCompPressureWithCompletion:");
- (void)subscribeAttributeMinCompPressureWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinCompPressureWithParams:subscriptionEstablished:");
+ (void)readAttributeMinCompPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinCompPressureWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxCompPressureWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxCompPressureWithCompletion:");
- (void)subscribeAttributeMaxCompPressureWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxCompPressureWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxCompPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxCompPressureWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinConstSpeedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinConstSpeedWithCompletion:");
- (void)subscribeAttributeMinConstSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinConstSpeedWithParams:subscriptionEstablished:");
+ (void)readAttributeMinConstSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinConstSpeedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxConstSpeedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxConstSpeedWithCompletion:");
- (void)subscribeAttributeMaxConstSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxConstSpeedWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxConstSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxConstSpeedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinConstFlowWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinConstFlowWithCompletion:");
- (void)subscribeAttributeMinConstFlowWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinConstFlowWithParams:subscriptionEstablished:");
+ (void)readAttributeMinConstFlowWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinConstFlowWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxConstFlowWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxConstFlowWithCompletion:");
- (void)subscribeAttributeMaxConstFlowWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxConstFlowWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxConstFlowWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxConstFlowWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinConstTempWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinConstTempWithCompletion:");
- (void)subscribeAttributeMinConstTempWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinConstTempWithParams:subscriptionEstablished:");
+ (void)readAttributeMinConstTempWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinConstTempWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxConstTempWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxConstTempWithCompletion:");
- (void)subscribeAttributeMaxConstTempWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxConstTempWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxConstTempWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxConstTempWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePumpStatusWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePumpStatusWithCompletion:");
- (void)subscribeAttributePumpStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePumpStatusWithParams:subscriptionEstablished:");
+ (void)readAttributePumpStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePumpStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEffectiveOperationModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEffectiveOperationModeWithCompletion:");
- (void)subscribeAttributeEffectiveOperationModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEffectiveOperationModeWithParams:subscriptionEstablished:");
+ (void)readAttributeEffectiveOperationModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEffectiveOperationModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEffectiveControlModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEffectiveControlModeWithCompletion:");
- (void)subscribeAttributeEffectiveControlModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEffectiveControlModeWithParams:subscriptionEstablished:");
+ (void)readAttributeEffectiveControlModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEffectiveControlModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCapacityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCapacityWithCompletion:");
- (void)subscribeAttributeCapacityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCapacityWithParams:subscriptionEstablished:");
+ (void)readAttributeCapacityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCapacityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSpeedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSpeedWithCompletion:");
- (void)subscribeAttributeSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSpeedWithParams:subscriptionEstablished:");
+ (void)readAttributeSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSpeedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLifetimeRunningHoursWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLifetimeRunningHoursWithCompletion:");
- (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLifetimeRunningHoursWithValue:completion:");
- (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLifetimeRunningHoursWithValue:params:completion:");
- (void)subscribeAttributeLifetimeRunningHoursWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLifetimeRunningHoursWithParams:subscriptionEstablished:");
+ (void)readAttributeLifetimeRunningHoursWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLifetimeRunningHoursWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerWithCompletion:");
- (void)subscribeAttributePowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePowerWithParams:subscriptionEstablished:");
+ (void)readAttributePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLifetimeEnergyConsumedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLifetimeEnergyConsumedWithCompletion:");
- (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLifetimeEnergyConsumedWithValue:completion:");
- (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLifetimeEnergyConsumedWithValue:params:completion:");
- (void)subscribeAttributeLifetimeEnergyConsumedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLifetimeEnergyConsumedWithParams:subscriptionEstablished:");
+ (void)readAttributeLifetimeEnergyConsumedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLifetimeEnergyConsumedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOperationModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOperationModeWithCompletion:");
- (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOperationModeWithValue:completion:");
- (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOperationModeWithValue:params:completion:");
- (void)subscribeAttributeOperationModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOperationModeWithParams:subscriptionEstablished:");
+ (void)readAttributeOperationModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOperationModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeControlModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeControlModeWithCompletion:");
- (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeControlModeWithValue:completion:");
- (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeControlModeWithValue:params:completion:");
- (void)subscribeAttributeControlModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeControlModeWithParams:subscriptionEstablished:");
+ (void)readAttributeControlModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeControlModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterThermostat (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)setpointRaiseLowerWithParams:(MTRThermostatClusterSetpointRaiseLowerParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use setpointRaiseLowerWithParams:completion:");
- (void)setWeeklyScheduleWithParams:(MTRThermostatClusterSetWeeklyScheduleParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use setWeeklyScheduleWithParams:completion:");
- (void)getWeeklyScheduleWithParams:(MTRThermostatClusterGetWeeklyScheduleParams *)params
completionHandler:(void (^)(MTRThermostatClusterGetWeeklyScheduleResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getWeeklyScheduleWithParams:completion:");
- (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklyScheduleParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use clearWeeklyScheduleWithParams:completion:");
- (void)clearWeeklyScheduleWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use clearWeeklyScheduleWithCompletion:");
- (void)readAttributeLocalTemperatureWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocalTemperatureWithCompletion:");
- (void)
subscribeAttributeLocalTemperatureWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLocalTemperatureWithParams:subscriptionEstablished:");
+ (void)readAttributeLocalTemperatureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocalTemperatureWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOutdoorTemperatureWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOutdoorTemperatureWithCompletion:");
- (void)subscribeAttributeOutdoorTemperatureWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOutdoorTemperatureWithParams:subscriptionEstablished:");
+ (void)readAttributeOutdoorTemperatureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOutdoorTemperatureWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOccupancyWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupancyWithCompletion:");
- (void)subscribeAttributeOccupancyWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupancyWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupancyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupancyWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAbsMinHeatSetpointLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAbsMinHeatSetpointLimitWithCompletion:");
- (void)subscribeAttributeAbsMinHeatSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAbsMinHeatSetpointLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeAbsMinHeatSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAbsMinHeatSetpointLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAbsMaxHeatSetpointLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAbsMaxHeatSetpointLimitWithCompletion:");
- (void)subscribeAttributeAbsMaxHeatSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAbsMaxHeatSetpointLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeAbsMaxHeatSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAbsMaxHeatSetpointLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAbsMinCoolSetpointLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAbsMinCoolSetpointLimitWithCompletion:");
- (void)subscribeAttributeAbsMinCoolSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAbsMinCoolSetpointLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeAbsMinCoolSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAbsMinCoolSetpointLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAbsMaxCoolSetpointLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAbsMaxCoolSetpointLimitWithCompletion:");
- (void)subscribeAttributeAbsMaxCoolSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAbsMaxCoolSetpointLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeAbsMaxCoolSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAbsMaxCoolSetpointLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePICoolingDemandWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePICoolingDemandWithCompletion:");
- (void)subscribeAttributePICoolingDemandWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePICoolingDemandWithParams:subscriptionEstablished:");
+ (void)readAttributePICoolingDemandWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePICoolingDemandWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePIHeatingDemandWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePIHeatingDemandWithCompletion:");
- (void)subscribeAttributePIHeatingDemandWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePIHeatingDemandWithParams:subscriptionEstablished:");
+ (void)readAttributePIHeatingDemandWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePIHeatingDemandWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeHVACSystemTypeConfigurationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHVACSystemTypeConfigurationWithCompletion:");
- (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeHVACSystemTypeConfigurationWithValue:completion:");
- (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeHVACSystemTypeConfigurationWithValue:params:completion:");
- (void)subscribeAttributeHVACSystemTypeConfigurationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeHVACSystemTypeConfigurationWithParams:subscriptionEstablished:");
+ (void)readAttributeHVACSystemTypeConfigurationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHVACSystemTypeConfigurationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLocalTemperatureCalibrationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocalTemperatureCalibrationWithCompletion:");
- (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLocalTemperatureCalibrationWithValue:completion:");
- (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLocalTemperatureCalibrationWithValue:params:completion:");
- (void)subscribeAttributeLocalTemperatureCalibrationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLocalTemperatureCalibrationWithParams:subscriptionEstablished:");
+ (void)readAttributeLocalTemperatureCalibrationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLocalTemperatureCalibrationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOccupiedCoolingSetpointWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedCoolingSetpointWithCompletion:");
- (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOccupiedCoolingSetpointWithValue:completion:");
- (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOccupiedCoolingSetpointWithValue:params:completion:");
- (void)subscribeAttributeOccupiedCoolingSetpointWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupiedCoolingSetpointWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupiedCoolingSetpointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedCoolingSetpointWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOccupiedHeatingSetpointWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedHeatingSetpointWithCompletion:");
- (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOccupiedHeatingSetpointWithValue:completion:");
- (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOccupiedHeatingSetpointWithValue:params:completion:");
- (void)subscribeAttributeOccupiedHeatingSetpointWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupiedHeatingSetpointWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupiedHeatingSetpointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedHeatingSetpointWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUnoccupiedCoolingSetpointWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedCoolingSetpointWithCompletion:");
- (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUnoccupiedCoolingSetpointWithValue:completion:");
- (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUnoccupiedCoolingSetpointWithValue:params:completion:");
- (void)subscribeAttributeUnoccupiedCoolingSetpointWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUnoccupiedCoolingSetpointWithParams:subscriptionEstablished:");
+ (void)readAttributeUnoccupiedCoolingSetpointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedCoolingSetpointWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUnoccupiedHeatingSetpointWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedHeatingSetpointWithCompletion:");
- (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUnoccupiedHeatingSetpointWithValue:completion:");
- (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUnoccupiedHeatingSetpointWithValue:params:completion:");
- (void)subscribeAttributeUnoccupiedHeatingSetpointWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUnoccupiedHeatingSetpointWithParams:subscriptionEstablished:");
+ (void)readAttributeUnoccupiedHeatingSetpointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedHeatingSetpointWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinHeatSetpointLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinHeatSetpointLimitWithCompletion:");
- (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMinHeatSetpointLimitWithValue:completion:");
- (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMinHeatSetpointLimitWithValue:params:completion:");
- (void)subscribeAttributeMinHeatSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinHeatSetpointLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeMinHeatSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinHeatSetpointLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxHeatSetpointLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxHeatSetpointLimitWithCompletion:");
- (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMaxHeatSetpointLimitWithValue:completion:");
- (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMaxHeatSetpointLimitWithValue:params:completion:");
- (void)subscribeAttributeMaxHeatSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxHeatSetpointLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxHeatSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxHeatSetpointLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinCoolSetpointLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinCoolSetpointLimitWithCompletion:");
- (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMinCoolSetpointLimitWithValue:completion:");
- (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMinCoolSetpointLimitWithValue:params:completion:");
- (void)subscribeAttributeMinCoolSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinCoolSetpointLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeMinCoolSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinCoolSetpointLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxCoolSetpointLimitWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxCoolSetpointLimitWithCompletion:");
- (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMaxCoolSetpointLimitWithValue:completion:");
- (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMaxCoolSetpointLimitWithValue:params:completion:");
- (void)subscribeAttributeMaxCoolSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxCoolSetpointLimitWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxCoolSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxCoolSetpointLimitWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinSetpointDeadBandWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinSetpointDeadBandWithCompletion:");
- (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMinSetpointDeadBandWithValue:completion:");
- (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMinSetpointDeadBandWithValue:params:completion:");
- (void)subscribeAttributeMinSetpointDeadBandWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinSetpointDeadBandWithParams:subscriptionEstablished:");
+ (void)readAttributeMinSetpointDeadBandWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinSetpointDeadBandWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRemoteSensingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRemoteSensingWithCompletion:");
- (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRemoteSensingWithValue:completion:");
- (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRemoteSensingWithValue:params:completion:");
- (void)subscribeAttributeRemoteSensingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRemoteSensingWithParams:subscriptionEstablished:");
+ (void)readAttributeRemoteSensingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRemoteSensingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeControlSequenceOfOperationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeControlSequenceOfOperationWithCompletion:");
- (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeControlSequenceOfOperationWithValue:completion:");
- (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeControlSequenceOfOperationWithValue:params:completion:");
- (void)subscribeAttributeControlSequenceOfOperationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeControlSequenceOfOperationWithParams:subscriptionEstablished:");
+ (void)readAttributeControlSequenceOfOperationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeControlSequenceOfOperationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSystemModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSystemModeWithCompletion:");
- (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSystemModeWithValue:completion:");
- (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSystemModeWithValue:params:completion:");
- (void)subscribeAttributeSystemModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSystemModeWithParams:subscriptionEstablished:");
+ (void)readAttributeSystemModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSystemModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeThermostatRunningModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeThermostatRunningModeWithCompletion:");
- (void)subscribeAttributeThermostatRunningModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeThermostatRunningModeWithParams:subscriptionEstablished:");
+ (void)readAttributeThermostatRunningModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeThermostatRunningModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStartOfWeekWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartOfWeekWithCompletion:");
- (void)subscribeAttributeStartOfWeekWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStartOfWeekWithParams:subscriptionEstablished:");
+ (void)readAttributeStartOfWeekWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartOfWeekWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfWeeklyTransitionsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfWeeklyTransitionsWithCompletion:");
- (void)subscribeAttributeNumberOfWeeklyTransitionsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfWeeklyTransitionsWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfWeeklyTransitionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfWeeklyTransitionsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfDailyTransitionsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfDailyTransitionsWithCompletion:");
- (void)subscribeAttributeNumberOfDailyTransitionsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfDailyTransitionsWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfDailyTransitionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfDailyTransitionsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTemperatureSetpointHoldWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTemperatureSetpointHoldWithCompletion:");
- (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTemperatureSetpointHoldWithValue:completion:");
- (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTemperatureSetpointHoldWithValue:params:completion:");
- (void)subscribeAttributeTemperatureSetpointHoldWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTemperatureSetpointHoldWithParams:subscriptionEstablished:");
+ (void)readAttributeTemperatureSetpointHoldWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTemperatureSetpointHoldWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTemperatureSetpointHoldDurationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTemperatureSetpointHoldDurationWithCompletion:");
- (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTemperatureSetpointHoldDurationWithValue:completion:");
- (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTemperatureSetpointHoldDurationWithValue:params:completion:");
- (void)subscribeAttributeTemperatureSetpointHoldDurationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTemperatureSetpointHoldDurationWithParams:subscriptionEstablished:");
+ (void)readAttributeTemperatureSetpointHoldDurationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTemperatureSetpointHoldDurationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeThermostatProgrammingOperationModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeThermostatProgrammingOperationModeWithCompletion:");
- (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeThermostatProgrammingOperationModeWithValue:completion:");
- (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeThermostatProgrammingOperationModeWithValue:params:completion:");
- (void)subscribeAttributeThermostatProgrammingOperationModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeThermostatProgrammingOperationModeWithParams:subscriptionEstablished:");
+ (void)readAttributeThermostatProgrammingOperationModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeThermostatProgrammingOperationModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeThermostatRunningStateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeThermostatRunningStateWithCompletion:");
- (void)subscribeAttributeThermostatRunningStateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeThermostatRunningStateWithParams:subscriptionEstablished:");
+ (void)readAttributeThermostatRunningStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeThermostatRunningStateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSetpointChangeSourceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSetpointChangeSourceWithCompletion:");
- (void)subscribeAttributeSetpointChangeSourceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSetpointChangeSourceWithParams:subscriptionEstablished:");
+ (void)readAttributeSetpointChangeSourceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSetpointChangeSourceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSetpointChangeAmountWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSetpointChangeAmountWithCompletion:");
- (void)subscribeAttributeSetpointChangeAmountWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSetpointChangeAmountWithParams:subscriptionEstablished:");
+ (void)readAttributeSetpointChangeAmountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSetpointChangeAmountWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSetpointChangeSourceTimestampWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSetpointChangeSourceTimestampWithCompletion:");
- (void)subscribeAttributeSetpointChangeSourceTimestampWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSetpointChangeSourceTimestampWithParams:subscriptionEstablished:");
+ (void)readAttributeSetpointChangeSourceTimestampWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSetpointChangeSourceTimestampWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOccupiedSetbackWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedSetbackWithCompletion:");
- (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOccupiedSetbackWithValue:completion:");
- (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOccupiedSetbackWithValue:params:completion:");
- (void)subscribeAttributeOccupiedSetbackWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupiedSetbackWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupiedSetbackWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedSetbackWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOccupiedSetbackMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedSetbackMinWithCompletion:");
- (void)subscribeAttributeOccupiedSetbackMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupiedSetbackMinWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupiedSetbackMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedSetbackMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOccupiedSetbackMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedSetbackMaxWithCompletion:");
- (void)subscribeAttributeOccupiedSetbackMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupiedSetbackMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupiedSetbackMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupiedSetbackMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUnoccupiedSetbackWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedSetbackWithCompletion:");
- (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUnoccupiedSetbackWithValue:completion:");
- (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUnoccupiedSetbackWithValue:params:completion:");
- (void)subscribeAttributeUnoccupiedSetbackWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUnoccupiedSetbackWithParams:subscriptionEstablished:");
+ (void)readAttributeUnoccupiedSetbackWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedSetbackWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUnoccupiedSetbackMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedSetbackMinWithCompletion:");
- (void)subscribeAttributeUnoccupiedSetbackMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUnoccupiedSetbackMinWithParams:subscriptionEstablished:");
+ (void)readAttributeUnoccupiedSetbackMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedSetbackMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUnoccupiedSetbackMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedSetbackMaxWithCompletion:");
- (void)subscribeAttributeUnoccupiedSetbackMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUnoccupiedSetbackMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeUnoccupiedSetbackMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnoccupiedSetbackMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEmergencyHeatDeltaWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEmergencyHeatDeltaWithCompletion:");
- (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEmergencyHeatDeltaWithValue:completion:");
- (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEmergencyHeatDeltaWithValue:params:completion:");
- (void)subscribeAttributeEmergencyHeatDeltaWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEmergencyHeatDeltaWithParams:subscriptionEstablished:");
+ (void)readAttributeEmergencyHeatDeltaWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEmergencyHeatDeltaWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeACTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACTypeWithCompletion:");
- (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACTypeWithValue:completion:");
- (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACTypeWithValue:params:completion:");
- (void)subscribeAttributeACTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeACTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeACCapacityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACCapacityWithCompletion:");
- (void)writeAttributeACCapacityWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACCapacityWithValue:completion:");
- (void)writeAttributeACCapacityWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACCapacityWithValue:params:completion:");
- (void)subscribeAttributeACCapacityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACCapacityWithParams:subscriptionEstablished:");
+ (void)readAttributeACCapacityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACCapacityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeACRefrigerantTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACRefrigerantTypeWithCompletion:");
- (void)writeAttributeACRefrigerantTypeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACRefrigerantTypeWithValue:completion:");
- (void)writeAttributeACRefrigerantTypeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACRefrigerantTypeWithValue:params:completion:");
- (void)subscribeAttributeACRefrigerantTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACRefrigerantTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeACRefrigerantTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACRefrigerantTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeACCompressorTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACCompressorTypeWithCompletion:");
- (void)writeAttributeACCompressorTypeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACCompressorTypeWithValue:completion:");
- (void)writeAttributeACCompressorTypeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACCompressorTypeWithValue:params:completion:");
- (void)
subscribeAttributeACCompressorTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACCompressorTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeACCompressorTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACCompressorTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeACErrorCodeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACErrorCodeWithCompletion:");
- (void)writeAttributeACErrorCodeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACErrorCodeWithValue:completion:");
- (void)writeAttributeACErrorCodeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACErrorCodeWithValue:params:completion:");
- (void)subscribeAttributeACErrorCodeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACErrorCodeWithParams:subscriptionEstablished:");
+ (void)readAttributeACErrorCodeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACErrorCodeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeACLouverPositionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACLouverPositionWithCompletion:");
- (void)writeAttributeACLouverPositionWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACLouverPositionWithValue:completion:");
- (void)writeAttributeACLouverPositionWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACLouverPositionWithValue:params:completion:");
- (void)
subscribeAttributeACLouverPositionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACLouverPositionWithParams:subscriptionEstablished:");
+ (void)readAttributeACLouverPositionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACLouverPositionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeACCoilTemperatureWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACCoilTemperatureWithCompletion:");
- (void)subscribeAttributeACCoilTemperatureWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACCoilTemperatureWithParams:subscriptionEstablished:");
+ (void)readAttributeACCoilTemperatureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACCoilTemperatureWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeACCapacityformatWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACCapacityformatWithCompletion:");
- (void)writeAttributeACCapacityformatWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACCapacityformatWithValue:completion:");
- (void)writeAttributeACCapacityformatWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeACCapacityformatWithValue:params:completion:");
- (void)
subscribeAttributeACCapacityformatWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeACCapacityformatWithParams:subscriptionEstablished:");
+ (void)readAttributeACCapacityformatWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeACCapacityformatWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterFanControl (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeFanModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFanModeWithCompletion:");
- (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeFanModeWithValue:completion:");
- (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeFanModeWithValue:params:completion:");
- (void)subscribeAttributeFanModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFanModeWithParams:subscriptionEstablished:");
+ (void)readAttributeFanModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFanModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFanModeSequenceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFanModeSequenceWithCompletion:");
- (void)writeAttributeFanModeSequenceWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeFanModeSequenceWithValue:completion:");
- (void)writeAttributeFanModeSequenceWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeFanModeSequenceWithValue:params:completion:");
- (void)subscribeAttributeFanModeSequenceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFanModeSequenceWithParams:subscriptionEstablished:");
+ (void)readAttributeFanModeSequenceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFanModeSequenceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePercentSettingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePercentSettingWithCompletion:");
- (void)writeAttributePercentSettingWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePercentSettingWithValue:completion:");
- (void)writeAttributePercentSettingWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePercentSettingWithValue:params:completion:");
- (void)subscribeAttributePercentSettingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePercentSettingWithParams:subscriptionEstablished:");
+ (void)readAttributePercentSettingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePercentSettingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePercentCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePercentCurrentWithCompletion:");
- (void)subscribeAttributePercentCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePercentCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributePercentCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePercentCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSpeedMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSpeedMaxWithCompletion:");
- (void)subscribeAttributeSpeedMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSpeedMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeSpeedMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSpeedMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSpeedSettingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSpeedSettingWithCompletion:");
- (void)writeAttributeSpeedSettingWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSpeedSettingWithValue:completion:");
- (void)writeAttributeSpeedSettingWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSpeedSettingWithValue:params:completion:");
- (void)subscribeAttributeSpeedSettingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSpeedSettingWithParams:subscriptionEstablished:");
+ (void)readAttributeSpeedSettingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSpeedSettingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSpeedCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSpeedCurrentWithCompletion:");
- (void)subscribeAttributeSpeedCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSpeedCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeSpeedCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSpeedCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRockSupportWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRockSupportWithCompletion:");
- (void)subscribeAttributeRockSupportWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRockSupportWithParams:subscriptionEstablished:");
+ (void)readAttributeRockSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRockSupportWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRockSettingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRockSettingWithCompletion:");
- (void)writeAttributeRockSettingWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRockSettingWithValue:completion:");
- (void)writeAttributeRockSettingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRockSettingWithValue:params:completion:");
- (void)subscribeAttributeRockSettingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRockSettingWithParams:subscriptionEstablished:");
+ (void)readAttributeRockSettingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRockSettingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWindSupportWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWindSupportWithCompletion:");
- (void)subscribeAttributeWindSupportWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWindSupportWithParams:subscriptionEstablished:");
+ (void)readAttributeWindSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWindSupportWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWindSettingWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWindSettingWithCompletion:");
- (void)writeAttributeWindSettingWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeWindSettingWithValue:completion:");
- (void)writeAttributeWindSettingWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeWindSettingWithValue:params:completion:");
- (void)subscribeAttributeWindSettingWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWindSettingWithParams:subscriptionEstablished:");
+ (void)readAttributeWindSettingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWindSettingWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterThermostatUserInterfaceConfiguration (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeTemperatureDisplayModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTemperatureDisplayModeWithCompletion:");
- (void)writeAttributeTemperatureDisplayModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTemperatureDisplayModeWithValue:completion:");
- (void)writeAttributeTemperatureDisplayModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTemperatureDisplayModeWithValue:params:completion:");
- (void)subscribeAttributeTemperatureDisplayModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTemperatureDisplayModeWithParams:subscriptionEstablished:");
+ (void)readAttributeTemperatureDisplayModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTemperatureDisplayModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeKeypadLockoutWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeKeypadLockoutWithCompletion:");
- (void)writeAttributeKeypadLockoutWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeKeypadLockoutWithValue:completion:");
- (void)writeAttributeKeypadLockoutWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeKeypadLockoutWithValue:params:completion:");
- (void)subscribeAttributeKeypadLockoutWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeKeypadLockoutWithParams:subscriptionEstablished:");
+ (void)readAttributeKeypadLockoutWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeKeypadLockoutWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeScheduleProgrammingVisibilityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScheduleProgrammingVisibilityWithCompletion:");
- (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeScheduleProgrammingVisibilityWithValue:completion:");
- (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeScheduleProgrammingVisibilityWithValue:params:completion:");
- (void)subscribeAttributeScheduleProgrammingVisibilityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeScheduleProgrammingVisibilityWithParams:subscriptionEstablished:");
+ (void)readAttributeScheduleProgrammingVisibilityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScheduleProgrammingVisibilityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterColorControl (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)moveToHueWithParams:(MTRColorControlClusterMoveToHueParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveToHueWithParams:completion:");
- (void)moveHueWithParams:(MTRColorControlClusterMoveHueParams *)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use moveHueWithParams:completion:");
- (void)stepHueWithParams:(MTRColorControlClusterStepHueParams *)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use stepHueWithParams:completion:");
- (void)moveToSaturationWithParams:(MTRColorControlClusterMoveToSaturationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveToSaturationWithParams:completion:");
- (void)moveSaturationWithParams:(MTRColorControlClusterMoveSaturationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveSaturationWithParams:completion:");
- (void)stepSaturationWithParams:(MTRColorControlClusterStepSaturationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stepSaturationWithParams:completion:");
- (void)moveToHueAndSaturationWithParams:(MTRColorControlClusterMoveToHueAndSaturationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveToHueAndSaturationWithParams:completion:");
- (void)moveToColorWithParams:(MTRColorControlClusterMoveToColorParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveToColorWithParams:completion:");
- (void)moveColorWithParams:(MTRColorControlClusterMoveColorParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveColorWithParams:completion:");
- (void)stepColorWithParams:(MTRColorControlClusterStepColorParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stepColorWithParams:completion:");
- (void)moveToColorTemperatureWithParams:(MTRColorControlClusterMoveToColorTemperatureParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveToColorTemperatureWithParams:completion:");
- (void)enhancedMoveToHueWithParams:(MTRColorControlClusterEnhancedMoveToHueParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use enhancedMoveToHueWithParams:completion:");
- (void)enhancedMoveHueWithParams:(MTRColorControlClusterEnhancedMoveHueParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use enhancedMoveHueWithParams:completion:");
- (void)enhancedStepHueWithParams:(MTRColorControlClusterEnhancedStepHueParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use enhancedStepHueWithParams:completion:");
- (void)enhancedMoveToHueAndSaturationWithParams:(MTRColorControlClusterEnhancedMoveToHueAndSaturationParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use enhancedMoveToHueAndSaturationWithParams:completion:");
- (void)colorLoopSetWithParams:(MTRColorControlClusterColorLoopSetParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use colorLoopSetWithParams:completion:");
- (void)stopMoveStepWithParams:(MTRColorControlClusterStopMoveStepParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stopMoveStepWithParams:completion:");
- (void)moveColorTemperatureWithParams:(MTRColorControlClusterMoveColorTemperatureParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use moveColorTemperatureWithParams:completion:");
- (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatureParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use stepColorTemperatureWithParams:completion:");
- (void)readAttributeCurrentHueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentHueWithCompletion:");
- (void)subscribeAttributeCurrentHueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentHueWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentHueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentHueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentSaturationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentSaturationWithCompletion:");
- (void)subscribeAttributeCurrentSaturationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentSaturationWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentSaturationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentSaturationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRemainingTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRemainingTimeWithCompletion:");
- (void)subscribeAttributeRemainingTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRemainingTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeRemainingTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRemainingTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentXWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentXWithCompletion:");
- (void)subscribeAttributeCurrentXWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentXWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentXWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentYWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentYWithCompletion:");
- (void)subscribeAttributeCurrentYWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentYWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentYWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDriftCompensationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDriftCompensationWithCompletion:");
- (void)subscribeAttributeDriftCompensationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDriftCompensationWithParams:subscriptionEstablished:");
+ (void)readAttributeDriftCompensationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDriftCompensationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCompensationTextWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCompensationTextWithCompletion:");
- (void)
subscribeAttributeCompensationTextWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCompensationTextWithParams:subscriptionEstablished:");
+ (void)readAttributeCompensationTextWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCompensationTextWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorTemperatureMiredsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorTemperatureMiredsWithCompletion:");
- (void)subscribeAttributeColorTemperatureMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorTemperatureMiredsWithParams:subscriptionEstablished:");
+ (void)readAttributeColorTemperatureMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorTemperatureMiredsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorModeWithCompletion:");
- (void)subscribeAttributeColorModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorModeWithParams:subscriptionEstablished:");
+ (void)readAttributeColorModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOptionsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOptionsWithCompletion:");
- (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOptionsWithValue:completion:");
- (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOptionsWithValue:params:completion:");
- (void)subscribeAttributeOptionsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOptionsWithParams:subscriptionEstablished:");
+ (void)readAttributeOptionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOptionsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNumberOfPrimariesWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfPrimariesWithCompletion:");
- (void)subscribeAttributeNumberOfPrimariesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNumberOfPrimariesWithParams:subscriptionEstablished:");
+ (void)readAttributeNumberOfPrimariesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNumberOfPrimariesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary1XWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary1XWithCompletion:");
- (void)subscribeAttributePrimary1XWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary1XWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary1XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary1XWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary1YWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary1YWithCompletion:");
- (void)subscribeAttributePrimary1YWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary1YWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary1YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary1YWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary1IntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary1IntensityWithCompletion:");
- (void)subscribeAttributePrimary1IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary1IntensityWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary1IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary1IntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary2XWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary2XWithCompletion:");
- (void)subscribeAttributePrimary2XWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary2XWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary2XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary2XWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary2YWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary2YWithCompletion:");
- (void)subscribeAttributePrimary2YWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary2YWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary2YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary2YWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary2IntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary2IntensityWithCompletion:");
- (void)subscribeAttributePrimary2IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary2IntensityWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary2IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary2IntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary3XWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary3XWithCompletion:");
- (void)subscribeAttributePrimary3XWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary3XWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary3XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary3XWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary3YWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary3YWithCompletion:");
- (void)subscribeAttributePrimary3YWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary3YWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary3YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary3YWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary3IntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary3IntensityWithCompletion:");
- (void)subscribeAttributePrimary3IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary3IntensityWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary3IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary3IntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary4XWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary4XWithCompletion:");
- (void)subscribeAttributePrimary4XWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary4XWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary4XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary4XWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary4YWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary4YWithCompletion:");
- (void)subscribeAttributePrimary4YWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary4YWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary4YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary4YWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary4IntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary4IntensityWithCompletion:");
- (void)subscribeAttributePrimary4IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary4IntensityWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary4IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary4IntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary5XWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary5XWithCompletion:");
- (void)subscribeAttributePrimary5XWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary5XWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary5XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary5XWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary5YWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary5YWithCompletion:");
- (void)subscribeAttributePrimary5YWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary5YWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary5YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary5YWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary5IntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary5IntensityWithCompletion:");
- (void)subscribeAttributePrimary5IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary5IntensityWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary5IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary5IntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary6XWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary6XWithCompletion:");
- (void)subscribeAttributePrimary6XWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary6XWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary6XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary6XWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary6YWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary6YWithCompletion:");
- (void)subscribeAttributePrimary6YWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary6YWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary6YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary6YWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePrimary6IntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary6IntensityWithCompletion:");
- (void)subscribeAttributePrimary6IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePrimary6IntensityWithParams:subscriptionEstablished:");
+ (void)readAttributePrimary6IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePrimary6IntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWhitePointXWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWhitePointXWithCompletion:");
- (void)writeAttributeWhitePointXWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeWhitePointXWithValue:completion:");
- (void)writeAttributeWhitePointXWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeWhitePointXWithValue:params:completion:");
- (void)subscribeAttributeWhitePointXWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWhitePointXWithParams:subscriptionEstablished:");
+ (void)readAttributeWhitePointXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWhitePointXWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWhitePointYWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWhitePointYWithCompletion:");
- (void)writeAttributeWhitePointYWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeWhitePointYWithValue:completion:");
- (void)writeAttributeWhitePointYWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeWhitePointYWithValue:params:completion:");
- (void)subscribeAttributeWhitePointYWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWhitePointYWithParams:subscriptionEstablished:");
+ (void)readAttributeWhitePointYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeWhitePointYWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointRXWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointRXWithCompletion:");
- (void)writeAttributeColorPointRXWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointRXWithValue:completion:");
- (void)writeAttributeColorPointRXWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointRXWithValue:params:completion:");
- (void)subscribeAttributeColorPointRXWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointRXWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointRXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointRXWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointRYWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointRYWithCompletion:");
- (void)writeAttributeColorPointRYWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointRYWithValue:completion:");
- (void)writeAttributeColorPointRYWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointRYWithValue:params:completion:");
- (void)subscribeAttributeColorPointRYWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointRYWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointRYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointRYWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointRIntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointRIntensityWithCompletion:");
- (void)writeAttributeColorPointRIntensityWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointRIntensityWithValue:completion:");
- (void)writeAttributeColorPointRIntensityWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointRIntensityWithValue:params:completion:");
- (void)subscribeAttributeColorPointRIntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointRIntensityWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointRIntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointRIntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointGXWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointGXWithCompletion:");
- (void)writeAttributeColorPointGXWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointGXWithValue:completion:");
- (void)writeAttributeColorPointGXWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointGXWithValue:params:completion:");
- (void)subscribeAttributeColorPointGXWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointGXWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointGXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointGXWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointGYWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointGYWithCompletion:");
- (void)writeAttributeColorPointGYWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointGYWithValue:completion:");
- (void)writeAttributeColorPointGYWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointGYWithValue:params:completion:");
- (void)subscribeAttributeColorPointGYWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointGYWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointGYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointGYWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointGIntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointGIntensityWithCompletion:");
- (void)writeAttributeColorPointGIntensityWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointGIntensityWithValue:completion:");
- (void)writeAttributeColorPointGIntensityWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointGIntensityWithValue:params:completion:");
- (void)subscribeAttributeColorPointGIntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointGIntensityWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointGIntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointGIntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointBXWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointBXWithCompletion:");
- (void)writeAttributeColorPointBXWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointBXWithValue:completion:");
- (void)writeAttributeColorPointBXWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointBXWithValue:params:completion:");
- (void)subscribeAttributeColorPointBXWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointBXWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointBXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointBXWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointBYWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointBYWithCompletion:");
- (void)writeAttributeColorPointBYWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointBYWithValue:completion:");
- (void)writeAttributeColorPointBYWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointBYWithValue:params:completion:");
- (void)subscribeAttributeColorPointBYWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointBYWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointBYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointBYWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorPointBIntensityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointBIntensityWithCompletion:");
- (void)writeAttributeColorPointBIntensityWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointBIntensityWithValue:completion:");
- (void)writeAttributeColorPointBIntensityWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeColorPointBIntensityWithValue:params:completion:");
- (void)subscribeAttributeColorPointBIntensityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorPointBIntensityWithParams:subscriptionEstablished:");
+ (void)readAttributeColorPointBIntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorPointBIntensityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnhancedCurrentHueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnhancedCurrentHueWithCompletion:");
- (void)subscribeAttributeEnhancedCurrentHueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnhancedCurrentHueWithParams:subscriptionEstablished:");
+ (void)readAttributeEnhancedCurrentHueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnhancedCurrentHueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnhancedColorModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnhancedColorModeWithCompletion:");
- (void)subscribeAttributeEnhancedColorModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnhancedColorModeWithParams:subscriptionEstablished:");
+ (void)readAttributeEnhancedColorModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnhancedColorModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorLoopActiveWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopActiveWithCompletion:");
- (void)subscribeAttributeColorLoopActiveWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorLoopActiveWithParams:subscriptionEstablished:");
+ (void)readAttributeColorLoopActiveWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopActiveWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorLoopDirectionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopDirectionWithCompletion:");
- (void)subscribeAttributeColorLoopDirectionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorLoopDirectionWithParams:subscriptionEstablished:");
+ (void)readAttributeColorLoopDirectionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopDirectionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorLoopTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopTimeWithCompletion:");
- (void)subscribeAttributeColorLoopTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorLoopTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeColorLoopTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorLoopStartEnhancedHueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopStartEnhancedHueWithCompletion:");
- (void)subscribeAttributeColorLoopStartEnhancedHueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorLoopStartEnhancedHueWithParams:subscriptionEstablished:");
+ (void)readAttributeColorLoopStartEnhancedHueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopStartEnhancedHueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorLoopStoredEnhancedHueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopStoredEnhancedHueWithCompletion:");
- (void)subscribeAttributeColorLoopStoredEnhancedHueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorLoopStoredEnhancedHueWithParams:subscriptionEstablished:");
+ (void)readAttributeColorLoopStoredEnhancedHueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorLoopStoredEnhancedHueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorCapabilitiesWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorCapabilitiesWithCompletion:");
- (void)subscribeAttributeColorCapabilitiesWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorCapabilitiesWithParams:subscriptionEstablished:");
+ (void)readAttributeColorCapabilitiesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorCapabilitiesWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorTempPhysicalMinMiredsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorTempPhysicalMinMiredsWithCompletion:");
- (void)subscribeAttributeColorTempPhysicalMinMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorTempPhysicalMinMiredsWithParams:subscriptionEstablished:");
+ (void)readAttributeColorTempPhysicalMinMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorTempPhysicalMinMiredsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeColorTempPhysicalMaxMiredsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorTempPhysicalMaxMiredsWithCompletion:");
- (void)subscribeAttributeColorTempPhysicalMaxMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeColorTempPhysicalMaxMiredsWithParams:subscriptionEstablished:");
+ (void)readAttributeColorTempPhysicalMaxMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeColorTempPhysicalMaxMiredsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCoupleColorTempToLevelMinMiredsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCoupleColorTempToLevelMinMiredsWithCompletion:");
- (void)subscribeAttributeCoupleColorTempToLevelMinMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCoupleColorTempToLevelMinMiredsWithParams:subscriptionEstablished:");
+ (void)readAttributeCoupleColorTempToLevelMinMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCoupleColorTempToLevelMinMiredsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStartUpColorTemperatureMiredsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartUpColorTemperatureMiredsWithCompletion:");
- (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStartUpColorTemperatureMiredsWithValue:completion:");
- (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStartUpColorTemperatureMiredsWithValue:params:completion:");
- (void)subscribeAttributeStartUpColorTemperatureMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStartUpColorTemperatureMiredsWithParams:subscriptionEstablished:");
+ (void)readAttributeStartUpColorTemperatureMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartUpColorTemperatureMiredsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterBallastConfiguration (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributePhysicalMinLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalMinLevelWithCompletion:");
- (void)
subscribeAttributePhysicalMinLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePhysicalMinLevelWithParams:subscriptionEstablished:");
+ (void)readAttributePhysicalMinLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalMinLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePhysicalMaxLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalMaxLevelWithCompletion:");
- (void)
subscribeAttributePhysicalMaxLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePhysicalMaxLevelWithParams:subscriptionEstablished:");
+ (void)readAttributePhysicalMaxLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalMaxLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBallastStatusWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBallastStatusWithCompletion:");
- (void)subscribeAttributeBallastStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBallastStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeBallastStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBallastStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinLevelWithCompletion:");
- (void)writeAttributeMinLevelWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMinLevelWithValue:completion:");
- (void)writeAttributeMinLevelWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMinLevelWithValue:params:completion:");
- (void)subscribeAttributeMinLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinLevelWithParams:subscriptionEstablished:");
+ (void)readAttributeMinLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxLevelWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxLevelWithCompletion:");
- (void)writeAttributeMaxLevelWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMaxLevelWithValue:completion:");
- (void)writeAttributeMaxLevelWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeMaxLevelWithValue:params:completion:");
- (void)subscribeAttributeMaxLevelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxLevelWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxLevelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeIntrinsicBalanceFactorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeIntrinsicBalanceFactorWithCompletion:");
- (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeIntrinsicBalanceFactorWithValue:completion:");
- (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeIntrinsicBalanceFactorWithValue:params:completion:");
- (void)subscribeAttributeIntrinsicBalanceFactorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeIntrinsicBalanceFactorWithParams:subscriptionEstablished:");
+ (void)readAttributeIntrinsicBalanceFactorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeIntrinsicBalanceFactorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBallastFactorAdjustmentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBallastFactorAdjustmentWithCompletion:");
- (void)writeAttributeBallastFactorAdjustmentWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBallastFactorAdjustmentWithValue:completion:");
- (void)writeAttributeBallastFactorAdjustmentWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBallastFactorAdjustmentWithValue:params:completion:");
- (void)subscribeAttributeBallastFactorAdjustmentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBallastFactorAdjustmentWithParams:subscriptionEstablished:");
+ (void)readAttributeBallastFactorAdjustmentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBallastFactorAdjustmentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLampQuantityWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampQuantityWithCompletion:");
- (void)subscribeAttributeLampQuantityWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLampQuantityWithParams:subscriptionEstablished:");
+ (void)readAttributeLampQuantityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampQuantityWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLampTypeWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampTypeWithCompletion:");
- (void)writeAttributeLampTypeWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampTypeWithValue:completion:");
- (void)writeAttributeLampTypeWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampTypeWithValue:params:completion:");
- (void)subscribeAttributeLampTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLampTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeLampTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLampManufacturerWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampManufacturerWithCompletion:");
- (void)writeAttributeLampManufacturerWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampManufacturerWithValue:completion:");
- (void)writeAttributeLampManufacturerWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampManufacturerWithValue:params:completion:");
- (void)
subscribeAttributeLampManufacturerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLampManufacturerWithParams:subscriptionEstablished:");
+ (void)readAttributeLampManufacturerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampManufacturerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLampRatedHoursWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampRatedHoursWithCompletion:");
- (void)writeAttributeLampRatedHoursWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampRatedHoursWithValue:completion:");
- (void)writeAttributeLampRatedHoursWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampRatedHoursWithValue:params:completion:");
- (void)subscribeAttributeLampRatedHoursWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLampRatedHoursWithParams:subscriptionEstablished:");
+ (void)readAttributeLampRatedHoursWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampRatedHoursWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLampBurnHoursWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampBurnHoursWithCompletion:");
- (void)writeAttributeLampBurnHoursWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampBurnHoursWithValue:completion:");
- (void)writeAttributeLampBurnHoursWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampBurnHoursWithValue:params:completion:");
- (void)subscribeAttributeLampBurnHoursWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLampBurnHoursWithParams:subscriptionEstablished:");
+ (void)readAttributeLampBurnHoursWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampBurnHoursWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLampAlarmModeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampAlarmModeWithCompletion:");
- (void)writeAttributeLampAlarmModeWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampAlarmModeWithValue:completion:");
- (void)writeAttributeLampAlarmModeWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampAlarmModeWithValue:params:completion:");
- (void)subscribeAttributeLampAlarmModeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLampAlarmModeWithParams:subscriptionEstablished:");
+ (void)readAttributeLampAlarmModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampAlarmModeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLampBurnHoursTripPointWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampBurnHoursTripPointWithCompletion:");
- (void)writeAttributeLampBurnHoursTripPointWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampBurnHoursTripPointWithValue:completion:");
- (void)writeAttributeLampBurnHoursTripPointWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLampBurnHoursTripPointWithValue:params:completion:");
- (void)subscribeAttributeLampBurnHoursTripPointWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLampBurnHoursTripPointWithParams:subscriptionEstablished:");
+ (void)readAttributeLampBurnHoursTripPointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLampBurnHoursTripPointWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterIlluminanceMeasurement (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithCompletion:");
- (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeToleranceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithCompletion:");
- (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeToleranceWithParams:subscriptionEstablished:");
+ (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLightSensorTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLightSensorTypeWithCompletion:");
- (void)subscribeAttributeLightSensorTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLightSensorTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeLightSensorTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLightSensorTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterTemperatureMeasurement (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithCompletion:");
- (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeToleranceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithCompletion:");
- (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeToleranceWithParams:subscriptionEstablished:");
+ (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterPressureMeasurement (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithCompletion:");
- (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeToleranceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithCompletion:");
- (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeToleranceWithParams:subscriptionEstablished:");
+ (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeScaledValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScaledValueWithCompletion:");
- (void)subscribeAttributeScaledValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeScaledValueWithParams:subscriptionEstablished:");
+ (void)readAttributeScaledValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScaledValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinScaledValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinScaledValueWithCompletion:");
- (void)subscribeAttributeMinScaledValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinScaledValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMinScaledValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinScaledValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxScaledValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxScaledValueWithCompletion:");
- (void)subscribeAttributeMaxScaledValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxScaledValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxScaledValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxScaledValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeScaledToleranceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScaledToleranceWithCompletion:");
- (void)subscribeAttributeScaledToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeScaledToleranceWithParams:subscriptionEstablished:");
+ (void)readAttributeScaledToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScaledToleranceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeScaleWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScaleWithCompletion:");
- (void)subscribeAttributeScaleWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeScaleWithParams:subscriptionEstablished:");
+ (void)readAttributeScaleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeScaleWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterFlowMeasurement (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithCompletion:");
- (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeToleranceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithCompletion:");
- (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeToleranceWithParams:subscriptionEstablished:");
+ (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterRelativeHumidityMeasurement (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithCompletion:");
- (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMinMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMinMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMinMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMaxMeasuredValueWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithCompletion:");
- (void)
subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMaxMeasuredValueWithParams:subscriptionEstablished:");
+ (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMaxMeasuredValueWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeToleranceWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithCompletion:");
- (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeToleranceWithParams:subscriptionEstablished:");
+ (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeToleranceWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterOccupancySensing (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeOccupancyWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupancyWithCompletion:");
- (void)subscribeAttributeOccupancyWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupancyWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupancyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupancyWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOccupancySensorTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupancySensorTypeWithCompletion:");
- (void)subscribeAttributeOccupancySensorTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupancySensorTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupancySensorTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupancySensorTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOccupancySensorTypeBitmapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupancySensorTypeBitmapWithCompletion:");
- (void)subscribeAttributeOccupancySensorTypeBitmapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOccupancySensorTypeBitmapWithParams:subscriptionEstablished:");
+ (void)readAttributeOccupancySensorTypeBitmapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOccupancySensorTypeBitmapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePirOccupiedToUnoccupiedDelayWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePIROccupiedToUnoccupiedDelayWithCompletion:");
- (void)writeAttributePirOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePIROccupiedToUnoccupiedDelayWithValue:completion:");
- (void)writeAttributePirOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePIROccupiedToUnoccupiedDelayWithValue:params:completion:");
- (void)subscribeAttributePirOccupiedToUnoccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePIROccupiedToUnoccupiedDelayWithParams:subscriptionEstablished:");
+ (void)readAttributePirOccupiedToUnoccupiedDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePIROccupiedToUnoccupiedDelayWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePirUnoccupiedToOccupiedDelayWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePIRUnoccupiedToOccupiedDelayWithCompletion:");
- (void)writeAttributePirUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePIRUnoccupiedToOccupiedDelayWithValue:completion:");
- (void)writeAttributePirUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePIRUnoccupiedToOccupiedDelayWithValue:params:completion:");
- (void)subscribeAttributePirUnoccupiedToOccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePIRUnoccupiedToOccupiedDelayWithParams:subscriptionEstablished:");
+ (void)readAttributePirUnoccupiedToOccupiedDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePIRUnoccupiedToOccupiedDelayWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePirUnoccupiedToOccupiedThresholdWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePIRUnoccupiedToOccupiedThresholdWithCompletion:");
- (void)writeAttributePirUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:completion:");
- (void)writeAttributePirUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:params:completion:");
- (void)subscribeAttributePirUnoccupiedToOccupiedThresholdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePIRUnoccupiedToOccupiedThresholdWithParams:subscriptionEstablished:");
+ (void)readAttributePirUnoccupiedToOccupiedThresholdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePIRUnoccupiedToOccupiedThresholdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUltrasonicOccupiedToUnoccupiedDelayWithCompletion:");
- (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:completion:");
- (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:params:completion:");
- (void)subscribeAttributeUltrasonicOccupiedToUnoccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUltrasonicOccupiedToUnoccupiedDelayWithParams:subscriptionEstablished:");
+ (void)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeUltrasonicOccupiedToUnoccupiedDelayWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUltrasonicUnoccupiedToOccupiedDelayWithCompletion:");
- (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:completion:");
- (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:params:completion:");
- (void)subscribeAttributeUltrasonicUnoccupiedToOccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:subscriptionEstablished:");
+ (void)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeUltrasonicUnoccupiedToOccupiedDelayWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithCompletion:");
- (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:completion:");
- (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:params:completion:");
- (void)subscribeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)
subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:subscriptionEstablished:");
+ (void)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalContactOccupiedToUnoccupiedDelayWithCompletion:");
- (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:completion:");
- (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:params:completion:");
- (void)subscribeAttributePhysicalContactOccupiedToUnoccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)
subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED(
"Please use subscribeAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:subscriptionEstablished:");
+ (void)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithAttributeCache:
(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributePhysicalContactOccupiedToUnoccupiedDelayWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalContactUnoccupiedToOccupiedDelayWithCompletion:");
- (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:completion:");
- (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:params:completion:");
- (void)subscribeAttributePhysicalContactUnoccupiedToOccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)
subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED(
"Please use subscribeAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:subscriptionEstablished:");
+ (void)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithAttributeCache:
(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributePhysicalContactUnoccupiedToOccupiedDelayWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithCompletion:");
- (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:completion:");
- (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:params:completion:");
- (void)subscribeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)
subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED(
"Please use subscribeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams:subscriptionEstablished:");
+ (void)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithAttributeCache:
(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterWakeOnLan (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeMACAddressWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMACAddressWithCompletion:");
- (void)subscribeAttributeMACAddressWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMACAddressWithParams:subscriptionEstablished:");
+ (void)readAttributeMACAddressWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMACAddressWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterChannel (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)changeChannelWithParams:(MTRChannelClusterChangeChannelParams *)params
completionHandler:(void (^)(MTRChannelClusterChangeChannelResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use changeChannelWithParams:completion:");
- (void)changeChannelByNumberWithParams:(MTRChannelClusterChangeChannelByNumberParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use changeChannelByNumberWithParams:completion:");
- (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use skipChannelWithParams:completion:");
- (void)readAttributeChannelListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChannelListWithCompletion:");
- (void)subscribeAttributeChannelListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeChannelListWithParams:subscriptionEstablished:");
+ (void)readAttributeChannelListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeChannelListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLineupWithCompletionHandler:
(void (^)(MTRChannelClusterLineupInfo * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLineupWithCompletion:");
- (void)subscribeAttributeLineupWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(MTRChannelClusterLineupInfo * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLineupWithParams:subscriptionEstablished:");
+ (void)readAttributeLineupWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(MTRChannelClusterLineupInfo * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLineupWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentChannelWithCompletionHandler:
(void (^)(MTRChannelClusterChannelInfo * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentChannelWithCompletion:");
- (void)subscribeAttributeCurrentChannelWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(MTRChannelClusterChannelInfo * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentChannelWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentChannelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(MTRChannelClusterChannelInfo * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentChannelWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterTargetNavigator (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams *)params
completionHandler:(void (^)(MTRTargetNavigatorClusterNavigateTargetResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use navigateTargetWithParams:completion:");
- (void)readAttributeTargetListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTargetListWithCompletion:");
- (void)subscribeAttributeTargetListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTargetListWithParams:subscriptionEstablished:");
+ (void)readAttributeTargetListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTargetListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentTargetWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentTargetWithCompletion:");
- (void)subscribeAttributeCurrentTargetWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentTargetWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentTargetWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentTargetWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterMediaPlayback (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)playWithParams:(MTRMediaPlaybackClusterPlayParams * _Nullable)params
completionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use playWithParams:completion:");
- (void)playWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use playWithCompletion:");
- (void)pauseWithParams:(MTRMediaPlaybackClusterPauseParams * _Nullable)params
completionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use pauseWithParams:completion:");
- (void)pauseWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use pauseWithCompletion:");
- (void)stopPlaybackWithParams:(MTRMediaPlaybackClusterStopPlaybackParams * _Nullable)params
completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use stopPlaybackWithParams:completion:");
- (void)stopPlaybackWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use stopPlaybackWithCompletion:");
- (void)startOverWithParams:(MTRMediaPlaybackClusterStartOverParams * _Nullable)params
completionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use startOverWithParams:completion:");
- (void)startOverWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use startOverWithCompletion:");
- (void)previousWithParams:(MTRMediaPlaybackClusterPreviousParams * _Nullable)params
completionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use previousWithParams:completion:");
- (void)previousWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use previousWithCompletion:");
- (void)nextWithParams:(MTRMediaPlaybackClusterNextParams * _Nullable)params
completionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use nextWithParams:completion:");
- (void)nextWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use nextWithCompletion:");
- (void)rewindWithParams:(MTRMediaPlaybackClusterRewindParams * _Nullable)params
completionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use rewindWithParams:completion:");
- (void)rewindWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use rewindWithCompletion:");
- (void)fastForwardWithParams:(MTRMediaPlaybackClusterFastForwardParams * _Nullable)params
completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use fastForwardWithParams:completion:");
- (void)fastForwardWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use fastForwardWithCompletion:");
- (void)skipForwardWithParams:(MTRMediaPlaybackClusterSkipForwardParams *)params
completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use skipForwardWithParams:completion:");
- (void)skipBackwardWithParams:(MTRMediaPlaybackClusterSkipBackwardParams *)params
completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use skipBackwardWithParams:completion:");
- (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params
completionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use seekWithParams:completion:");
- (void)readAttributeCurrentStateWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentStateWithCompletion:");
- (void)subscribeAttributeCurrentStateWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentStateWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentStateWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStartTimeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartTimeWithCompletion:");
- (void)subscribeAttributeStartTimeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStartTimeWithParams:subscriptionEstablished:");
+ (void)readAttributeStartTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStartTimeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDurationWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDurationWithCompletion:");
- (void)subscribeAttributeDurationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDurationWithParams:subscriptionEstablished:");
+ (void)readAttributeDurationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDurationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSampledPositionWithCompletionHandler:
(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSampledPositionWithCompletion:");
- (void)subscribeAttributeSampledPositionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSampledPositionWithParams:subscriptionEstablished:");
+ (void)readAttributeSampledPositionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSampledPositionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePlaybackSpeedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePlaybackSpeedWithCompletion:");
- (void)subscribeAttributePlaybackSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePlaybackSpeedWithParams:subscriptionEstablished:");
+ (void)readAttributePlaybackSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePlaybackSpeedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSeekRangeEndWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSeekRangeEndWithCompletion:");
- (void)subscribeAttributeSeekRangeEndWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSeekRangeEndWithParams:subscriptionEstablished:");
+ (void)readAttributeSeekRangeEndWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSeekRangeEndWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSeekRangeStartWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSeekRangeStartWithCompletion:");
- (void)subscribeAttributeSeekRangeStartWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSeekRangeStartWithParams:subscriptionEstablished:");
+ (void)readAttributeSeekRangeStartWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSeekRangeStartWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterMediaInput (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)selectInputWithParams:(MTRMediaInputClusterSelectInputParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use selectInputWithParams:completion:");
- (void)showInputStatusWithParams:(MTRMediaInputClusterShowInputStatusParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use showInputStatusWithParams:completion:");
- (void)showInputStatusWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use showInputStatusWithCompletion:");
- (void)hideInputStatusWithParams:(MTRMediaInputClusterHideInputStatusParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use hideInputStatusWithParams:completion:");
- (void)hideInputStatusWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use hideInputStatusWithCompletion:");
- (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use renameInputWithParams:completion:");
- (void)readAttributeInputListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInputListWithCompletion:");
- (void)subscribeAttributeInputListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInputListWithParams:subscriptionEstablished:");
+ (void)readAttributeInputListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInputListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentInputWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentInputWithCompletion:");
- (void)subscribeAttributeCurrentInputWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentInputWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentInputWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentInputWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterLowPower (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use sleepWithParams:completion:");
- (void)sleepWithCompletionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use sleepWithCompletion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterKeypadInput (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params
completionHandler:
(void (^)(MTRKeypadInputClusterSendKeyResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use sendKeyWithParams:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterContentLauncher (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)launchContentWithParams:(MTRContentLauncherClusterLaunchContentParams *)params
completionHandler:(void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use launchContentWithParams:completion:");
- (void)launchURLWithParams:(MTRContentLauncherClusterLaunchURLParams *)params
completionHandler:
(void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use launchURLWithParams:completion:");
- (void)readAttributeAcceptHeaderWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptHeaderWithCompletion:");
- (void)subscribeAttributeAcceptHeaderWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptHeaderWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptHeaderWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptHeaderWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeSupportedStreamingProtocolsWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedStreamingProtocolsWithCompletion:");
- (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSupportedStreamingProtocolsWithValue:completion:");
- (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeSupportedStreamingProtocolsWithValue:params:completion:");
- (void)subscribeAttributeSupportedStreamingProtocolsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeSupportedStreamingProtocolsWithParams:subscriptionEstablished:");
+ (void)readAttributeSupportedStreamingProtocolsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeSupportedStreamingProtocolsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterAudioOutput (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)selectOutputWithParams:(MTRAudioOutputClusterSelectOutputParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use selectOutputWithParams:completion:");
- (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use renameOutputWithParams:completion:");
- (void)readAttributeOutputListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOutputListWithCompletion:");
- (void)subscribeAttributeOutputListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOutputListWithParams:subscriptionEstablished:");
+ (void)readAttributeOutputListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOutputListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentOutputWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentOutputWithCompletion:");
- (void)subscribeAttributeCurrentOutputWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentOutputWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentOutputWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentOutputWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterApplicationLauncher (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)launchAppWithParams:(MTRApplicationLauncherClusterLaunchAppParams *)params
completionHandler:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use launchAppWithParams:completion:");
- (void)stopAppWithParams:(MTRApplicationLauncherClusterStopAppParams *)params
completionHandler:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use stopAppWithParams:completion:");
- (void)hideAppWithParams:(MTRApplicationLauncherClusterHideAppParams *)params
completionHandler:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use hideAppWithParams:completion:");
- (void)readAttributeCatalogListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCatalogListWithCompletion:");
- (void)subscribeAttributeCatalogListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCatalogListWithParams:subscriptionEstablished:");
+ (void)readAttributeCatalogListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCatalogListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentAppWithCompletionHandler:
(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentAppWithCompletion:");
- (void)writeAttributeCurrentAppWithValue:(MTRApplicationLauncherClusterApplicationEP * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeCurrentAppWithValue:completion:");
- (void)writeAttributeCurrentAppWithValue:(MTRApplicationLauncherClusterApplicationEP * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeCurrentAppWithValue:params:completion:");
- (void)subscribeAttributeCurrentAppWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentAppWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentAppWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentAppWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterApplicationBasic (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)readAttributeVendorNameWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorNameWithCompletion:");
- (void)subscribeAttributeVendorNameWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeVendorNameWithParams:subscriptionEstablished:");
+ (void)readAttributeVendorNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorNameWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeVendorIDWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorIDWithCompletion:");
- (void)subscribeAttributeVendorIDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeVendorIDWithParams:subscriptionEstablished:");
+ (void)readAttributeVendorIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorIDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeApplicationNameWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApplicationNameWithCompletion:");
- (void)subscribeAttributeApplicationNameWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeApplicationNameWithParams:subscriptionEstablished:");
+ (void)readAttributeApplicationNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApplicationNameWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeProductIDWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductIDWithCompletion:");
- (void)subscribeAttributeProductIDWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeProductIDWithParams:subscriptionEstablished:");
+ (void)readAttributeProductIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeProductIDWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeApplicationWithCompletionHandler:
(void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApplicationWithCompletion:");
- (void)subscribeAttributeApplicationWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeApplicationWithParams:subscriptionEstablished:");
+ (void)readAttributeApplicationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApplicationWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStatusWithCompletion:");
- (void)subscribeAttributeStatusWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStatusWithParams:subscriptionEstablished:");
+ (void)readAttributeStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStatusWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeApplicationVersionWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApplicationVersionWithCompletion:");
- (void)subscribeAttributeApplicationVersionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeApplicationVersionWithParams:subscriptionEstablished:");
+ (void)readAttributeApplicationVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApplicationVersionWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAllowedVendorListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAllowedVendorListWithCompletion:");
- (void)
subscribeAttributeAllowedVendorListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAllowedVendorListWithParams:subscriptionEstablished:");
+ (void)readAttributeAllowedVendorListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAllowedVendorListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterAccountLogin (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)getSetupPINWithParams:(MTRAccountLoginClusterGetSetupPINParams *)params
completionHandler:(void (^)(MTRAccountLoginClusterGetSetupPINResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use getSetupPINWithParams:completion:");
- (void)loginWithParams:(MTRAccountLoginClusterLoginParams *)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use loginWithParams:completion:");
- (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use logoutWithParams:completion:");
- (void)logoutWithCompletionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use logoutWithCompletion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterElectricalMeasurement (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)getProfileInfoCommandWithParams:(MTRElectricalMeasurementClusterGetProfileInfoCommandParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use getProfileInfoCommandWithParams:completion:");
- (void)getProfileInfoCommandWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use getProfileInfoCommandWithCompletion:");
- (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams *)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use getMeasurementProfileCommandWithParams:completion:");
- (void)readAttributeMeasurementTypeWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasurementTypeWithCompletion:");
- (void)subscribeAttributeMeasurementTypeWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasurementTypeWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasurementTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasurementTypeWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageWithCompletion:");
- (void)subscribeAttributeDcVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeDcVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcVoltageMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageMinWithCompletion:");
- (void)subscribeAttributeDcVoltageMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcVoltageMinWithParams:subscriptionEstablished:");
+ (void)readAttributeDcVoltageMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcVoltageMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageMaxWithCompletion:");
- (void)subscribeAttributeDcVoltageMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcVoltageMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeDcVoltageMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentWithCompletion:");
- (void)subscribeAttributeDcCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeDcCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcCurrentMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentMinWithCompletion:");
- (void)subscribeAttributeDcCurrentMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcCurrentMinWithParams:subscriptionEstablished:");
+ (void)readAttributeDcCurrentMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcCurrentMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentMaxWithCompletion:");
- (void)subscribeAttributeDcCurrentMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcCurrentMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeDcCurrentMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcPowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerWithCompletion:");
- (void)subscribeAttributeDcPowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcPowerWithParams:subscriptionEstablished:");
+ (void)readAttributeDcPowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcPowerMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerMinWithCompletion:");
- (void)subscribeAttributeDcPowerMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcPowerMinWithParams:subscriptionEstablished:");
+ (void)readAttributeDcPowerMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcPowerMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerMaxWithCompletion:");
- (void)subscribeAttributeDcPowerMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcPowerMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeDcPowerMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcVoltageMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageMultiplierWithCompletion:");
- (void)subscribeAttributeDcVoltageMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcVoltageMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributeDcVoltageMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcVoltageDivisorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageDivisorWithCompletion:");
- (void)
subscribeAttributeDcVoltageDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcVoltageDivisorWithParams:subscriptionEstablished:");
+ (void)readAttributeDcVoltageDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcVoltageDivisorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcCurrentMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentMultiplierWithCompletion:");
- (void)subscribeAttributeDcCurrentMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcCurrentMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributeDcCurrentMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcCurrentDivisorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentDivisorWithCompletion:");
- (void)
subscribeAttributeDcCurrentDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcCurrentDivisorWithParams:subscriptionEstablished:");
+ (void)readAttributeDcCurrentDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcCurrentDivisorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcPowerMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerMultiplierWithCompletion:");
- (void)subscribeAttributeDcPowerMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcPowerMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributeDcPowerMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeDcPowerDivisorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerDivisorWithCompletion:");
- (void)subscribeAttributeDcPowerDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeDcPowerDivisorWithParams:subscriptionEstablished:");
+ (void)readAttributeDcPowerDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeDcPowerDivisorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcFrequencyWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyWithCompletion:");
- (void)subscribeAttributeAcFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcFrequencyWithParams:subscriptionEstablished:");
+ (void)readAttributeAcFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcFrequencyMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyMinWithCompletion:");
- (void)subscribeAttributeAcFrequencyMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcFrequencyMinWithParams:subscriptionEstablished:");
+ (void)readAttributeAcFrequencyMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcFrequencyMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyMaxWithCompletion:");
- (void)subscribeAttributeAcFrequencyMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcFrequencyMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeAcFrequencyMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNeutralCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNeutralCurrentWithCompletion:");
- (void)subscribeAttributeNeutralCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNeutralCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeNeutralCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNeutralCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTotalActivePowerWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTotalActivePowerWithCompletion:");
- (void)
subscribeAttributeTotalActivePowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTotalActivePowerWithParams:subscriptionEstablished:");
+ (void)readAttributeTotalActivePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTotalActivePowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTotalReactivePowerWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTotalReactivePowerWithCompletion:");
- (void)subscribeAttributeTotalReactivePowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTotalReactivePowerWithParams:subscriptionEstablished:");
+ (void)readAttributeTotalReactivePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTotalReactivePowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTotalApparentPowerWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTotalApparentPowerWithCompletion:");
- (void)subscribeAttributeTotalApparentPowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTotalApparentPowerWithParams:subscriptionEstablished:");
+ (void)readAttributeTotalApparentPowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTotalApparentPowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasured1stHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured1stHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasured1stHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasured1stHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasured1stHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured1stHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasured3rdHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured3rdHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasured3rdHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasured3rdHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasured3rdHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured3rdHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasured5thHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured5thHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasured5thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasured5thHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasured5thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured5thHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasured7thHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured7thHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasured7thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasured7thHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasured7thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured7thHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasured9thHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured9thHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasured9thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasured9thHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasured9thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured9thHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasured11thHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured11thHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasured11thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasured11thHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasured11thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasured11thHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasuredPhase1stHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase1stHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasuredPhase1stHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredPhase1stHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredPhase1stHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase1stHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasuredPhase3rdHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase3rdHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasuredPhase3rdHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredPhase3rdHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredPhase3rdHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase3rdHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasuredPhase5thHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase5thHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasuredPhase5thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredPhase5thHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredPhase5thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase5thHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasuredPhase7thHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase7thHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasuredPhase7thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredPhase7thHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredPhase7thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase7thHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasuredPhase9thHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase9thHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasuredPhase9thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredPhase9thHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredPhase9thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase9thHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeMeasuredPhase11thHarmonicCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase11thHarmonicCurrentWithCompletion:");
- (void)subscribeAttributeMeasuredPhase11thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeMeasuredPhase11thHarmonicCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeMeasuredPhase11thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeMeasuredPhase11thHarmonicCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcFrequencyMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyMultiplierWithCompletion:");
- (void)subscribeAttributeAcFrequencyMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcFrequencyMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributeAcFrequencyMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcFrequencyDivisorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyDivisorWithCompletion:");
- (void)subscribeAttributeAcFrequencyDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcFrequencyDivisorWithParams:subscriptionEstablished:");
+ (void)readAttributeAcFrequencyDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcFrequencyDivisorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePowerMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerMultiplierWithCompletion:");
- (void)subscribeAttributePowerMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePowerMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributePowerMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePowerDivisorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerDivisorWithCompletion:");
- (void)subscribeAttributePowerDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePowerDivisorWithParams:subscriptionEstablished:");
+ (void)readAttributePowerDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerDivisorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeHarmonicCurrentMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHarmonicCurrentMultiplierWithCompletion:");
- (void)subscribeAttributeHarmonicCurrentMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeHarmonicCurrentMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributeHarmonicCurrentMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeHarmonicCurrentMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePhaseHarmonicCurrentMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhaseHarmonicCurrentMultiplierWithCompletion:");
- (void)subscribeAttributePhaseHarmonicCurrentMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePhaseHarmonicCurrentMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributePhaseHarmonicCurrentMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePhaseHarmonicCurrentMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstantaneousVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousVoltageWithCompletion:");
- (void)subscribeAttributeInstantaneousVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstantaneousVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeInstantaneousVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstantaneousLineCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousLineCurrentWithCompletion:");
- (void)subscribeAttributeInstantaneousLineCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstantaneousLineCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeInstantaneousLineCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousLineCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstantaneousActiveCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousActiveCurrentWithCompletion:");
- (void)subscribeAttributeInstantaneousActiveCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstantaneousActiveCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeInstantaneousActiveCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousActiveCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstantaneousReactiveCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousReactiveCurrentWithCompletion:");
- (void)subscribeAttributeInstantaneousReactiveCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstantaneousReactiveCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeInstantaneousReactiveCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousReactiveCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInstantaneousPowerWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousPowerWithCompletion:");
- (void)subscribeAttributeInstantaneousPowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInstantaneousPowerWithParams:subscriptionEstablished:");
+ (void)readAttributeInstantaneousPowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInstantaneousPowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageWithCompletion:");
- (void)subscribeAttributeRmsVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMinWithCompletion:");
- (void)subscribeAttributeRmsVoltageMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageMinWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMaxWithCompletion:");
- (void)subscribeAttributeRmsVoltageMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentWithCompletion:");
- (void)subscribeAttributeRmsCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMinWithCompletion:");
- (void)subscribeAttributeRmsCurrentMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentMinWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMaxWithCompletion:");
- (void)subscribeAttributeRmsCurrentMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerWithCompletion:");
- (void)subscribeAttributeActivePowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerMinWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMinWithCompletion:");
- (void)subscribeAttributeActivePowerMinWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerMinWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMinWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerMaxWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMaxWithCompletion:");
- (void)subscribeAttributeActivePowerMaxWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerMaxWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMaxWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeReactivePowerWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactivePowerWithCompletion:");
- (void)subscribeAttributeReactivePowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeReactivePowerWithParams:subscriptionEstablished:");
+ (void)readAttributeReactivePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactivePowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeApparentPowerWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApparentPowerWithCompletion:");
- (void)subscribeAttributeApparentPowerWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeApparentPowerWithParams:subscriptionEstablished:");
+ (void)readAttributeApparentPowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApparentPowerWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePowerFactorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerFactorWithCompletion:");
- (void)subscribeAttributePowerFactorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePowerFactorWithParams:subscriptionEstablished:");
+ (void)readAttributePowerFactorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerFactorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsVoltageMeasurementPeriodWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsVoltageMeasurementPeriodWithCompletion:");
- (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:completion:");
- (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:params:completion:");
- (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAverageRmsVoltageMeasurementPeriodWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsVoltageMeasurementPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsVoltageMeasurementPeriodWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsUnderVoltageCounterWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsUnderVoltageCounterWithCompletion:");
- (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeAverageRmsUnderVoltageCounterWithValue:completion:");
- (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeAverageRmsUnderVoltageCounterWithValue:params:completion:");
- (void)subscribeAttributeAverageRmsUnderVoltageCounterWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAverageRmsUnderVoltageCounterWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsUnderVoltageCounterWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsUnderVoltageCounterWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsExtremeOverVoltagePeriodWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeOverVoltagePeriodWithCompletion:");
- (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRmsExtremeOverVoltagePeriodWithValue:completion:");
- (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRmsExtremeOverVoltagePeriodWithValue:params:completion:");
- (void)subscribeAttributeRmsExtremeOverVoltagePeriodWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsExtremeOverVoltagePeriodWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsExtremeOverVoltagePeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeOverVoltagePeriodWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsExtremeUnderVoltagePeriodWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeUnderVoltagePeriodWithCompletion:");
- (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRmsExtremeUnderVoltagePeriodWithValue:completion:");
- (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRmsExtremeUnderVoltagePeriodWithValue:params:completion:");
- (void)subscribeAttributeRmsExtremeUnderVoltagePeriodWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsExtremeUnderVoltagePeriodWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsExtremeUnderVoltagePeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeUnderVoltagePeriodWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageSagPeriodWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSagPeriodWithCompletion:");
- (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRmsVoltageSagPeriodWithValue:completion:");
- (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRmsVoltageSagPeriodWithValue:params:completion:");
- (void)subscribeAttributeRmsVoltageSagPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageSagPeriodWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageSagPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSagPeriodWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageSwellPeriodWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSwellPeriodWithCompletion:");
- (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRmsVoltageSwellPeriodWithValue:completion:");
- (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRmsVoltageSwellPeriodWithValue:params:completion:");
- (void)subscribeAttributeRmsVoltageSwellPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageSwellPeriodWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageSwellPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSwellPeriodWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcVoltageMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcVoltageMultiplierWithCompletion:");
- (void)subscribeAttributeAcVoltageMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcVoltageMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributeAcVoltageMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcVoltageMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcVoltageDivisorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcVoltageDivisorWithCompletion:");
- (void)
subscribeAttributeAcVoltageDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcVoltageDivisorWithParams:subscriptionEstablished:");
+ (void)readAttributeAcVoltageDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcVoltageDivisorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcCurrentMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcCurrentMultiplierWithCompletion:");
- (void)subscribeAttributeAcCurrentMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcCurrentMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributeAcCurrentMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcCurrentMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcCurrentDivisorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcCurrentDivisorWithCompletion:");
- (void)
subscribeAttributeAcCurrentDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcCurrentDivisorWithParams:subscriptionEstablished:");
+ (void)readAttributeAcCurrentDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcCurrentDivisorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcPowerMultiplierWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcPowerMultiplierWithCompletion:");
- (void)subscribeAttributeAcPowerMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcPowerMultiplierWithParams:subscriptionEstablished:");
+ (void)readAttributeAcPowerMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcPowerMultiplierWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcPowerDivisorWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcPowerDivisorWithCompletion:");
- (void)subscribeAttributeAcPowerDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcPowerDivisorWithParams:subscriptionEstablished:");
+ (void)readAttributeAcPowerDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcPowerDivisorWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOverloadAlarmsMaskWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOverloadAlarmsMaskWithCompletion:");
- (void)writeAttributeOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOverloadAlarmsMaskWithValue:completion:");
- (void)writeAttributeOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOverloadAlarmsMaskWithValue:params:completion:");
- (void)subscribeAttributeOverloadAlarmsMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOverloadAlarmsMaskWithParams:subscriptionEstablished:");
+ (void)readAttributeOverloadAlarmsMaskWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOverloadAlarmsMaskWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeVoltageOverloadWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVoltageOverloadWithCompletion:");
- (void)subscribeAttributeVoltageOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeVoltageOverloadWithParams:subscriptionEstablished:");
+ (void)readAttributeVoltageOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVoltageOverloadWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCurrentOverloadWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentOverloadWithCompletion:");
- (void)subscribeAttributeCurrentOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCurrentOverloadWithParams:subscriptionEstablished:");
+ (void)readAttributeCurrentOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCurrentOverloadWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcOverloadAlarmsMaskWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcOverloadAlarmsMaskWithCompletion:");
- (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeAcOverloadAlarmsMaskWithValue:completion:");
- (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeAcOverloadAlarmsMaskWithValue:params:completion:");
- (void)subscribeAttributeAcOverloadAlarmsMaskWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcOverloadAlarmsMaskWithParams:subscriptionEstablished:");
+ (void)readAttributeAcOverloadAlarmsMaskWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcOverloadAlarmsMaskWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcVoltageOverloadWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcVoltageOverloadWithCompletion:");
- (void)subscribeAttributeAcVoltageOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcVoltageOverloadWithParams:subscriptionEstablished:");
+ (void)readAttributeAcVoltageOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcVoltageOverloadWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcCurrentOverloadWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcCurrentOverloadWithCompletion:");
- (void)subscribeAttributeAcCurrentOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcCurrentOverloadWithParams:subscriptionEstablished:");
+ (void)readAttributeAcCurrentOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcCurrentOverloadWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcActivePowerOverloadWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcActivePowerOverloadWithCompletion:");
- (void)subscribeAttributeAcActivePowerOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcActivePowerOverloadWithParams:subscriptionEstablished:");
+ (void)readAttributeAcActivePowerOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcActivePowerOverloadWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcReactivePowerOverloadWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcReactivePowerOverloadWithCompletion:");
- (void)subscribeAttributeAcReactivePowerOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcReactivePowerOverloadWithParams:subscriptionEstablished:");
+ (void)readAttributeAcReactivePowerOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcReactivePowerOverloadWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsOverVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsOverVoltageWithCompletion:");
- (void)subscribeAttributeAverageRmsOverVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAverageRmsOverVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsOverVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsOverVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsUnderVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsUnderVoltageWithCompletion:");
- (void)subscribeAttributeAverageRmsUnderVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAverageRmsUnderVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsUnderVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsUnderVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsExtremeOverVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeOverVoltageWithCompletion:");
- (void)subscribeAttributeRmsExtremeOverVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsExtremeOverVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsExtremeOverVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeOverVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsExtremeUnderVoltageWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeUnderVoltageWithCompletion:");
- (void)subscribeAttributeRmsExtremeUnderVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsExtremeUnderVoltageWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsExtremeUnderVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeUnderVoltageWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageSagWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSagWithCompletion:");
- (void)subscribeAttributeRmsVoltageSagWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageSagWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageSagWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSagWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageSwellWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSwellWithCompletion:");
- (void)subscribeAttributeRmsVoltageSwellWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageSwellWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageSwellWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSwellWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLineCurrentPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLineCurrentPhaseBWithCompletion:");
- (void)subscribeAttributeLineCurrentPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLineCurrentPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeLineCurrentPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLineCurrentPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveCurrentPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveCurrentPhaseBWithCompletion:");
- (void)subscribeAttributeActiveCurrentPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveCurrentPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveCurrentPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveCurrentPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeReactiveCurrentPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactiveCurrentPhaseBWithCompletion:");
- (void)subscribeAttributeReactiveCurrentPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeReactiveCurrentPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeReactiveCurrentPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactiveCurrentPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltagePhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltagePhaseBWithCompletion:");
- (void)
subscribeAttributeRmsVoltagePhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltagePhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltagePhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltagePhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageMinPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMinPhaseBWithCompletion:");
- (void)subscribeAttributeRmsVoltageMinPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageMinPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageMinPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMinPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageMaxPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMaxPhaseBWithCompletion:");
- (void)subscribeAttributeRmsVoltageMaxPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageMaxPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageMaxPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMaxPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentPhaseBWithCompletion:");
- (void)
subscribeAttributeRmsCurrentPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentMinPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMinPhaseBWithCompletion:");
- (void)subscribeAttributeRmsCurrentMinPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentMinPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentMinPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMinPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentMaxPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMaxPhaseBWithCompletion:");
- (void)subscribeAttributeRmsCurrentMaxPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentMaxPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentMaxPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMaxPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerPhaseBWithCompletion:");
- (void)subscribeAttributeActivePowerPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerMinPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMinPhaseBWithCompletion:");
- (void)subscribeAttributeActivePowerMinPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerMinPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerMinPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMinPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerMaxPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMaxPhaseBWithCompletion:");
- (void)subscribeAttributeActivePowerMaxPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerMaxPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerMaxPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMaxPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeReactivePowerPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactivePowerPhaseBWithCompletion:");
- (void)subscribeAttributeReactivePowerPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeReactivePowerPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeReactivePowerPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactivePowerPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeApparentPowerPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApparentPowerPhaseBWithCompletion:");
- (void)subscribeAttributeApparentPowerPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeApparentPowerPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeApparentPowerPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApparentPowerPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePowerFactorPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerFactorPhaseBWithCompletion:");
- (void)subscribeAttributePowerFactorPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePowerFactorPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributePowerFactorPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerFactorPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithCompletion:");
- (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)
subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED(
"Please use subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithAttributeCache:
(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsOverVoltageCounterPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsOverVoltageCounterPhaseBWithCompletion:");
- (void)subscribeAttributeAverageRmsOverVoltageCounterPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAverageRmsOverVoltageCounterPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsOverVoltageCounterPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsOverVoltageCounterPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsUnderVoltageCounterPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsUnderVoltageCounterPhaseBWithCompletion:");
- (void)subscribeAttributeAverageRmsUnderVoltageCounterPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsUnderVoltageCounterPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeAverageRmsUnderVoltageCounterPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeOverVoltagePeriodPhaseBWithCompletion:");
- (void)subscribeAttributeRmsExtremeOverVoltagePeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeOverVoltagePeriodPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithCompletion:");
- (void)subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageSagPeriodPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSagPeriodPhaseBWithCompletion:");
- (void)subscribeAttributeRmsVoltageSagPeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageSagPeriodPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageSagPeriodPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSagPeriodPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageSwellPeriodPhaseBWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSwellPeriodPhaseBWithCompletion:");
- (void)subscribeAttributeRmsVoltageSwellPeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageSwellPeriodPhaseBWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageSwellPeriodPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSwellPeriodPhaseBWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLineCurrentPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLineCurrentPhaseCWithCompletion:");
- (void)subscribeAttributeLineCurrentPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLineCurrentPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeLineCurrentPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLineCurrentPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActiveCurrentPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveCurrentPhaseCWithCompletion:");
- (void)subscribeAttributeActiveCurrentPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActiveCurrentPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeActiveCurrentPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActiveCurrentPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeReactiveCurrentPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactiveCurrentPhaseCWithCompletion:");
- (void)subscribeAttributeReactiveCurrentPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeReactiveCurrentPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeReactiveCurrentPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactiveCurrentPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltagePhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltagePhaseCWithCompletion:");
- (void)
subscribeAttributeRmsVoltagePhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltagePhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltagePhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltagePhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageMinPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMinPhaseCWithCompletion:");
- (void)subscribeAttributeRmsVoltageMinPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageMinPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageMinPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMinPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageMaxPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMaxPhaseCWithCompletion:");
- (void)subscribeAttributeRmsVoltageMaxPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageMaxPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageMaxPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageMaxPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentPhaseCWithCompletion:");
- (void)
subscribeAttributeRmsCurrentPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentMinPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMinPhaseCWithCompletion:");
- (void)subscribeAttributeRmsCurrentMinPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentMinPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentMinPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMinPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsCurrentMaxPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMaxPhaseCWithCompletion:");
- (void)subscribeAttributeRmsCurrentMaxPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsCurrentMaxPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsCurrentMaxPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsCurrentMaxPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerPhaseCWithCompletion:");
- (void)subscribeAttributeActivePowerPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerMinPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMinPhaseCWithCompletion:");
- (void)subscribeAttributeActivePowerMinPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerMinPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerMinPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMinPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeActivePowerMaxPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMaxPhaseCWithCompletion:");
- (void)subscribeAttributeActivePowerMaxPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeActivePowerMaxPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeActivePowerMaxPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeActivePowerMaxPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeReactivePowerPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactivePowerPhaseCWithCompletion:");
- (void)subscribeAttributeReactivePowerPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeReactivePowerPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeReactivePowerPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeReactivePowerPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeApparentPowerPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApparentPowerPhaseCWithCompletion:");
- (void)subscribeAttributeApparentPowerPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeApparentPowerPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeApparentPowerPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeApparentPowerPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributePowerFactorPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerFactorPhaseCWithCompletion:");
- (void)subscribeAttributePowerFactorPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributePowerFactorPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributePowerFactorPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributePowerFactorPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithCompletion:");
- (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)
subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED(
"Please use subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithAttributeCache:
(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsOverVoltageCounterPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsOverVoltageCounterPhaseCWithCompletion:");
- (void)subscribeAttributeAverageRmsOverVoltageCounterPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAverageRmsOverVoltageCounterPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsOverVoltageCounterPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsOverVoltageCounterPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAverageRmsUnderVoltageCounterPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAverageRmsUnderVoltageCounterPhaseCWithCompletion:");
- (void)subscribeAttributeAverageRmsUnderVoltageCounterPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeAverageRmsUnderVoltageCounterPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED(
"Please use readAttributeAverageRmsUnderVoltageCounterPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeOverVoltagePeriodPhaseCWithCompletion:");
- (void)subscribeAttributeRmsExtremeOverVoltagePeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeOverVoltagePeriodPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithCompletion:");
- (void)subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageSagPeriodPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSagPeriodPhaseCWithCompletion:");
- (void)subscribeAttributeRmsVoltageSagPeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageSagPeriodPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageSagPeriodPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSagPeriodPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRmsVoltageSwellPeriodPhaseCWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSwellPeriodPhaseCWithCompletion:");
- (void)subscribeAttributeRmsVoltageSwellPeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRmsVoltageSwellPeriodPhaseCWithParams:subscriptionEstablished:");
+ (void)readAttributeRmsVoltageSwellPeriodPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRmsVoltageSwellPeriodPhaseCWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
@interface MTRBaseClusterTestCluster (Deprecated)
- (nullable instancetype)initWithDevice:(MTRBaseDevice *)device
endpoint:(uint16_t)endpoint
queue:(dispatch_queue_t)queue MTR_NEWLY_DEPRECATED("Please use initWithDevice:endpointID:queue:");
- (void)testWithParams:(MTRTestClusterClusterTestParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use testWithParams:completion:");
- (void)testWithCompletionHandler:(MTRStatusCompletion)completionHandler MTR_NEWLY_DEPRECATED("Please use testWithCompletion:");
- (void)testNotHandledWithParams:(MTRTestClusterClusterTestNotHandledParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use testNotHandledWithParams:completion:");
- (void)testNotHandledWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use testNotHandledWithCompletion:");
- (void)testSpecificWithParams:(MTRTestClusterClusterTestSpecificParams * _Nullable)params
completionHandler:(void (^)(MTRTestClusterClusterTestSpecificResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testSpecificWithParams:completion:");
- (void)testSpecificWithCompletionHandler:
(void (^)(MTRTestClusterClusterTestSpecificResponseParams * _Nullable data, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testSpecificWithCompletion:");
- (void)testUnknownCommandWithParams:(MTRTestClusterClusterTestUnknownCommandParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use testUnknownCommandWithParams:completion:");
- (void)testUnknownCommandWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use testUnknownCommandWithCompletion:");
- (void)testAddArgumentsWithParams:(MTRTestClusterClusterTestAddArgumentsParams *)params
completionHandler:(void (^)(MTRTestClusterClusterTestAddArgumentsResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testAddArgumentsWithParams:completion:");
- (void)testSimpleArgumentRequestWithParams:(MTRTestClusterClusterTestSimpleArgumentRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterTestSimpleArgumentResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testSimpleArgumentRequestWithParams:completion:");
- (void)testStructArrayArgumentRequestWithParams:(MTRTestClusterClusterTestStructArrayArgumentRequestParams *)params
completionHandler:
(void (^)(MTRTestClusterClusterTestStructArrayArgumentResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testStructArrayArgumentRequestWithParams:completion:");
- (void)testStructArgumentRequestWithParams:(MTRTestClusterClusterTestStructArgumentRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testStructArgumentRequestWithParams:completion:");
- (void)testNestedStructArgumentRequestWithParams:(MTRTestClusterClusterTestNestedStructArgumentRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testNestedStructArgumentRequestWithParams:completion:");
- (void)testListStructArgumentRequestWithParams:(MTRTestClusterClusterTestListStructArgumentRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testListStructArgumentRequestWithParams:completion:");
- (void)testListInt8UArgumentRequestWithParams:(MTRTestClusterClusterTestListInt8UArgumentRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testListInt8UArgumentRequestWithParams:completion:");
- (void)testNestedStructListArgumentRequestWithParams:(MTRTestClusterClusterTestNestedStructListArgumentRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testNestedStructListArgumentRequestWithParams:completion:");
- (void)testListNestedStructListArgumentRequestWithParams:
(MTRTestClusterClusterTestListNestedStructListArgumentRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testListNestedStructListArgumentRequestWithParams:completion:");
- (void)testListInt8UReverseRequestWithParams:(MTRTestClusterClusterTestListInt8UReverseRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterTestListInt8UReverseResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testListInt8UReverseRequestWithParams:completion:");
- (void)testEnumsRequestWithParams:(MTRTestClusterClusterTestEnumsRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterTestEnumsResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testEnumsRequestWithParams:completion:");
- (void)testNullableOptionalRequestWithParams:(MTRTestClusterClusterTestNullableOptionalRequestParams * _Nullable)params
completionHandler:(void (^)(MTRTestClusterClusterTestNullableOptionalResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testNullableOptionalRequestWithParams:completion:");
- (void)testComplexNullableOptionalRequestWithParams:(MTRTestClusterClusterTestComplexNullableOptionalRequestParams *)params
completionHandler:
(void (^)(MTRTestClusterClusterTestComplexNullableOptionalResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testComplexNullableOptionalRequestWithParams:completion:");
- (void)simpleStructEchoRequestWithParams:(MTRTestClusterClusterSimpleStructEchoRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterSimpleStructResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use simpleStructEchoRequestWithParams:completion:");
- (void)timedInvokeRequestWithParams:(MTRTestClusterClusterTimedInvokeRequestParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use timedInvokeRequestWithParams:completion:");
- (void)timedInvokeRequestWithCompletionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use timedInvokeRequestWithCompletion:");
- (void)testSimpleOptionalArgumentRequestWithParams:(MTRTestClusterClusterTestSimpleOptionalArgumentRequestParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use testSimpleOptionalArgumentRequestWithParams:completion:");
- (void)testEmitTestEventRequestWithParams:(MTRTestClusterClusterTestEmitTestEventRequestParams *)params
completionHandler:(void (^)(MTRTestClusterClusterTestEmitTestEventResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testEmitTestEventRequestWithParams:completion:");
- (void)testEmitTestFabricScopedEventRequestWithParams:(MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams *)params
completionHandler:
(void (^)(
MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams * _Nullable data,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use testEmitTestFabricScopedEventRequestWithParams:completion:");
- (void)readAttributeBooleanWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBooleanWithCompletion:");
- (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBooleanWithValue:completion:");
- (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBooleanWithValue:params:completion:");
- (void)subscribeAttributeBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBooleanWithParams:subscriptionEstablished:");
+ (void)readAttributeBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBooleanWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBitmap8WithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBitmap8WithCompletion:");
- (void)writeAttributeBitmap8WithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBitmap8WithValue:completion:");
- (void)writeAttributeBitmap8WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBitmap8WithValue:params:completion:");
- (void)subscribeAttributeBitmap8WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBitmap8WithParams:subscriptionEstablished:");
+ (void)readAttributeBitmap8WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBitmap8WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBitmap16WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBitmap16WithCompletion:");
- (void)writeAttributeBitmap16WithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBitmap16WithValue:completion:");
- (void)writeAttributeBitmap16WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBitmap16WithValue:params:completion:");
- (void)subscribeAttributeBitmap16WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBitmap16WithParams:subscriptionEstablished:");
+ (void)readAttributeBitmap16WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBitmap16WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBitmap32WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBitmap32WithCompletion:");
- (void)writeAttributeBitmap32WithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBitmap32WithValue:completion:");
- (void)writeAttributeBitmap32WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBitmap32WithValue:params:completion:");
- (void)subscribeAttributeBitmap32WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBitmap32WithParams:subscriptionEstablished:");
+ (void)readAttributeBitmap32WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBitmap32WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeBitmap64WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBitmap64WithCompletion:");
- (void)writeAttributeBitmap64WithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBitmap64WithValue:completion:");
- (void)writeAttributeBitmap64WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeBitmap64WithValue:params:completion:");
- (void)subscribeAttributeBitmap64WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeBitmap64WithParams:subscriptionEstablished:");
+ (void)readAttributeBitmap64WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeBitmap64WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt8uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt8uWithCompletion:");
- (void)writeAttributeInt8uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt8uWithValue:completion:");
- (void)writeAttributeInt8uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt8uWithValue:params:completion:");
- (void)subscribeAttributeInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt8uWithParams:subscriptionEstablished:");
+ (void)readAttributeInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt8uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt16uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt16uWithCompletion:");
- (void)writeAttributeInt16uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt16uWithValue:completion:");
- (void)writeAttributeInt16uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt16uWithValue:params:completion:");
- (void)subscribeAttributeInt16uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt16uWithParams:subscriptionEstablished:");
+ (void)readAttributeInt16uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt16uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt24uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt24uWithCompletion:");
- (void)writeAttributeInt24uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt24uWithValue:completion:");
- (void)writeAttributeInt24uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt24uWithValue:params:completion:");
- (void)subscribeAttributeInt24uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt24uWithParams:subscriptionEstablished:");
+ (void)readAttributeInt24uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt24uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt32uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt32uWithCompletion:");
- (void)writeAttributeInt32uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt32uWithValue:completion:");
- (void)writeAttributeInt32uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt32uWithValue:params:completion:");
- (void)subscribeAttributeInt32uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt32uWithParams:subscriptionEstablished:");
+ (void)readAttributeInt32uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt32uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt40uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt40uWithCompletion:");
- (void)writeAttributeInt40uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt40uWithValue:completion:");
- (void)writeAttributeInt40uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt40uWithValue:params:completion:");
- (void)subscribeAttributeInt40uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt40uWithParams:subscriptionEstablished:");
+ (void)readAttributeInt40uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt40uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt48uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt48uWithCompletion:");
- (void)writeAttributeInt48uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt48uWithValue:completion:");
- (void)writeAttributeInt48uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt48uWithValue:params:completion:");
- (void)subscribeAttributeInt48uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt48uWithParams:subscriptionEstablished:");
+ (void)readAttributeInt48uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt48uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt56uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt56uWithCompletion:");
- (void)writeAttributeInt56uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt56uWithValue:completion:");
- (void)writeAttributeInt56uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt56uWithValue:params:completion:");
- (void)subscribeAttributeInt56uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt56uWithParams:subscriptionEstablished:");
+ (void)readAttributeInt56uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt56uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt64uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt64uWithCompletion:");
- (void)writeAttributeInt64uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt64uWithValue:completion:");
- (void)writeAttributeInt64uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt64uWithValue:params:completion:");
- (void)subscribeAttributeInt64uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt64uWithParams:subscriptionEstablished:");
+ (void)readAttributeInt64uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt64uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt8sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt8sWithCompletion:");
- (void)writeAttributeInt8sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt8sWithValue:completion:");
- (void)writeAttributeInt8sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt8sWithValue:params:completion:");
- (void)subscribeAttributeInt8sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt8sWithParams:subscriptionEstablished:");
+ (void)readAttributeInt8sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt8sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt16sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt16sWithCompletion:");
- (void)writeAttributeInt16sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt16sWithValue:completion:");
- (void)writeAttributeInt16sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt16sWithValue:params:completion:");
- (void)subscribeAttributeInt16sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt16sWithParams:subscriptionEstablished:");
+ (void)readAttributeInt16sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt16sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt24sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt24sWithCompletion:");
- (void)writeAttributeInt24sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt24sWithValue:completion:");
- (void)writeAttributeInt24sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt24sWithValue:params:completion:");
- (void)subscribeAttributeInt24sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt24sWithParams:subscriptionEstablished:");
+ (void)readAttributeInt24sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt24sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt32sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt32sWithCompletion:");
- (void)writeAttributeInt32sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt32sWithValue:completion:");
- (void)writeAttributeInt32sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt32sWithValue:params:completion:");
- (void)subscribeAttributeInt32sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt32sWithParams:subscriptionEstablished:");
+ (void)readAttributeInt32sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt32sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt40sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt40sWithCompletion:");
- (void)writeAttributeInt40sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt40sWithValue:completion:");
- (void)writeAttributeInt40sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt40sWithValue:params:completion:");
- (void)subscribeAttributeInt40sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt40sWithParams:subscriptionEstablished:");
+ (void)readAttributeInt40sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt40sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt48sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt48sWithCompletion:");
- (void)writeAttributeInt48sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt48sWithValue:completion:");
- (void)writeAttributeInt48sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt48sWithValue:params:completion:");
- (void)subscribeAttributeInt48sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt48sWithParams:subscriptionEstablished:");
+ (void)readAttributeInt48sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt48sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt56sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt56sWithCompletion:");
- (void)writeAttributeInt56sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt56sWithValue:completion:");
- (void)writeAttributeInt56sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt56sWithValue:params:completion:");
- (void)subscribeAttributeInt56sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt56sWithParams:subscriptionEstablished:");
+ (void)readAttributeInt56sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt56sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeInt64sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt64sWithCompletion:");
- (void)writeAttributeInt64sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt64sWithValue:completion:");
- (void)writeAttributeInt64sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeInt64sWithValue:params:completion:");
- (void)subscribeAttributeInt64sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeInt64sWithParams:subscriptionEstablished:");
+ (void)readAttributeInt64sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeInt64sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnum8WithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnum8WithCompletion:");
- (void)writeAttributeEnum8WithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnum8WithValue:completion:");
- (void)writeAttributeEnum8WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnum8WithValue:params:completion:");
- (void)subscribeAttributeEnum8WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnum8WithParams:subscriptionEstablished:");
+ (void)readAttributeEnum8WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnum8WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnum16WithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnum16WithCompletion:");
- (void)writeAttributeEnum16WithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnum16WithValue:completion:");
- (void)writeAttributeEnum16WithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnum16WithValue:params:completion:");
- (void)subscribeAttributeEnum16WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnum16WithParams:subscriptionEstablished:");
+ (void)readAttributeEnum16WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnum16WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFloatSingleWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFloatSingleWithCompletion:");
- (void)writeAttributeFloatSingleWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeFloatSingleWithValue:completion:");
- (void)writeAttributeFloatSingleWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeFloatSingleWithValue:params:completion:");
- (void)subscribeAttributeFloatSingleWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFloatSingleWithParams:subscriptionEstablished:");
+ (void)readAttributeFloatSingleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFloatSingleWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFloatDoubleWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFloatDoubleWithCompletion:");
- (void)writeAttributeFloatDoubleWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeFloatDoubleWithValue:completion:");
- (void)writeAttributeFloatDoubleWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeFloatDoubleWithValue:params:completion:");
- (void)subscribeAttributeFloatDoubleWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFloatDoubleWithParams:subscriptionEstablished:");
+ (void)readAttributeFloatDoubleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFloatDoubleWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeOctetStringWithCompletionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOctetStringWithCompletion:");
- (void)writeAttributeOctetStringWithValue:(NSData * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOctetStringWithValue:completion:");
- (void)writeAttributeOctetStringWithValue:(NSData * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeOctetStringWithValue:params:completion:");
- (void)subscribeAttributeOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeOctetStringWithParams:subscriptionEstablished:");
+ (void)readAttributeOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeOctetStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeListInt8uWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListInt8uWithCompletion:");
- (void)writeAttributeListInt8uWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListInt8uWithValue:completion:");
- (void)writeAttributeListInt8uWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListInt8uWithValue:params:completion:");
- (void)subscribeAttributeListInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeListInt8uWithParams:subscriptionEstablished:");
+ (void)readAttributeListInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListInt8uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeListOctetStringWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListOctetStringWithCompletion:");
- (void)writeAttributeListOctetStringWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListOctetStringWithValue:completion:");
- (void)writeAttributeListOctetStringWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListOctetStringWithValue:params:completion:");
- (void)subscribeAttributeListOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeListOctetStringWithParams:subscriptionEstablished:");
+ (void)readAttributeListOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListOctetStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeListStructOctetStringWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListStructOctetStringWithCompletion:");
- (void)writeAttributeListStructOctetStringWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListStructOctetStringWithValue:completion:");
- (void)writeAttributeListStructOctetStringWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListStructOctetStringWithValue:params:completion:");
- (void)subscribeAttributeListStructOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeListStructOctetStringWithParams:subscriptionEstablished:");
+ (void)readAttributeListStructOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListStructOctetStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLongOctetStringWithCompletionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLongOctetStringWithCompletion:");
- (void)writeAttributeLongOctetStringWithValue:(NSData * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLongOctetStringWithValue:completion:");
- (void)writeAttributeLongOctetStringWithValue:(NSData * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLongOctetStringWithValue:params:completion:");
- (void)subscribeAttributeLongOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLongOctetStringWithParams:subscriptionEstablished:");
+ (void)readAttributeLongOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLongOctetStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeCharStringWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCharStringWithCompletion:");
- (void)writeAttributeCharStringWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeCharStringWithValue:completion:");
- (void)writeAttributeCharStringWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeCharStringWithValue:params:completion:");
- (void)subscribeAttributeCharStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeCharStringWithParams:subscriptionEstablished:");
+ (void)readAttributeCharStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeCharStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeLongCharStringWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLongCharStringWithCompletion:");
- (void)writeAttributeLongCharStringWithValue:(NSString * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLongCharStringWithValue:completion:");
- (void)writeAttributeLongCharStringWithValue:(NSString * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeLongCharStringWithValue:params:completion:");
- (void)subscribeAttributeLongCharStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeLongCharStringWithParams:subscriptionEstablished:");
+ (void)readAttributeLongCharStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeLongCharStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEpochUsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEpochUsWithCompletion:");
- (void)writeAttributeEpochUsWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEpochUsWithValue:completion:");
- (void)writeAttributeEpochUsWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEpochUsWithValue:params:completion:");
- (void)subscribeAttributeEpochUsWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEpochUsWithParams:subscriptionEstablished:");
+ (void)readAttributeEpochUsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEpochUsWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEpochSWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEpochSWithCompletion:");
- (void)writeAttributeEpochSWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEpochSWithValue:completion:");
- (void)writeAttributeEpochSWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEpochSWithValue:params:completion:");
- (void)subscribeAttributeEpochSWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEpochSWithParams:subscriptionEstablished:");
+ (void)readAttributeEpochSWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEpochSWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeVendorIdWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorIdWithCompletion:");
- (void)writeAttributeVendorIdWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeVendorIdWithValue:completion:");
- (void)writeAttributeVendorIdWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeVendorIdWithValue:params:completion:");
- (void)subscribeAttributeVendorIdWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeVendorIdWithParams:subscriptionEstablished:");
+ (void)readAttributeVendorIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeVendorIdWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeListNullablesAndOptionalsStructWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListNullablesAndOptionalsStructWithCompletion:");
- (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListNullablesAndOptionalsStructWithValue:completion:");
- (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListNullablesAndOptionalsStructWithValue:params:completion:");
- (void)subscribeAttributeListNullablesAndOptionalsStructWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeListNullablesAndOptionalsStructWithParams:subscriptionEstablished:");
+ (void)readAttributeListNullablesAndOptionalsStructWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSArray * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListNullablesAndOptionalsStructWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeEnumAttrWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnumAttrWithCompletion:");
- (void)writeAttributeEnumAttrWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnumAttrWithValue:completion:");
- (void)writeAttributeEnumAttrWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeEnumAttrWithValue:params:completion:");
- (void)subscribeAttributeEnumAttrWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeEnumAttrWithParams:subscriptionEstablished:");
+ (void)readAttributeEnumAttrWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeEnumAttrWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeStructAttrWithCompletionHandler:
(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStructAttrWithCompletion:");
- (void)writeAttributeStructAttrWithValue:(MTRTestClusterClusterSimpleStruct * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStructAttrWithValue:completion:");
- (void)writeAttributeStructAttrWithValue:(MTRTestClusterClusterSimpleStruct * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeStructAttrWithValue:params:completion:");
- (void)subscribeAttributeStructAttrWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeStructAttrWithParams:subscriptionEstablished:");
+ (void)readAttributeStructAttrWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeStructAttrWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRangeRestrictedInt8uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRangeRestrictedInt8uWithCompletion:");
- (void)writeAttributeRangeRestrictedInt8uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRangeRestrictedInt8uWithValue:completion:");
- (void)writeAttributeRangeRestrictedInt8uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRangeRestrictedInt8uWithValue:params:completion:");
- (void)subscribeAttributeRangeRestrictedInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRangeRestrictedInt8uWithParams:subscriptionEstablished:");
+ (void)readAttributeRangeRestrictedInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRangeRestrictedInt8uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRangeRestrictedInt8sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRangeRestrictedInt8sWithCompletion:");
- (void)writeAttributeRangeRestrictedInt8sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRangeRestrictedInt8sWithValue:completion:");
- (void)writeAttributeRangeRestrictedInt8sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRangeRestrictedInt8sWithValue:params:completion:");
- (void)subscribeAttributeRangeRestrictedInt8sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRangeRestrictedInt8sWithParams:subscriptionEstablished:");
+ (void)readAttributeRangeRestrictedInt8sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRangeRestrictedInt8sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRangeRestrictedInt16uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRangeRestrictedInt16uWithCompletion:");
- (void)writeAttributeRangeRestrictedInt16uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRangeRestrictedInt16uWithValue:completion:");
- (void)writeAttributeRangeRestrictedInt16uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRangeRestrictedInt16uWithValue:params:completion:");
- (void)subscribeAttributeRangeRestrictedInt16uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRangeRestrictedInt16uWithParams:subscriptionEstablished:");
+ (void)readAttributeRangeRestrictedInt16uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRangeRestrictedInt16uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeRangeRestrictedInt16sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRangeRestrictedInt16sWithCompletion:");
- (void)writeAttributeRangeRestrictedInt16sWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRangeRestrictedInt16sWithValue:completion:");
- (void)writeAttributeRangeRestrictedInt16sWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeRangeRestrictedInt16sWithValue:params:completion:");
- (void)subscribeAttributeRangeRestrictedInt16sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeRangeRestrictedInt16sWithParams:subscriptionEstablished:");
+ (void)readAttributeRangeRestrictedInt16sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeRangeRestrictedInt16sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeListLongOctetStringWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListLongOctetStringWithCompletion:");
- (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListLongOctetStringWithValue:completion:");
- (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListLongOctetStringWithValue:params:completion:");
- (void)subscribeAttributeListLongOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeListLongOctetStringWithParams:subscriptionEstablished:");
+ (void)readAttributeListLongOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListLongOctetStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeListFabricScopedWithParams:(MTRReadParams * _Nullable)params
completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListFabricScopedWithParams:completion:");
- (void)writeAttributeListFabricScopedWithValue:(NSArray * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListFabricScopedWithValue:completion:");
- (void)writeAttributeListFabricScopedWithValue:(NSArray * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeListFabricScopedWithValue:params:completion:");
- (void)
subscribeAttributeListFabricScopedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeListFabricScopedWithParams:subscriptionEstablished:");
+ (void)readAttributeListFabricScopedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeListFabricScopedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeTimedWriteBooleanWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTimedWriteBooleanWithCompletion:");
- (void)writeAttributeTimedWriteBooleanWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTimedWriteBooleanWithValue:completion:");
- (void)writeAttributeTimedWriteBooleanWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeTimedWriteBooleanWithValue:params:completion:");
- (void)subscribeAttributeTimedWriteBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeTimedWriteBooleanWithParams:subscriptionEstablished:");
+ (void)readAttributeTimedWriteBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeTimedWriteBooleanWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneralErrorBooleanWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneralErrorBooleanWithCompletion:");
- (void)writeAttributeGeneralErrorBooleanWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeGeneralErrorBooleanWithValue:completion:");
- (void)writeAttributeGeneralErrorBooleanWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeGeneralErrorBooleanWithValue:params:completion:");
- (void)subscribeAttributeGeneralErrorBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneralErrorBooleanWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneralErrorBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneralErrorBooleanWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterErrorBooleanWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterErrorBooleanWithCompletion:");
- (void)writeAttributeClusterErrorBooleanWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeClusterErrorBooleanWithValue:completion:");
- (void)writeAttributeClusterErrorBooleanWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeClusterErrorBooleanWithValue:params:completion:");
- (void)subscribeAttributeClusterErrorBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterErrorBooleanWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterErrorBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterErrorBooleanWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeUnsupportedWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnsupportedWithCompletion:");
- (void)writeAttributeUnsupportedWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUnsupportedWithValue:completion:");
- (void)writeAttributeUnsupportedWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeUnsupportedWithValue:params:completion:");
- (void)subscribeAttributeUnsupportedWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeUnsupportedWithParams:subscriptionEstablished:");
+ (void)readAttributeUnsupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeUnsupportedWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableBooleanWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBooleanWithCompletion:");
- (void)writeAttributeNullableBooleanWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBooleanWithValue:completion:");
- (void)writeAttributeNullableBooleanWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBooleanWithValue:params:completion:");
- (void)subscribeAttributeNullableBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableBooleanWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBooleanWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableBitmap8WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBitmap8WithCompletion:");
- (void)writeAttributeNullableBitmap8WithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBitmap8WithValue:completion:");
- (void)writeAttributeNullableBitmap8WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBitmap8WithValue:params:completion:");
- (void)subscribeAttributeNullableBitmap8WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableBitmap8WithParams:subscriptionEstablished:");
+ (void)readAttributeNullableBitmap8WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBitmap8WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableBitmap16WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBitmap16WithCompletion:");
- (void)writeAttributeNullableBitmap16WithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBitmap16WithValue:completion:");
- (void)writeAttributeNullableBitmap16WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBitmap16WithValue:params:completion:");
- (void)
subscribeAttributeNullableBitmap16WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableBitmap16WithParams:subscriptionEstablished:");
+ (void)readAttributeNullableBitmap16WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBitmap16WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableBitmap32WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBitmap32WithCompletion:");
- (void)writeAttributeNullableBitmap32WithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBitmap32WithValue:completion:");
- (void)writeAttributeNullableBitmap32WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBitmap32WithValue:params:completion:");
- (void)
subscribeAttributeNullableBitmap32WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableBitmap32WithParams:subscriptionEstablished:");
+ (void)readAttributeNullableBitmap32WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBitmap32WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableBitmap64WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBitmap64WithCompletion:");
- (void)writeAttributeNullableBitmap64WithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBitmap64WithValue:completion:");
- (void)writeAttributeNullableBitmap64WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableBitmap64WithValue:params:completion:");
- (void)
subscribeAttributeNullableBitmap64WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableBitmap64WithParams:subscriptionEstablished:");
+ (void)readAttributeNullableBitmap64WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableBitmap64WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt8uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt8uWithCompletion:");
- (void)writeAttributeNullableInt8uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt8uWithValue:completion:");
- (void)writeAttributeNullableInt8uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt8uWithValue:params:completion:");
- (void)subscribeAttributeNullableInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt8uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt8uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt16uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt16uWithCompletion:");
- (void)writeAttributeNullableInt16uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt16uWithValue:completion:");
- (void)writeAttributeNullableInt16uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt16uWithValue:params:completion:");
- (void)subscribeAttributeNullableInt16uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt16uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt16uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt16uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt24uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt24uWithCompletion:");
- (void)writeAttributeNullableInt24uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt24uWithValue:completion:");
- (void)writeAttributeNullableInt24uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt24uWithValue:params:completion:");
- (void)subscribeAttributeNullableInt24uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt24uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt24uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt24uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt32uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt32uWithCompletion:");
- (void)writeAttributeNullableInt32uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt32uWithValue:completion:");
- (void)writeAttributeNullableInt32uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt32uWithValue:params:completion:");
- (void)subscribeAttributeNullableInt32uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt32uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt32uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt32uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt40uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt40uWithCompletion:");
- (void)writeAttributeNullableInt40uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt40uWithValue:completion:");
- (void)writeAttributeNullableInt40uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt40uWithValue:params:completion:");
- (void)subscribeAttributeNullableInt40uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt40uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt40uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt40uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt48uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt48uWithCompletion:");
- (void)writeAttributeNullableInt48uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt48uWithValue:completion:");
- (void)writeAttributeNullableInt48uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt48uWithValue:params:completion:");
- (void)subscribeAttributeNullableInt48uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt48uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt48uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt48uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt56uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt56uWithCompletion:");
- (void)writeAttributeNullableInt56uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt56uWithValue:completion:");
- (void)writeAttributeNullableInt56uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt56uWithValue:params:completion:");
- (void)subscribeAttributeNullableInt56uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt56uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt56uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt56uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt64uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt64uWithCompletion:");
- (void)writeAttributeNullableInt64uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt64uWithValue:completion:");
- (void)writeAttributeNullableInt64uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt64uWithValue:params:completion:");
- (void)subscribeAttributeNullableInt64uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt64uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt64uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt64uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt8sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt8sWithCompletion:");
- (void)writeAttributeNullableInt8sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt8sWithValue:completion:");
- (void)writeAttributeNullableInt8sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt8sWithValue:params:completion:");
- (void)subscribeAttributeNullableInt8sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt8sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt8sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt8sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt16sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt16sWithCompletion:");
- (void)writeAttributeNullableInt16sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt16sWithValue:completion:");
- (void)writeAttributeNullableInt16sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt16sWithValue:params:completion:");
- (void)subscribeAttributeNullableInt16sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt16sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt16sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt16sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt24sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt24sWithCompletion:");
- (void)writeAttributeNullableInt24sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt24sWithValue:completion:");
- (void)writeAttributeNullableInt24sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt24sWithValue:params:completion:");
- (void)subscribeAttributeNullableInt24sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt24sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt24sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt24sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt32sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt32sWithCompletion:");
- (void)writeAttributeNullableInt32sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt32sWithValue:completion:");
- (void)writeAttributeNullableInt32sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt32sWithValue:params:completion:");
- (void)subscribeAttributeNullableInt32sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt32sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt32sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt32sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt40sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt40sWithCompletion:");
- (void)writeAttributeNullableInt40sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt40sWithValue:completion:");
- (void)writeAttributeNullableInt40sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt40sWithValue:params:completion:");
- (void)subscribeAttributeNullableInt40sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt40sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt40sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt40sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt48sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt48sWithCompletion:");
- (void)writeAttributeNullableInt48sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt48sWithValue:completion:");
- (void)writeAttributeNullableInt48sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt48sWithValue:params:completion:");
- (void)subscribeAttributeNullableInt48sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt48sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt48sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt48sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt56sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt56sWithCompletion:");
- (void)writeAttributeNullableInt56sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt56sWithValue:completion:");
- (void)writeAttributeNullableInt56sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt56sWithValue:params:completion:");
- (void)subscribeAttributeNullableInt56sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt56sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt56sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt56sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableInt64sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt64sWithCompletion:");
- (void)writeAttributeNullableInt64sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt64sWithValue:completion:");
- (void)writeAttributeNullableInt64sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableInt64sWithValue:params:completion:");
- (void)subscribeAttributeNullableInt64sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableInt64sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableInt64sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableInt64sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableEnum8WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableEnum8WithCompletion:");
- (void)writeAttributeNullableEnum8WithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableEnum8WithValue:completion:");
- (void)writeAttributeNullableEnum8WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableEnum8WithValue:params:completion:");
- (void)subscribeAttributeNullableEnum8WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableEnum8WithParams:subscriptionEstablished:");
+ (void)readAttributeNullableEnum8WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableEnum8WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableEnum16WithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableEnum16WithCompletion:");
- (void)writeAttributeNullableEnum16WithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableEnum16WithValue:completion:");
- (void)writeAttributeNullableEnum16WithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableEnum16WithValue:params:completion:");
- (void)subscribeAttributeNullableEnum16WithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableEnum16WithParams:subscriptionEstablished:");
+ (void)readAttributeNullableEnum16WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableEnum16WithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableFloatSingleWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableFloatSingleWithCompletion:");
- (void)writeAttributeNullableFloatSingleWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableFloatSingleWithValue:completion:");
- (void)writeAttributeNullableFloatSingleWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableFloatSingleWithValue:params:completion:");
- (void)subscribeAttributeNullableFloatSingleWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableFloatSingleWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableFloatSingleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableFloatSingleWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableFloatDoubleWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableFloatDoubleWithCompletion:");
- (void)writeAttributeNullableFloatDoubleWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableFloatDoubleWithValue:completion:");
- (void)writeAttributeNullableFloatDoubleWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableFloatDoubleWithValue:params:completion:");
- (void)subscribeAttributeNullableFloatDoubleWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableFloatDoubleWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableFloatDoubleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableFloatDoubleWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableOctetStringWithCompletionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableOctetStringWithCompletion:");
- (void)writeAttributeNullableOctetStringWithValue:(NSData * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableOctetStringWithValue:completion:");
- (void)writeAttributeNullableOctetStringWithValue:(NSData * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableOctetStringWithValue:params:completion:");
- (void)subscribeAttributeNullableOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableOctetStringWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableOctetStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableCharStringWithCompletionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableCharStringWithCompletion:");
- (void)writeAttributeNullableCharStringWithValue:(NSString * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableCharStringWithValue:completion:");
- (void)writeAttributeNullableCharStringWithValue:(NSString * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableCharStringWithValue:params:completion:");
- (void)subscribeAttributeNullableCharStringWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableCharStringWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableCharStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableCharStringWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableEnumAttrWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableEnumAttrWithCompletion:");
- (void)writeAttributeNullableEnumAttrWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableEnumAttrWithValue:completion:");
- (void)writeAttributeNullableEnumAttrWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableEnumAttrWithValue:params:completion:");
- (void)
subscribeAttributeNullableEnumAttrWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableEnumAttrWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableEnumAttrWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableEnumAttrWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableStructWithCompletionHandler:
(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableStructWithCompletion:");
- (void)writeAttributeNullableStructWithValue:(MTRTestClusterClusterSimpleStruct * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableStructWithValue:completion:");
- (void)writeAttributeNullableStructWithValue:(MTRTestClusterClusterSimpleStruct * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableStructWithValue:params:completion:");
- (void)subscribeAttributeNullableStructWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableStructWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableStructWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableStructWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableRangeRestrictedInt8uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableRangeRestrictedInt8uWithCompletion:");
- (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableRangeRestrictedInt8uWithValue:completion:");
- (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableRangeRestrictedInt8uWithValue:params:completion:");
- (void)subscribeAttributeNullableRangeRestrictedInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableRangeRestrictedInt8uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableRangeRestrictedInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableRangeRestrictedInt8uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableRangeRestrictedInt8sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableRangeRestrictedInt8sWithCompletion:");
- (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableRangeRestrictedInt8sWithValue:completion:");
- (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableRangeRestrictedInt8sWithValue:params:completion:");
- (void)subscribeAttributeNullableRangeRestrictedInt8sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableRangeRestrictedInt8sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableRangeRestrictedInt8sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableRangeRestrictedInt8sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableRangeRestrictedInt16uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableRangeRestrictedInt16uWithCompletion:");
- (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableRangeRestrictedInt16uWithValue:completion:");
- (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableRangeRestrictedInt16uWithValue:params:completion:");
- (void)subscribeAttributeNullableRangeRestrictedInt16uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableRangeRestrictedInt16uWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableRangeRestrictedInt16uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableRangeRestrictedInt16uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeNullableRangeRestrictedInt16sWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableRangeRestrictedInt16sWithCompletion:");
- (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSNumber * _Nullable)value
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableRangeRestrictedInt16sWithValue:completion:");
- (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSNumber * _Nullable)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
MTR_NEWLY_DEPRECATED("Please use writeAttributeNullableRangeRestrictedInt16sWithValue:params:completion:");
- (void)subscribeAttributeNullableRangeRestrictedInt16sWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeNullableRangeRestrictedInt16sWithParams:subscriptionEstablished:");
+ (void)readAttributeNullableRangeRestrictedInt16sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value,
NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeNullableRangeRestrictedInt16sWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeWriteOnlyInt8uWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
API_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2))
MTR_NEWLY_DEPRECATED("Please use readAttributeWriteOnlyInt8uWithCompletion:");
- (void)writeAttributeWriteOnlyInt8uWithValue:(NSNumber * _Nonnull)value
completionHandler:(MTRStatusCompletion)completionHandler
API_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2))
MTR_NEWLY_DEPRECATED("Please use writeAttributeWriteOnlyInt8uWithValue:completion:");
- (void)writeAttributeWriteOnlyInt8uWithValue:(NSNumber * _Nonnull)value
params:(MTRWriteParams * _Nullable)params
completionHandler:(MTRStatusCompletion)completionHandler
API_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2))
MTR_NEWLY_DEPRECATED("Please use writeAttributeWriteOnlyInt8uWithValue:params:completion:");
- (void)subscribeAttributeWriteOnlyInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
API_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2))
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeWriteOnlyInt8uWithParams:subscriptionEstablished:");
+ (void)readAttributeWriteOnlyInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
API_AVAILABLE(ios(16.2), macos(13.1), watchos(9.2), tvos(16.2))
MTR_NEWLY_DEPRECATED("Please use readAttributeWriteOnlyInt8uWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeGeneratedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithCompletion:");
- (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeGeneratedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeGeneratedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAcceptedCommandListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithCompletion:");
- (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:
(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAcceptedCommandListWithParams:subscriptionEstablished:");
+ (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAcceptedCommandListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeAttributeListWithCompletionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithCompletion:");
- (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeAttributeListWithParams:subscriptionEstablished:");
+ (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeAttributeListWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeFeatureMapWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithCompletion:");
- (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeFeatureMapWithParams:subscriptionEstablished:");
+ (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeFeatureMapWithAttributeCache:endpoint:queue:completion:");
- (void)readAttributeClusterRevisionWithCompletionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithCompletion:");
- (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval
maxInterval:(NSNumber * _Nonnull)maxInterval
params:(MTRSubscribeParams * _Nullable)params
subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler
reportHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler
MTR_NEWLY_DEPRECATED("Please use subscribeAttributeClusterRevisionWithParams:subscriptionEstablished:");
+ (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer
endpoint:(NSNumber *)endpoint
queue:(dispatch_queue_t)queue
completionHandler:
(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler
MTR_NEWLY_DEPRECATED("Please use readAttributeClusterRevisionWithAttributeCache:endpoint:queue:completion:");
@end
NS_ASSUME_NONNULL_END