| /* |
| * |
| * 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. |
| */ |
| |
| // THIS FILE IS GENERATED BY ZAP |
| |
| #import <Foundation/Foundation.h> |
| |
| #import <Matter/MTRAttributeCacheContainer.h> |
| |
| #import <Matter/MTRCluster.h> |
| #import <Matter/MTRCommandPayloadsObjc.h> |
| |
| NS_ASSUME_NONNULL_BEGIN |
| |
| /** |
| * Cluster Identify |
| * |
| */ |
| @interface MTRBaseClusterIdentify : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)identifyWithParams:(MTRIdentifyClusterIdentifyParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)triggerEffectWithParams:(MTRIdentifyClusterTriggerEffectParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeIdentifyTimeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeIdentifyTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeIdentifyTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeIdentifyTypeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeIdentifyTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeIdentifyTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Groups |
| * |
| */ |
| @interface MTRBaseClusterGroups : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)addGroupWithParams:(MTRGroupsClusterAddGroupParams *)params |
| completionHandler: |
| (void (^)(MTRGroupsClusterAddGroupResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)viewGroupWithParams:(MTRGroupsClusterViewGroupParams *)params |
| completionHandler: |
| (void (^)(MTRGroupsClusterViewGroupResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)getGroupMembershipWithParams:(MTRGroupsClusterGetGroupMembershipParams *)params |
| completionHandler:(void (^)(MTRGroupsClusterGetGroupMembershipResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)removeGroupWithParams:(MTRGroupsClusterRemoveGroupParams *)params |
| completionHandler: |
| (void (^)(MTRGroupsClusterRemoveGroupResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)removeAllGroupsWithParams:(MTRGroupsClusterRemoveAllGroupsParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)removeAllGroupsWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)addGroupIfIdentifyingWithParams:(MTRGroupsClusterAddGroupIfIdentifyingParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeNameSupportWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNameSupportWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNameSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Scenes |
| * |
| */ |
| @interface MTRBaseClusterScenes : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)addSceneWithParams:(MTRScenesClusterAddSceneParams *)params |
| completionHandler: |
| (void (^)(MTRScenesClusterAddSceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)viewSceneWithParams:(MTRScenesClusterViewSceneParams *)params |
| completionHandler: |
| (void (^)(MTRScenesClusterViewSceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)removeSceneWithParams:(MTRScenesClusterRemoveSceneParams *)params |
| completionHandler: |
| (void (^)(MTRScenesClusterRemoveSceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)removeAllScenesWithParams:(MTRScenesClusterRemoveAllScenesParams *)params |
| completionHandler:(void (^)(MTRScenesClusterRemoveAllScenesResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)storeSceneWithParams:(MTRScenesClusterStoreSceneParams *)params |
| completionHandler: |
| (void (^)(MTRScenesClusterStoreSceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)recallSceneWithParams:(MTRScenesClusterRecallSceneParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)getSceneMembershipWithParams:(MTRScenesClusterGetSceneMembershipParams *)params |
| completionHandler:(void (^)(MTRScenesClusterGetSceneMembershipResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)enhancedAddSceneWithParams:(MTRScenesClusterEnhancedAddSceneParams *)params |
| completionHandler:(void (^)(MTRScenesClusterEnhancedAddSceneResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)enhancedViewSceneWithParams:(MTRScenesClusterEnhancedViewSceneParams *)params |
| completionHandler:(void (^)(MTRScenesClusterEnhancedViewSceneResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)copySceneWithParams:(MTRScenesClusterCopySceneParams *)params |
| completionHandler: |
| (void (^)(MTRScenesClusterCopySceneResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSceneCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSceneCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSceneCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentSceneWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentSceneWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentSceneWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentGroupWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentGroupWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentGroupWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSceneValidWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSceneValidWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSceneValidWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNameSupportWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNameSupportWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNameSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLastConfiguredByWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLastConfiguredByWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLastConfiguredByWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster On/Off |
| * |
| */ |
| @interface MTRBaseClusterOnOff : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)offWithParams:(MTROnOffClusterOffParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)offWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)onWithParams:(MTROnOffClusterOnParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)onWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)toggleWithParams:(MTROnOffClusterToggleParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)toggleWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)offWithEffectWithParams:(MTROnOffClusterOffWithEffectParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)onWithRecallGlobalSceneWithParams:(MTROnOffClusterOnWithRecallGlobalSceneParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)onWithRecallGlobalSceneWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)onWithTimedOffWithParams:(MTROnOffClusterOnWithTimedOffParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeOnOffWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnOffWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnOffWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGlobalSceneControlWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGlobalSceneControlWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGlobalSceneControlWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOnTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOffWaitTimeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOffWaitTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOffWaitTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStartUpOnOffWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartUpOnOffWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartUpOnOffWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster On/off Switch Configuration |
| * |
| */ |
| @interface MTRBaseClusterOnOffSwitchConfiguration : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeSwitchTypeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSwitchTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSwitchTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSwitchActionsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSwitchActionsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSwitchActionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Level Control |
| * |
| */ |
| @interface MTRBaseClusterLevelControl : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)moveToLevelWithParams:(MTRLevelControlClusterMoveToLevelParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveWithParams:(MTRLevelControlClusterMoveParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)stepWithParams:(MTRLevelControlClusterStepParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)stopWithParams:(MTRLevelControlClusterStopParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveToLevelWithOnOffWithParams:(MTRLevelControlClusterMoveToLevelWithOnOffParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveWithOnOffWithParams:(MTRLevelControlClusterMoveWithOnOffParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)stepWithOnOffWithParams:(MTRLevelControlClusterStepWithOnOffParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)stopWithOnOffWithParams:(MTRLevelControlClusterStopWithOnOffParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveToClosestFrequencyWithParams:(MTRLevelControlClusterMoveToClosestFrequencyParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeCurrentLevelWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRemainingTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRemainingTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRemainingTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinLevelWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxLevelWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentFrequencyWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinFrequencyWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxFrequencyWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOptionsWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOptionsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOptionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOnOffTransitionTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnOffTransitionTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnOffTransitionTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOnLevelWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOnTransitionTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnTransitionTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnTransitionTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOffTransitionTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOffTransitionTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOffTransitionTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDefaultMoveRateWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDefaultMoveRateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDefaultMoveRateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStartUpCurrentLevelWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartUpCurrentLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartUpCurrentLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Binary Input (Basic) |
| * |
| */ |
| @interface MTRBaseClusterBinaryInputBasic : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeActiveTextWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveTextWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveTextWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDescriptionWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDescriptionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDescriptionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInactiveTextWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInactiveTextWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInactiveTextWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOutOfServiceWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOutOfServiceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOutOfServiceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePolarityWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePolarityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePolarityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePresentValueWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePresentValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePresentValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeReliabilityWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReliabilityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReliabilityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStatusFlagsWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStatusFlagsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStatusFlagsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeApplicationTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApplicationTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApplicationTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Descriptor |
| * |
| */ |
| @interface MTRBaseClusterDescriptor : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeDeviceListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDeviceListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDeviceListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeServerListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeServerListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeServerListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClientListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClientListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClientListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePartsListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartsListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartsListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Binding |
| * |
| */ |
| @interface MTRBaseClusterBinding : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBindingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBindingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Access Control |
| * |
| */ |
| @interface MTRBaseClusterAccessControl : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeAclWithParams:(MTRReadParams * _Nullable)params |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeAclWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeAclWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAclWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAclWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeExtensionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeExtensionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSubjectsPerAccessControlEntryWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSubjectsPerAccessControlEntryWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSubjectsPerAccessControlEntryWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTargetsPerAccessControlEntryWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTargetsPerAccessControlEntryWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTargetsPerAccessControlEntryWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAccessControlEntriesPerFabricWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAccessControlEntriesPerFabricWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAccessControlEntriesPerFabricWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Actions |
| * |
| */ |
| @interface MTRBaseClusterActions : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)instantActionWithParams:(MTRActionsClusterInstantActionParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)instantActionWithTransitionWithParams:(MTRActionsClusterInstantActionWithTransitionParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)startActionWithParams:(MTRActionsClusterStartActionParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)startActionWithDurationWithParams:(MTRActionsClusterStartActionWithDurationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)stopActionWithParams:(MTRActionsClusterStopActionParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)pauseActionWithParams:(MTRActionsClusterPauseActionParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)pauseActionWithDurationWithParams:(MTRActionsClusterPauseActionWithDurationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)resumeActionWithParams:(MTRActionsClusterResumeActionParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)enableActionWithParams:(MTRActionsClusterEnableActionParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)enableActionWithDurationWithParams:(MTRActionsClusterEnableActionWithDurationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)disableActionWithParams:(MTRActionsClusterDisableActionParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)disableActionWithDurationWithParams:(MTRActionsClusterDisableActionWithDurationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeActionListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActionListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActionListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEndpointListsWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEndpointListsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEndpointListsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSetupURLWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSetupURLWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSetupURLWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Basic |
| * |
| */ |
| @interface MTRBaseClusterBasic : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)mfgSpecificPingWithParams:(MTRBasicClusterMfgSpecificPingParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)mfgSpecificPingWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeDataModelRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDataModelRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDataModelRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeVendorNameWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorNameWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeVendorIDWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorIDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeProductNameWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductNameWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeProductIDWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductIDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNodeLabelWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNodeLabelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNodeLabelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLocationWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeHardwareVersionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHardwareVersionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHardwareVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeHardwareVersionStringWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHardwareVersionStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHardwareVersionStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSoftwareVersionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoftwareVersionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoftwareVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSoftwareVersionStringWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoftwareVersionStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoftwareVersionStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeManufacturingDateWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeManufacturingDateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeManufacturingDateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePartNumberWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartNumberWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeProductURLWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductURLWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductURLWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeProductLabelWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductLabelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductLabelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSerialNumberWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSerialNumberWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSerialNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLocalConfigDisabledWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocalConfigDisabledWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocalConfigDisabledWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeReachableWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReachableWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReachableWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUniqueIDWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUniqueIDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUniqueIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCapabilityMinimaWithCompletionHandler:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCapabilityMinimaWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCapabilityMinimaWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster OTA Software Update Provider |
| * |
| */ |
| @interface MTRBaseClusterOtaSoftwareUpdateProvider : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)queryImageWithParams:(MTROtaSoftwareUpdateProviderClusterQueryImageParams *)params |
| completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)applyUpdateRequestWithParams:(MTROtaSoftwareUpdateProviderClusterApplyUpdateRequestParams *)params |
| completionHandler:(void (^)(MTROtaSoftwareUpdateProviderClusterApplyUpdateResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)notifyUpdateAppliedWithParams:(MTROtaSoftwareUpdateProviderClusterNotifyUpdateAppliedParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster OTA Software Update Requestor |
| * |
| */ |
| @interface MTRBaseClusterOtaSoftwareUpdateRequestor : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)announceOtaProviderWithParams:(MTROtaSoftwareUpdateRequestorClusterAnnounceOtaProviderParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeDefaultOtaProvidersWithParams:(MTRReadParams * _Nullable)params |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeDefaultOtaProvidersWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeDefaultOtaProvidersWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDefaultOtaProvidersWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDefaultOtaProvidersWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUpdatePossibleWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUpdatePossibleWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUpdatePossibleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUpdateStateWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUpdateStateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUpdateStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUpdateStateProgressWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUpdateStateProgressWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUpdateStateProgressWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Localization Configuration |
| * |
| */ |
| @interface MTRBaseClusterLocalizationConfiguration : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeActiveLocaleWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveLocaleWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveLocaleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSupportedLocalesWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedLocalesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedLocalesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Time Format Localization |
| * |
| */ |
| @interface MTRBaseClusterTimeFormatLocalization : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeHourFormatWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHourFormatWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHourFormatWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveCalendarTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveCalendarTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveCalendarTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSupportedCalendarTypesWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedCalendarTypesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedCalendarTypesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Unit Localization |
| * |
| */ |
| @interface MTRBaseClusterUnitLocalization : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeTemperatureUnitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTemperatureUnitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTemperatureUnitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Power Source Configuration |
| * |
| */ |
| @interface MTRBaseClusterPowerSourceConfiguration : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeSourcesWithCompletionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSourcesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSourcesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Power Source |
| * |
| */ |
| @interface MTRBaseClusterPowerSource : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOrderWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOrderWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOrderWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDescriptionWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDescriptionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDescriptionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWiredAssessedInputVoltageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredAssessedInputVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredAssessedInputVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWiredAssessedInputFrequencyWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredAssessedInputFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredAssessedInputFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWiredCurrentTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredCurrentTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredCurrentTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWiredAssessedCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredAssessedCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredAssessedCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWiredNominalVoltageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredNominalVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredNominalVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWiredMaximumCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredMaximumCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredMaximumCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWiredPresentWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredPresentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredPresentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveWiredFaultsWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveWiredFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveWiredFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatVoltageWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatPercentRemainingWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatPercentRemainingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatPercentRemainingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatTimeRemainingWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatTimeRemainingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatTimeRemainingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatChargeLevelWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatChargeLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatChargeLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatReplacementNeededWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatReplacementNeededWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatReplacementNeededWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatReplaceabilityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatReplaceabilityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatReplaceabilityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatPresentWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatPresentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatPresentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveBatFaultsWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveBatFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveBatFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatReplacementDescriptionWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatReplacementDescriptionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatReplacementDescriptionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatCommonDesignationWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatCommonDesignationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatCommonDesignationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatANSIDesignationWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatANSIDesignationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatANSIDesignationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatIECDesignationWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatIECDesignationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatIECDesignationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatApprovedChemistryWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatApprovedChemistryWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatApprovedChemistryWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatCapacityWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatCapacityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatCapacityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatQuantityWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatQuantityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatQuantityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatChargeStateWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatChargeStateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatChargeStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatTimeToFullChargeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatTimeToFullChargeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatTimeToFullChargeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatFunctionalWhileChargingWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatFunctionalWhileChargingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatFunctionalWhileChargingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBatChargingCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatChargingCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatChargingCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveBatChargeFaultsWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveBatChargeFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveBatChargeFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster General Commissioning |
| * |
| */ |
| @interface MTRBaseClusterGeneralCommissioning : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)armFailSafeWithParams:(MTRGeneralCommissioningClusterArmFailSafeParams *)params |
| completionHandler:(void (^)(MTRGeneralCommissioningClusterArmFailSafeResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)setRegulatoryConfigWithParams:(MTRGeneralCommissioningClusterSetRegulatoryConfigParams *)params |
| completionHandler:(void (^)(MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)commissioningCompleteWithParams:(MTRGeneralCommissioningClusterCommissioningCompleteParams * _Nullable)params |
| completionHandler: |
| (void (^)(MTRGeneralCommissioningClusterCommissioningCompleteResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)commissioningCompleteWithCompletionHandler: |
| (void (^)(MTRGeneralCommissioningClusterCommissioningCompleteResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBreadcrumbWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBreadcrumbWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBreadcrumbWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBasicCommissioningInfoWithCompletionHandler: |
| (void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void) |
| subscribeAttributeBasicCommissioningInfoWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBasicCommissioningInfoWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRegulatoryConfigWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRegulatoryConfigWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRegulatoryConfigWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLocationCapabilityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocationCapabilityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocationCapabilityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSupportsConcurrentConnectionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportsConcurrentConnectionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportsConcurrentConnectionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Network Commissioning |
| * |
| */ |
| @interface MTRBaseClusterNetworkCommissioning : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)scanNetworksWithParams:(MTRNetworkCommissioningClusterScanNetworksParams * _Nullable)params |
| completionHandler:(void (^)(MTRNetworkCommissioningClusterScanNetworksResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)addOrUpdateWiFiNetworkWithParams:(MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams *)params |
| completionHandler:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)addOrUpdateThreadNetworkWithParams:(MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams *)params |
| completionHandler:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)removeNetworkWithParams:(MTRNetworkCommissioningClusterRemoveNetworkParams *)params |
| completionHandler:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)connectNetworkWithParams:(MTRNetworkCommissioningClusterConnectNetworkParams *)params |
| completionHandler:(void (^)(MTRNetworkCommissioningClusterConnectNetworkResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)reorderNetworkWithParams:(MTRNetworkCommissioningClusterReorderNetworkParams *)params |
| completionHandler:(void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxNetworksWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxNetworksWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxNetworksWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNetworksWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNetworksWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNetworksWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeScanMaxTimeSecondsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScanMaxTimeSecondsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScanMaxTimeSecondsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeConnectMaxTimeSecondsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeConnectMaxTimeSecondsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeConnectMaxTimeSecondsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInterfaceEnabledWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInterfaceEnabledWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInterfaceEnabledWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLastNetworkingStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLastNetworkingStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLastNetworkingStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLastNetworkIDWithCompletionHandler:(void (^)( |
| NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLastNetworkIDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLastNetworkIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLastConnectErrorValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLastConnectErrorValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLastConnectErrorValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Diagnostic Logs |
| * |
| */ |
| @interface MTRBaseClusterDiagnosticLogs : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)retrieveLogsRequestWithParams:(MTRDiagnosticLogsClusterRetrieveLogsRequestParams *)params |
| completionHandler:(void (^)(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster General Diagnostics |
| * |
| */ |
| @interface MTRBaseClusterGeneralDiagnostics : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)testEventTriggerWithParams:(MTRGeneralDiagnosticsClusterTestEventTriggerParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeNetworkInterfacesWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNetworkInterfacesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNetworkInterfacesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRebootCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRebootCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRebootCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUpTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUpTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUpTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTotalOperationalHoursWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTotalOperationalHoursWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTotalOperationalHoursWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBootReasonsWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBootReasonsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBootReasonsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveHardwareFaultsWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveHardwareFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveHardwareFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveRadioFaultsWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveRadioFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveRadioFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveNetworkFaultsWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveNetworkFaultsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveNetworkFaultsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTestEventTriggersEnabledWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTestEventTriggersEnabledWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTestEventTriggersEnabledWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Software Diagnostics |
| * |
| */ |
| @interface MTRBaseClusterSoftwareDiagnostics : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)resetWatermarksWithParams:(MTRSoftwareDiagnosticsClusterResetWatermarksParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)resetWatermarksWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeThreadMetricsWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeThreadMetricsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeThreadMetricsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentHeapFreeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentHeapFreeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentHeapFreeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentHeapUsedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentHeapUsedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentHeapUsedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentHeapHighWatermarkWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentHeapHighWatermarkWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentHeapHighWatermarkWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Thread Network Diagnostics |
| * |
| */ |
| @interface MTRBaseClusterThreadNetworkDiagnostics : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)resetCountsWithParams:(MTRThreadNetworkDiagnosticsClusterResetCountsParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)resetCountsWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeChannelWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChannelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChannelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRoutingRoleWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRoutingRoleWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRoutingRoleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNetworkNameWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNetworkNameWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNetworkNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePanIdWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePanIdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePanIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeExtendedPanIdWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeExtendedPanIdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeExtendedPanIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeshLocalPrefixWithCompletionHandler:(void (^)(NSData * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeshLocalPrefixWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeshLocalPrefixWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOverrunCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOverrunCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOverrunCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNeighborTableListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNeighborTableListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNeighborTableListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRouteTableListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRouteTableListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRouteTableListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePartitionIdWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartitionIdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartitionIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWeightingWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWeightingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWeightingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDataVersionWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDataVersionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDataVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStableDataVersionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStableDataVersionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStableDataVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLeaderRouterIdWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLeaderRouterIdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLeaderRouterIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDetachedRoleCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDetachedRoleCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDetachedRoleCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeChildRoleCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChildRoleCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChildRoleCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRouterRoleCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRouterRoleCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRouterRoleCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLeaderRoleCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLeaderRoleCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLeaderRoleCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttachAttemptCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttachAttemptCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttachAttemptCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePartitionIdChangeCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartitionIdChangeCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartitionIdChangeCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBetterPartitionAttachAttemptCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBetterPartitionAttachAttemptCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBetterPartitionAttachAttemptCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeParentChangeCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeParentChangeCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeParentChangeCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxTotalCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxTotalCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxTotalCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxUnicastCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxUnicastCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxUnicastCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxBroadcastCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxBroadcastCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxBroadcastCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxAckRequestedCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxAckRequestedCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxAckRequestedCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxAckedCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxAckedCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxAckedCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxNoAckRequestedCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxNoAckRequestedCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxNoAckRequestedCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxDataCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxDataCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxDataCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxDataPollCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxDataPollCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxDataPollCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxBeaconCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxBeaconCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxBeaconCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxBeaconRequestCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxBeaconRequestCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxBeaconRequestCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxOtherCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxOtherCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxOtherCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxRetryCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxRetryCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxRetryCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxDirectMaxRetryExpiryCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxDirectMaxRetryExpiryCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxDirectMaxRetryExpiryCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxIndirectMaxRetryExpiryCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxIndirectMaxRetryExpiryCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxIndirectMaxRetryExpiryCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxErrCcaCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxErrCcaCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxErrCcaCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxErrAbortCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxErrAbortCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxErrAbortCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxErrBusyChannelCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxErrBusyChannelCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxErrBusyChannelCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxTotalCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxTotalCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxTotalCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxUnicastCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxUnicastCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxUnicastCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxBroadcastCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxBroadcastCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxBroadcastCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxDataCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxDataCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxDataCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxDataPollCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxDataPollCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxDataPollCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxBeaconCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxBeaconCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxBeaconCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxBeaconRequestCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxBeaconRequestCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxBeaconRequestCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxOtherCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxOtherCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxOtherCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxAddressFilteredCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxAddressFilteredCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxAddressFilteredCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxDestAddrFilteredCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxDestAddrFilteredCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxDestAddrFilteredCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxDuplicatedCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxDuplicatedCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxDuplicatedCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxErrNoFrameCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrNoFrameCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrNoFrameCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxErrUnknownNeighborCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrUnknownNeighborCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrUnknownNeighborCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxErrInvalidSrcAddrCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrInvalidSrcAddrCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrInvalidSrcAddrCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxErrSecCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrSecCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrSecCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxErrFcsCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrFcsCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrFcsCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRxErrOtherCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrOtherCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrOtherCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveTimestampWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveTimestampWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveTimestampWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePendingTimestampWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePendingTimestampWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePendingTimestampWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDelayWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDelayWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSecurityPolicyWithCompletionHandler: |
| (void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSecurityPolicyWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSecurityPolicyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeChannelPage0MaskWithCompletionHandler:(void (^)(NSData * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChannelPage0MaskWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChannelPage0MaskWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOperationalDatasetComponentsWithCompletionHandler: |
| (void (^)(MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void) |
| subscribeAttributeOperationalDatasetComponentsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)( |
| MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void) |
| readAttributeOperationalDatasetComponentsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)( |
| MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveNetworkFaultsListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveNetworkFaultsListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveNetworkFaultsListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster WiFi Network Diagnostics |
| * |
| */ |
| @interface MTRBaseClusterWiFiNetworkDiagnostics : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)resetCountsWithParams:(MTRWiFiNetworkDiagnosticsClusterResetCountsParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)resetCountsWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeBssidWithCompletionHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBssidWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBssidWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSecurityTypeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSecurityTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSecurityTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWiFiVersionWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiFiVersionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiFiVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeChannelNumberWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChannelNumberWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChannelNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRssiWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRssiWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRssiWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBeaconLostCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBeaconLostCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBeaconLostCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBeaconRxCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBeaconRxCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBeaconRxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePacketMulticastRxCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketMulticastRxCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketMulticastRxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePacketMulticastTxCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketMulticastTxCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketMulticastTxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePacketUnicastRxCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketUnicastRxCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketUnicastRxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePacketUnicastTxCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketUnicastTxCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketUnicastTxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentMaxRateWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentMaxRateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentMaxRateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOverrunCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOverrunCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOverrunCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Ethernet Network Diagnostics |
| * |
| */ |
| @interface MTRBaseClusterEthernetNetworkDiagnostics : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)resetCountsWithParams:(MTREthernetNetworkDiagnosticsClusterResetCountsParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)resetCountsWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributePHYRateWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePHYRateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePHYRateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFullDuplexWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFullDuplexWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFullDuplexWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePacketRxCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketRxCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketRxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePacketTxCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketTxCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketTxCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTxErrCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxErrCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxErrCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCollisionCountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCollisionCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCollisionCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOverrunCountWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOverrunCountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOverrunCountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCarrierDetectWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCarrierDetectWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCarrierDetectWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTimeSinceResetWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTimeSinceResetWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTimeSinceResetWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Bridged Device Basic |
| * |
| */ |
| @interface MTRBaseClusterBridgedDeviceBasic : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeVendorNameWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorNameWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeVendorIDWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorIDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeProductNameWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductNameWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNodeLabelWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNodeLabelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNodeLabelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeHardwareVersionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHardwareVersionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHardwareVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeHardwareVersionStringWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHardwareVersionStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHardwareVersionStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSoftwareVersionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoftwareVersionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoftwareVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSoftwareVersionStringWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoftwareVersionStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoftwareVersionStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeManufacturingDateWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeManufacturingDateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeManufacturingDateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePartNumberWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartNumberWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeProductURLWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductURLWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductURLWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeProductLabelWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductLabelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductLabelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSerialNumberWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSerialNumberWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSerialNumberWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeReachableWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReachableWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReachableWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUniqueIDWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUniqueIDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUniqueIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Switch |
| * |
| */ |
| @interface MTRBaseClusterSwitch : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeNumberOfPositionsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfPositionsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfPositionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentPositionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMultiPressMaxWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMultiPressMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMultiPressMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster AdministratorCommissioning |
| * |
| */ |
| @interface MTRBaseClusterAdministratorCommissioning : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)openCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenCommissioningWindowParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)openBasicCommissioningWindowWithParams:(MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)revokeCommissioningWithParams:(MTRAdministratorCommissioningClusterRevokeCommissioningParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)revokeCommissioningWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeWindowStatusWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWindowStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWindowStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAdminFabricIndexWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAdminFabricIndexWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAdminFabricIndexWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAdminVendorIdWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAdminVendorIdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAdminVendorIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Operational Credentials |
| * |
| */ |
| @interface MTRBaseClusterOperationalCredentials : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)attestationRequestWithParams:(MTROperationalCredentialsClusterAttestationRequestParams *)params |
| completionHandler:(void (^)(MTROperationalCredentialsClusterAttestationResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)certificateChainRequestWithParams:(MTROperationalCredentialsClusterCertificateChainRequestParams *)params |
| completionHandler:(void (^)(MTROperationalCredentialsClusterCertificateChainResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)CSRRequestWithParams:(MTROperationalCredentialsClusterCSRRequestParams *)params |
| completionHandler:(void (^)(MTROperationalCredentialsClusterCSRResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)addNOCWithParams:(MTROperationalCredentialsClusterAddNOCParams *)params |
| completionHandler:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)updateNOCWithParams:(MTROperationalCredentialsClusterUpdateNOCParams *)params |
| completionHandler:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)updateFabricLabelWithParams:(MTROperationalCredentialsClusterUpdateFabricLabelParams *)params |
| completionHandler:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)removeFabricWithParams:(MTROperationalCredentialsClusterRemoveFabricParams *)params |
| completionHandler:(void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)addTrustedRootCertificateWithParams:(MTROperationalCredentialsClusterAddTrustedRootCertificateParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNOCsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNOCsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFabricsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFabricsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSupportedFabricsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedFabricsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedFabricsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCommissionedFabricsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCommissionedFabricsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCommissionedFabricsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTrustedRootCertificatesWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTrustedRootCertificatesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTrustedRootCertificatesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentFabricIndexWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentFabricIndexWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentFabricIndexWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Group Key Management |
| * |
| */ |
| @interface MTRBaseClusterGroupKeyManagement : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)keySetWriteWithParams:(MTRGroupKeyManagementClusterKeySetWriteParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)keySetReadWithParams:(MTRGroupKeyManagementClusterKeySetReadParams *)params |
| completionHandler:(void (^)(MTRGroupKeyManagementClusterKeySetReadResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)keySetRemoveWithParams:(MTRGroupKeyManagementClusterKeySetRemoveParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)keySetReadAllIndicesWithParams:(MTRGroupKeyManagementClusterKeySetReadAllIndicesParams *)params |
| completionHandler:(void (^)(MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGroupKeyMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGroupKeyMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGroupTableWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGroupTableWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxGroupsPerFabricWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxGroupsPerFabricWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxGroupsPerFabricWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxGroupKeysPerFabricWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxGroupKeysPerFabricWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxGroupKeysPerFabricWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Fixed Label |
| * |
| */ |
| @interface MTRBaseClusterFixedLabel : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeLabelListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLabelListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLabelListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster User Label |
| * |
| */ |
| @interface MTRBaseClusterUserLabel : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeLabelListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLabelListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLabelListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Boolean State |
| * |
| */ |
| @interface MTRBaseClusterBooleanState : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeStateValueWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStateValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStateValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Mode Select |
| * |
| */ |
| @interface MTRBaseClusterModeSelect : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)changeToModeWithParams:(MTRModeSelectClusterChangeToModeParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeDescriptionWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDescriptionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDescriptionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStandardNamespaceWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStandardNamespaceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStandardNamespaceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSupportedModesWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedModesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedModesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentModeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStartUpModeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartUpModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartUpModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOnModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Door Lock |
| * |
| */ |
| @interface MTRBaseClusterDoorLock : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)lockDoorWithParams:(MTRDoorLockClusterLockDoorParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)unlockDoorWithParams:(MTRDoorLockClusterUnlockDoorParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)unlockWithTimeoutWithParams:(MTRDoorLockClusterUnlockWithTimeoutParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)setWeekDayScheduleWithParams:(MTRDoorLockClusterSetWeekDayScheduleParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)getWeekDayScheduleWithParams:(MTRDoorLockClusterGetWeekDayScheduleParams *)params |
| completionHandler:(void (^)(MTRDoorLockClusterGetWeekDayScheduleResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)clearWeekDayScheduleWithParams:(MTRDoorLockClusterClearWeekDayScheduleParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)setYearDayScheduleWithParams:(MTRDoorLockClusterSetYearDayScheduleParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)getYearDayScheduleWithParams:(MTRDoorLockClusterGetYearDayScheduleParams *)params |
| completionHandler:(void (^)(MTRDoorLockClusterGetYearDayScheduleResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)clearYearDayScheduleWithParams:(MTRDoorLockClusterClearYearDayScheduleParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)setHolidayScheduleWithParams:(MTRDoorLockClusterSetHolidayScheduleParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)getHolidayScheduleWithParams:(MTRDoorLockClusterGetHolidayScheduleParams *)params |
| completionHandler:(void (^)(MTRDoorLockClusterGetHolidayScheduleResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)clearHolidayScheduleWithParams:(MTRDoorLockClusterClearHolidayScheduleParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)setUserWithParams:(MTRDoorLockClusterSetUserParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)getUserWithParams:(MTRDoorLockClusterGetUserParams *)params |
| completionHandler: |
| (void (^)(MTRDoorLockClusterGetUserResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)clearUserWithParams:(MTRDoorLockClusterClearUserParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)setCredentialWithParams:(MTRDoorLockClusterSetCredentialParams *)params |
| completionHandler:(void (^)(MTRDoorLockClusterSetCredentialResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)getCredentialStatusWithParams:(MTRDoorLockClusterGetCredentialStatusParams *)params |
| completionHandler:(void (^)(MTRDoorLockClusterGetCredentialStatusResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)clearCredentialWithParams:(MTRDoorLockClusterClearCredentialParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeLockStateWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLockStateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLockStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLockTypeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLockTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLockTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActuatorEnabledWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActuatorEnabledWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActuatorEnabledWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDoorStateWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDoorStateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDoorStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDoorOpenEventsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDoorOpenEventsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDoorOpenEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDoorClosedEventsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDoorClosedEventsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDoorClosedEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOpenPeriodWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOpenPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOpenPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfTotalUsersSupportedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfTotalUsersSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfTotalUsersSupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfPINUsersSupportedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfPINUsersSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfPINUsersSupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfRFIDUsersSupportedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfRFIDUsersSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfRFIDUsersSupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUserWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable) |
| subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithAttributeCache: |
| (MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfYearDaySchedulesSupportedPerUserWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable) |
| subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithAttributeCache: |
| (MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfHolidaySchedulesSupportedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfHolidaySchedulesSupportedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfHolidaySchedulesSupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxPINCodeLengthWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxPINCodeLengthWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxPINCodeLengthWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinPINCodeLengthWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinPINCodeLengthWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinPINCodeLengthWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxRFIDCodeLengthWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxRFIDCodeLengthWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxRFIDCodeLengthWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinRFIDCodeLengthWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinRFIDCodeLengthWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinRFIDCodeLengthWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCredentialRulesSupportWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCredentialRulesSupportWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCredentialRulesSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfCredentialsSupportedPerUserWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfCredentialsSupportedPerUserWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfCredentialsSupportedPerUserWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLanguageWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLanguageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLanguageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLEDSettingsWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLEDSettingsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLEDSettingsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAutoRelockTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAutoRelockTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAutoRelockTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSoundVolumeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoundVolumeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoundVolumeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOperatingModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOperatingModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOperatingModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSupportedOperatingModesWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedOperatingModesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedOperatingModesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDefaultConfigurationRegisterWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDefaultConfigurationRegisterWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDefaultConfigurationRegisterWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnableLocalProgrammingWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnableLocalProgrammingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnableLocalProgrammingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnableOneTouchLockingWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnableOneTouchLockingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnableOneTouchLockingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnableInsideStatusLEDWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnableInsideStatusLEDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnableInsideStatusLEDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnablePrivacyModeButtonWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnablePrivacyModeButtonWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnablePrivacyModeButtonWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLocalProgrammingFeaturesWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocalProgrammingFeaturesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocalProgrammingFeaturesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWrongCodeEntryLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWrongCodeEntryLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWrongCodeEntryLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUserCodeTemporaryDisableTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUserCodeTemporaryDisableTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUserCodeTemporaryDisableTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSendPINOverTheAirWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSendPINOverTheAirWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSendPINOverTheAirWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRequirePINforRemoteOperationWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRequirePINforRemoteOperationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRequirePINforRemoteOperationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeExpiringUserTimeoutWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeExpiringUserTimeoutWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeExpiringUserTimeoutWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Window Covering |
| * |
| */ |
| @interface MTRBaseClusterWindowCovering : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)upOrOpenWithParams:(MTRWindowCoveringClusterUpOrOpenParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)upOrOpenWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)downOrCloseWithParams:(MTRWindowCoveringClusterDownOrCloseParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)downOrCloseWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)stopMotionWithParams:(MTRWindowCoveringClusterStopMotionParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)stopMotionWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)goToLiftValueWithParams:(MTRWindowCoveringClusterGoToLiftValueParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)goToLiftPercentageWithParams:(MTRWindowCoveringClusterGoToLiftPercentageParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)goToTiltValueWithParams:(MTRWindowCoveringClusterGoToTiltValueParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)goToTiltPercentageWithParams:(MTRWindowCoveringClusterGoToTiltPercentageParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePhysicalClosedLimitLiftWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalClosedLimitLiftWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalClosedLimitLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePhysicalClosedLimitTiltWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalClosedLimitTiltWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalClosedLimitTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentPositionLiftWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionLiftWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentPositionTiltWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionTiltWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfActuationsLiftWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfActuationsLiftWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfActuationsLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfActuationsTiltWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfActuationsTiltWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfActuationsTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeConfigStatusWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeConfigStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeConfigStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentPositionLiftPercentageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionLiftPercentageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionLiftPercentageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentPositionTiltPercentageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionTiltPercentageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionTiltPercentageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOperationalStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOperationalStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOperationalStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTargetPositionLiftPercent100thsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTargetPositionLiftPercent100thsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTargetPositionLiftPercent100thsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTargetPositionTiltPercent100thsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTargetPositionTiltPercent100thsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTargetPositionTiltPercent100thsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEndProductTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEndProductTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEndProductTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentPositionLiftPercent100thsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionLiftPercent100thsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionLiftPercent100thsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentPositionTiltPercent100thsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionTiltPercent100thsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionTiltPercent100thsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstalledOpenLimitLiftWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstalledOpenLimitLiftWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstalledOpenLimitLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstalledClosedLimitLiftWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstalledClosedLimitLiftWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstalledClosedLimitLiftWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstalledOpenLimitTiltWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstalledOpenLimitTiltWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstalledOpenLimitTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstalledClosedLimitTiltWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstalledClosedLimitTiltWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstalledClosedLimitTiltWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSafetyStatusWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSafetyStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSafetyStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Barrier Control |
| * |
| */ |
| @interface MTRBaseClusterBarrierControl : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)barrierControlGoToPercentWithParams:(MTRBarrierControlClusterBarrierControlGoToPercentParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)barrierControlStopWithParams:(MTRBarrierControlClusterBarrierControlStopParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)barrierControlStopWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeBarrierMovingStateWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierMovingStateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierMovingStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierSafetyStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierSafetyStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierSafetyStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierCapabilitiesWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierCapabilitiesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierCapabilitiesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierOpenEventsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierOpenEventsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierOpenEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierCloseEventsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierCloseEventsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierCloseEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierCommandOpenEventsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierCommandOpenEventsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierCommandOpenEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierCommandCloseEventsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierCommandCloseEventsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierCommandCloseEventsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierOpenPeriodWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierOpenPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierOpenPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierClosePeriodWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierClosePeriodWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierClosePeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBarrierPositionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierPositionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierPositionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Pump Configuration and Control |
| * |
| */ |
| @interface MTRBaseClusterPumpConfigurationAndControl : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMaxPressureWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxPressureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxSpeedWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxFlowWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxFlowWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxFlowWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinConstPressureWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinConstPressureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinConstPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxConstPressureWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxConstPressureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxConstPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinCompPressureWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinCompPressureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinCompPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxCompPressureWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxCompPressureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxCompPressureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinConstSpeedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinConstSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinConstSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxConstSpeedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxConstSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxConstSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinConstFlowWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinConstFlowWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinConstFlowWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxConstFlowWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxConstFlowWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxConstFlowWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinConstTempWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinConstTempWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinConstTempWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxConstTempWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxConstTempWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxConstTempWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePumpStatusWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePumpStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePumpStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEffectiveOperationModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEffectiveOperationModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEffectiveOperationModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEffectiveControlModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEffectiveControlModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEffectiveControlModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCapacityWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCapacityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCapacityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSpeedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLifetimeRunningHoursWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLifetimeRunningHoursWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLifetimeRunningHoursWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLifetimeEnergyConsumedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLifetimeEnergyConsumedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLifetimeEnergyConsumedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOperationModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOperationModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOperationModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeControlModeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeControlModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeControlModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Thermostat |
| * |
| */ |
| @interface MTRBaseClusterThermostat : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)setpointRaiseLowerWithParams:(MTRThermostatClusterSetpointRaiseLowerParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)setWeeklyScheduleWithParams:(MTRThermostatClusterSetWeeklyScheduleParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)getWeeklyScheduleWithParams:(MTRThermostatClusterGetWeeklyScheduleParams *)params |
| completionHandler:(void (^)(MTRThermostatClusterGetWeeklyScheduleResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)clearWeeklyScheduleWithParams:(MTRThermostatClusterClearWeeklyScheduleParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)clearWeeklyScheduleWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeLocalTemperatureWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocalTemperatureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocalTemperatureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOutdoorTemperatureWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOutdoorTemperatureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOutdoorTemperatureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOccupancyWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupancyWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupancyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAbsMinHeatSetpointLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAbsMinHeatSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAbsMinHeatSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAbsMaxHeatSetpointLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAbsMaxHeatSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAbsMaxHeatSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAbsMinCoolSetpointLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAbsMinCoolSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAbsMinCoolSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAbsMaxCoolSetpointLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAbsMaxCoolSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAbsMaxCoolSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePICoolingDemandWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePICoolingDemandWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePICoolingDemandWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePIHeatingDemandWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePIHeatingDemandWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePIHeatingDemandWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeHVACSystemTypeConfigurationWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHVACSystemTypeConfigurationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHVACSystemTypeConfigurationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLocalTemperatureCalibrationWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocalTemperatureCalibrationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocalTemperatureCalibrationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOccupiedCoolingSetpointWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedCoolingSetpointWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedCoolingSetpointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOccupiedHeatingSetpointWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedHeatingSetpointWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedHeatingSetpointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUnoccupiedCoolingSetpointWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedCoolingSetpointWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedCoolingSetpointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUnoccupiedHeatingSetpointWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedHeatingSetpointWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedHeatingSetpointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinHeatSetpointLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinHeatSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinHeatSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxHeatSetpointLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxHeatSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxHeatSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinCoolSetpointLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinCoolSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinCoolSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxCoolSetpointLimitWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxCoolSetpointLimitWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxCoolSetpointLimitWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinSetpointDeadBandWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinSetpointDeadBandWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinSetpointDeadBandWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRemoteSensingWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRemoteSensingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRemoteSensingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeControlSequenceOfOperationWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeControlSequenceOfOperationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeControlSequenceOfOperationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSystemModeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSystemModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSystemModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeThermostatRunningModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeThermostatRunningModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeThermostatRunningModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStartOfWeekWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartOfWeekWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartOfWeekWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfWeeklyTransitionsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfWeeklyTransitionsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfWeeklyTransitionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfDailyTransitionsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfDailyTransitionsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfDailyTransitionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTemperatureSetpointHoldWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTemperatureSetpointHoldWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTemperatureSetpointHoldWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTemperatureSetpointHoldDurationWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTemperatureSetpointHoldDurationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTemperatureSetpointHoldDurationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeThermostatProgrammingOperationModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeThermostatProgrammingOperationModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeThermostatProgrammingOperationModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeThermostatRunningStateWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeThermostatRunningStateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeThermostatRunningStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSetpointChangeSourceWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSetpointChangeSourceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSetpointChangeSourceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSetpointChangeAmountWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSetpointChangeAmountWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSetpointChangeAmountWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSetpointChangeSourceTimestampWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSetpointChangeSourceTimestampWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSetpointChangeSourceTimestampWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOccupiedSetbackWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedSetbackWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedSetbackWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOccupiedSetbackMinWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedSetbackMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedSetbackMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOccupiedSetbackMaxWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedSetbackMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedSetbackMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUnoccupiedSetbackWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedSetbackWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedSetbackWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUnoccupiedSetbackMinWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedSetbackMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedSetbackMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUnoccupiedSetbackMaxWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedSetbackMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedSetbackMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEmergencyHeatDeltaWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEmergencyHeatDeltaWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEmergencyHeatDeltaWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeACTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeACCapacityWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeACCapacityWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeACCapacityWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACCapacityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACCapacityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeACRefrigerantTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeACRefrigerantTypeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeACRefrigerantTypeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACRefrigerantTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACRefrigerantTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeACCompressorTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeACCompressorTypeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeACCompressorTypeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACCompressorTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACCompressorTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeACErrorCodeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeACErrorCodeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeACErrorCodeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACErrorCodeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACErrorCodeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeACLouverPositionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeACLouverPositionWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeACLouverPositionWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACLouverPositionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACLouverPositionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeACCoilTemperatureWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACCoilTemperatureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACCoilTemperatureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeACCapacityformatWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeACCapacityformatWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeACCapacityformatWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACCapacityformatWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACCapacityformatWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Fan Control |
| * |
| */ |
| @interface MTRBaseClusterFanControl : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeFanModeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFanModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFanModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFanModeSequenceWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeFanModeSequenceWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeFanModeSequenceWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFanModeSequenceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFanModeSequenceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePercentSettingWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributePercentSettingWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributePercentSettingWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePercentSettingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePercentSettingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePercentCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePercentCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePercentCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSpeedMaxWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSpeedMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSpeedMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSpeedSettingWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeSpeedSettingWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeSpeedSettingWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSpeedSettingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSpeedSettingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSpeedCurrentWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSpeedCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSpeedCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRockSupportWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRockSupportWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRockSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRockSettingWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRockSettingWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRockSettingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRockSettingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRockSettingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWindSupportWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWindSupportWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWindSupportWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWindSettingWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeWindSettingWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeWindSettingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWindSettingWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWindSettingWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Thermostat User Interface Configuration |
| * |
| */ |
| @interface MTRBaseClusterThermostatUserInterfaceConfiguration : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeTemperatureDisplayModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeTemperatureDisplayModeWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeTemperatureDisplayModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTemperatureDisplayModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTemperatureDisplayModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeKeypadLockoutWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeKeypadLockoutWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeKeypadLockoutWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeKeypadLockoutWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeKeypadLockoutWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeScheduleProgrammingVisibilityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScheduleProgrammingVisibilityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScheduleProgrammingVisibilityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Color Control |
| * |
| */ |
| @interface MTRBaseClusterColorControl : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)moveToHueWithParams:(MTRColorControlClusterMoveToHueParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveHueWithParams:(MTRColorControlClusterMoveHueParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)stepHueWithParams:(MTRColorControlClusterStepHueParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveToSaturationWithParams:(MTRColorControlClusterMoveToSaturationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveSaturationWithParams:(MTRColorControlClusterMoveSaturationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)stepSaturationWithParams:(MTRColorControlClusterStepSaturationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveToHueAndSaturationWithParams:(MTRColorControlClusterMoveToHueAndSaturationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveToColorWithParams:(MTRColorControlClusterMoveToColorParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveColorWithParams:(MTRColorControlClusterMoveColorParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)stepColorWithParams:(MTRColorControlClusterStepColorParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveToColorTemperatureWithParams:(MTRColorControlClusterMoveToColorTemperatureParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)enhancedMoveToHueWithParams:(MTRColorControlClusterEnhancedMoveToHueParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)enhancedMoveHueWithParams:(MTRColorControlClusterEnhancedMoveHueParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)enhancedStepHueWithParams:(MTRColorControlClusterEnhancedStepHueParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)enhancedMoveToHueAndSaturationWithParams:(MTRColorControlClusterEnhancedMoveToHueAndSaturationParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)colorLoopSetWithParams:(MTRColorControlClusterColorLoopSetParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)stopMoveStepWithParams:(MTRColorControlClusterStopMoveStepParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)moveColorTemperatureWithParams:(MTRColorControlClusterMoveColorTemperatureParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)stepColorTemperatureWithParams:(MTRColorControlClusterStepColorTemperatureParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeCurrentHueWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentHueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentHueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentSaturationWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentSaturationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentSaturationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRemainingTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRemainingTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRemainingTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentXWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentXWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentYWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentYWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDriftCompensationWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDriftCompensationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDriftCompensationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCompensationTextWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCompensationTextWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCompensationTextWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorTemperatureWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorTemperatureWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorTemperatureWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorModeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOptionsWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOptionsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOptionsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNumberOfPrimariesWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfPrimariesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfPrimariesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary1XWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary1XWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary1XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary1YWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary1YWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary1YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary1IntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary1IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary1IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary2XWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary2XWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary2XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary2YWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary2YWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary2YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary2IntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary2IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary2IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary3XWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary3XWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary3XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary3YWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary3YWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary3YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary3IntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary3IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary3IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary4XWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary4XWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary4XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary4YWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary4YWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary4YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary4IntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary4IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary4IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary5XWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary5XWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary5XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary5YWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary5YWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary5YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary5IntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary5IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary5IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary6XWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary6XWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary6XWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary6YWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary6YWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary6YWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePrimary6IntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary6IntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary6IntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWhitePointXWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeWhitePointXWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeWhitePointXWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWhitePointXWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWhitePointXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeWhitePointYWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeWhitePointYWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeWhitePointYWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWhitePointYWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWhitePointYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointRXWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointRXWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointRXWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointRXWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointRXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointRYWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointRYWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointRYWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointRYWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointRYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointRIntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointRIntensityWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointRIntensityWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointRIntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointRIntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointGXWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointGXWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointGXWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointGXWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointGXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointGYWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointGYWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointGYWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointGYWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointGYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointGIntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointGIntensityWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointGIntensityWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointGIntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointGIntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointBXWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointBXWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointBXWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointBXWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointBXWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointBYWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointBYWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointBYWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointBYWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointBYWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorPointBIntensityWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeColorPointBIntensityWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeColorPointBIntensityWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointBIntensityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointBIntensityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnhancedCurrentHueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnhancedCurrentHueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnhancedCurrentHueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnhancedColorModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnhancedColorModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnhancedColorModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorLoopActiveWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopActiveWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopActiveWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorLoopDirectionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopDirectionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopDirectionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorLoopTimeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorLoopStartEnhancedHueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopStartEnhancedHueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopStartEnhancedHueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorLoopStoredEnhancedHueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopStoredEnhancedHueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopStoredEnhancedHueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorCapabilitiesWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorCapabilitiesWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorCapabilitiesWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorTempPhysicalMinMiredsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorTempPhysicalMinMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorTempPhysicalMinMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeColorTempPhysicalMaxMiredsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorTempPhysicalMaxMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorTempPhysicalMaxMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCoupleColorTempToLevelMinMiredsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCoupleColorTempToLevelMinMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCoupleColorTempToLevelMinMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStartUpColorTemperatureMiredsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartUpColorTemperatureMiredsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartUpColorTemperatureMiredsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Ballast Configuration |
| * |
| */ |
| @interface MTRBaseClusterBallastConfiguration : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributePhysicalMinLevelWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalMinLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalMinLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePhysicalMaxLevelWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalMaxLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalMaxLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBallastStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBallastStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBallastStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinLevelWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeMinLevelWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeMinLevelWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxLevelWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeMaxLevelWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeMaxLevelWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxLevelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxLevelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeIntrinsicBalanceFactorWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeIntrinsicBalanceFactorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeIntrinsicBalanceFactorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBallastFactorAdjustmentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBallastFactorAdjustmentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBallastFactorAdjustmentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLampQuantityWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampQuantityWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampQuantityWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLampTypeWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLampTypeWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLampTypeWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLampManufacturerWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLampManufacturerWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLampManufacturerWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampManufacturerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampManufacturerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLampRatedHoursWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLampRatedHoursWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLampRatedHoursWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampRatedHoursWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampRatedHoursWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLampBurnHoursWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLampBurnHoursWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLampBurnHoursWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampBurnHoursWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampBurnHoursWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLampAlarmModeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLampAlarmModeWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLampAlarmModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampAlarmModeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampAlarmModeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLampBurnHoursTripPointWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampBurnHoursTripPointWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampBurnHoursTripPointWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Illuminance Measurement |
| * |
| */ |
| @interface MTRBaseClusterIlluminanceMeasurement : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeToleranceWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLightSensorTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLightSensorTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLightSensorTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Temperature Measurement |
| * |
| */ |
| @interface MTRBaseClusterTemperatureMeasurement : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeToleranceWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Pressure Measurement |
| * |
| */ |
| @interface MTRBaseClusterPressureMeasurement : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeToleranceWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeScaledValueWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScaledValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScaledValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinScaledValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinScaledValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinScaledValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxScaledValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxScaledValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxScaledValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeScaledToleranceWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScaledToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScaledToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeScaleWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScaleWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScaleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Flow Measurement |
| * |
| */ |
| @interface MTRBaseClusterFlowMeasurement : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeToleranceWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Relative Humidity Measurement |
| * |
| */ |
| @interface MTRBaseClusterRelativeHumidityMeasurement : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeToleranceWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Occupancy Sensing |
| * |
| */ |
| @interface MTRBaseClusterOccupancySensing : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeOccupancyWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupancyWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupancyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOccupancySensorTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupancySensorTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupancySensorTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOccupancySensorTypeBitmapWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupancySensorTypeBitmapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupancySensorTypeBitmapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePirOccupiedToUnoccupiedDelayWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributePirOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributePirOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePirOccupiedToUnoccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePirOccupiedToUnoccupiedDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePirUnoccupiedToOccupiedDelayWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributePirUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributePirUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePirUnoccupiedToOccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePirUnoccupiedToOccupiedDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePirUnoccupiedToOccupiedThresholdWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributePirUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributePirUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePirUnoccupiedToOccupiedThresholdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePirUnoccupiedToOccupiedThresholdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUltrasonicOccupiedToUnoccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUltrasonicUnoccupiedToOccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable) |
| subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalContactOccupiedToUnoccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable) |
| subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithAttributeCache: |
| (MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalContactUnoccupiedToOccupiedDelayWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable) |
| subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithAttributeCache: |
| (MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithCompletionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable) |
| subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithAttributeCache: |
| (MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Wake on LAN |
| * |
| */ |
| @interface MTRBaseClusterWakeOnLan : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMACAddressWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMACAddressWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMACAddressWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Channel |
| * |
| */ |
| @interface MTRBaseClusterChannel : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)changeChannelWithParams:(MTRChannelClusterChangeChannelParams *)params |
| completionHandler:(void (^)(MTRChannelClusterChangeChannelResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)changeChannelByNumberWithParams:(MTRChannelClusterChangeChannelByNumberParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)skipChannelWithParams:(MTRChannelClusterSkipChannelParams *)params completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeChannelListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChannelListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChannelListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLineupWithCompletionHandler:(void (^)(MTRChannelClusterLineupInfo * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLineupWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(MTRChannelClusterLineupInfo * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLineupWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(MTRChannelClusterLineupInfo * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentChannelWithCompletionHandler:(void (^)(MTRChannelClusterChannelInfo * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentChannelWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(MTRChannelClusterChannelInfo * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentChannelWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(MTRChannelClusterChannelInfo * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Target Navigator |
| * |
| */ |
| @interface MTRBaseClusterTargetNavigator : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)navigateTargetWithParams:(MTRTargetNavigatorClusterNavigateTargetParams *)params |
| completionHandler:(void (^)(MTRTargetNavigatorClusterNavigateTargetResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTargetListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTargetListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTargetListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentTargetWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentTargetWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentTargetWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Media Playback |
| * |
| */ |
| @interface MTRBaseClusterMediaPlayback : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)playWithParams:(MTRMediaPlaybackClusterPlayParams * _Nullable)params |
| completionHandler: |
| (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)playWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)pauseWithParams:(MTRMediaPlaybackClusterPauseParams * _Nullable)params |
| completionHandler: |
| (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)pauseWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)stopPlaybackWithParams:(MTRMediaPlaybackClusterStopPlaybackParams * _Nullable)params |
| completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)stopPlaybackWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)startOverWithParams:(MTRMediaPlaybackClusterStartOverParams * _Nullable)params |
| completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)startOverWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)previousWithParams:(MTRMediaPlaybackClusterPreviousParams * _Nullable)params |
| completionHandler: |
| (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)previousWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)nextWithParams:(MTRMediaPlaybackClusterNextParams * _Nullable)params |
| completionHandler: |
| (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)nextWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)rewindWithParams:(MTRMediaPlaybackClusterRewindParams * _Nullable)params |
| completionHandler: |
| (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| - (void)rewindWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)fastForwardWithParams:(MTRMediaPlaybackClusterFastForwardParams * _Nullable)params |
| completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)fastForwardWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)skipForwardWithParams:(MTRMediaPlaybackClusterSkipForwardParams *)params |
| completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)skipBackwardWithParams:(MTRMediaPlaybackClusterSkipBackwardParams *)params |
| completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)seekWithParams:(MTRMediaPlaybackClusterSeekParams *)params |
| completionHandler: |
| (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentStateWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentStateWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentStateWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStartTimeWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartTimeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartTimeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDurationWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDurationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDurationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSampledPositionWithCompletionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSampledPositionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSampledPositionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePlaybackSpeedWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePlaybackSpeedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePlaybackSpeedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSeekRangeEndWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSeekRangeEndWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSeekRangeEndWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSeekRangeStartWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSeekRangeStartWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSeekRangeStartWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Media Input |
| * |
| */ |
| @interface MTRBaseClusterMediaInput : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)selectInputWithParams:(MTRMediaInputClusterSelectInputParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)showInputStatusWithParams:(MTRMediaInputClusterShowInputStatusParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)showInputStatusWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)hideInputStatusWithParams:(MTRMediaInputClusterHideInputStatusParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)hideInputStatusWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)renameInputWithParams:(MTRMediaInputClusterRenameInputParams *)params completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeInputListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInputListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInputListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentInputWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentInputWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentInputWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Low Power |
| * |
| */ |
| @interface MTRBaseClusterLowPower : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)sleepWithParams:(MTRLowPowerClusterSleepParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)sleepWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Keypad Input |
| * |
| */ |
| @interface MTRBaseClusterKeypadInput : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)sendKeyWithParams:(MTRKeypadInputClusterSendKeyParams *)params |
| completionHandler: |
| (void (^)(MTRKeypadInputClusterSendKeyResponseParams * _Nullable data, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Content Launcher |
| * |
| */ |
| @interface MTRBaseClusterContentLauncher : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)launchContentWithParams:(MTRContentLauncherClusterLaunchContentParams *)params |
| completionHandler:(void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)launchURLWithParams:(MTRContentLauncherClusterLaunchURLParams *)params |
| completionHandler:(void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptHeaderWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptHeaderWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptHeaderWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeSupportedStreamingProtocolsWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedStreamingProtocolsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedStreamingProtocolsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Audio Output |
| * |
| */ |
| @interface MTRBaseClusterAudioOutput : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)selectOutputWithParams:(MTRAudioOutputClusterSelectOutputParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)renameOutputWithParams:(MTRAudioOutputClusterRenameOutputParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeOutputListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOutputListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOutputListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentOutputWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentOutputWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentOutputWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Application Launcher |
| * |
| */ |
| @interface MTRBaseClusterApplicationLauncher : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)launchAppWithParams:(MTRApplicationLauncherClusterLaunchAppParams *)params |
| completionHandler:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)stopAppWithParams:(MTRApplicationLauncherClusterStopAppParams *)params |
| completionHandler:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)hideAppWithParams:(MTRApplicationLauncherClusterHideAppParams *)params |
| completionHandler:(void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCatalogListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCatalogListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCatalogListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentAppWithCompletionHandler:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeCurrentAppWithValue:(MTRApplicationLauncherClusterApplicationEP * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeCurrentAppWithValue:(MTRApplicationLauncherClusterApplicationEP * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentAppWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentAppWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Application Basic |
| * |
| */ |
| @interface MTRBaseClusterApplicationBasic : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeVendorNameWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorNameWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeVendorIDWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorIDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeApplicationNameWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApplicationNameWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApplicationNameWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeProductIDWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductIDWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductIDWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeApplicationWithCompletionHandler: |
| (void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApplicationWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApplicationWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStatusWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStatusWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStatusWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeApplicationVersionWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApplicationVersionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApplicationVersionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAllowedVendorListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAllowedVendorListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAllowedVendorListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Account Login |
| * |
| */ |
| @interface MTRBaseClusterAccountLogin : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)getSetupPINWithParams:(MTRAccountLoginClusterGetSetupPINParams *)params |
| completionHandler:(void (^)(MTRAccountLoginClusterGetSetupPINResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)loginWithParams:(MTRAccountLoginClusterLoginParams *)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)logoutWithParams:(MTRAccountLoginClusterLogoutParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)logoutWithCompletionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Electrical Measurement |
| * |
| */ |
| @interface MTRBaseClusterElectricalMeasurement : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)getProfileInfoCommandWithParams:(MTRElectricalMeasurementClusterGetProfileInfoCommandParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)getProfileInfoCommandWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)getMeasurementProfileCommandWithParams:(MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams *)params |
| completionHandler:(StatusCompletion)completionHandler; |
| |
| - (void)readAttributeMeasurementTypeWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasurementTypeWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasurementTypeWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcVoltageWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcVoltageMinWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcVoltageMaxWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcCurrentWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcCurrentMinWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcCurrentMaxWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcPowerWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcPowerMinWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcPowerMaxWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcVoltageMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcVoltageDivisorWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcCurrentMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcCurrentDivisorWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcPowerMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeDcPowerDivisorWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcFrequencyWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcFrequencyMinWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcFrequencyMaxWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNeutralCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNeutralCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNeutralCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTotalActivePowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTotalActivePowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTotalActivePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTotalReactivePowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTotalReactivePowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTotalReactivePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTotalApparentPowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTotalApparentPowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTotalApparentPowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasured1stHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured1stHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured1stHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasured3rdHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured3rdHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured3rdHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasured5thHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured5thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured5thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasured7thHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured7thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured7thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasured9thHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured9thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured9thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasured11thHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured11thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured11thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasuredPhase1stHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase1stHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase1stHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasuredPhase3rdHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase3rdHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase3rdHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasuredPhase5thHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase5thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase5thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasuredPhase7thHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase7thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase7thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasuredPhase9thHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase9thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase9thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeMeasuredPhase11thHarmonicCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase11thHarmonicCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase11thHarmonicCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcFrequencyMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcFrequencyDivisorWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePowerMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePowerDivisorWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeHarmonicCurrentMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHarmonicCurrentMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHarmonicCurrentMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePhaseHarmonicCurrentMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhaseHarmonicCurrentMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhaseHarmonicCurrentMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstantaneousVoltageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstantaneousLineCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousLineCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousLineCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstantaneousActiveCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousActiveCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousActiveCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstantaneousReactiveCurrentWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousReactiveCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousReactiveCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInstantaneousPowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousPowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousPowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageMinWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageMaxWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentMinWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentMaxWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerMinWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMinWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMinWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerMaxWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMaxWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMaxWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeReactivePowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactivePowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactivePowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeApparentPowerWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApparentPowerWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApparentPowerWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePowerFactorWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerFactorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerFactorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsVoltageMeasurementPeriodWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsVoltageMeasurementPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsUnderVoltageCounterWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsUnderVoltageCounterWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsUnderVoltageCounterWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsExtremeOverVoltagePeriodWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeOverVoltagePeriodWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeOverVoltagePeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsExtremeUnderVoltagePeriodWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeUnderVoltagePeriodWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeUnderVoltagePeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageSagPeriodWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSagPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSagPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageSwellPeriodWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSwellPeriodWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSwellPeriodWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcVoltageMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcVoltageMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcVoltageMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcVoltageDivisorWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcVoltageDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcVoltageDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcCurrentMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcCurrentMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcCurrentMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcCurrentDivisorWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcCurrentDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcCurrentDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcPowerMultiplierWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcPowerMultiplierWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcPowerMultiplierWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcPowerDivisorWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcPowerDivisorWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcPowerDivisorWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOverloadAlarmsMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOverloadAlarmsMaskWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOverloadAlarmsMaskWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeVoltageOverloadWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVoltageOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVoltageOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCurrentOverloadWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcOverloadAlarmsMaskWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcOverloadAlarmsMaskWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcOverloadAlarmsMaskWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcVoltageOverloadWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcVoltageOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcVoltageOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcCurrentOverloadWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcCurrentOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcCurrentOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcActivePowerOverloadWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcActivePowerOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcActivePowerOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcReactivePowerOverloadWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcReactivePowerOverloadWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcReactivePowerOverloadWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsOverVoltageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsOverVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsOverVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsUnderVoltageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsUnderVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsUnderVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsExtremeOverVoltageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeOverVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeOverVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsExtremeUnderVoltageWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeUnderVoltageWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeUnderVoltageWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageSagWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSagWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSagWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageSwellWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSwellWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSwellWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLineCurrentPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLineCurrentPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLineCurrentPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveCurrentPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveCurrentPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveCurrentPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeReactiveCurrentPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactiveCurrentPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactiveCurrentPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltagePhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltagePhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltagePhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageMinPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMinPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMinPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageMaxPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMaxPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMaxPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentMinPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMinPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMinPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentMaxPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMaxPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMaxPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerMinPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMinPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMinPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerMaxPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMaxPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMaxPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeReactivePowerPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactivePowerPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactivePowerPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeApparentPowerPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApparentPowerPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApparentPowerPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePowerFactorPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerFactorPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerFactorPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable) |
| subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithAttributeCache: |
| (MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsOverVoltageCounterPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsOverVoltageCounterPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsOverVoltageCounterPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsUnderVoltageCounterPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsUnderVoltageCounterPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsUnderVoltageCounterPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeOverVoltagePeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageSagPeriodPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSagPeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSagPeriodPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageSwellPeriodPhaseBWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSwellPeriodPhaseBWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSwellPeriodPhaseBWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLineCurrentPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLineCurrentPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLineCurrentPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActiveCurrentPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveCurrentPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveCurrentPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeReactiveCurrentPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactiveCurrentPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactiveCurrentPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltagePhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltagePhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltagePhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageMinPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMinPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMinPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageMaxPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMaxPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMaxPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentMinPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMinPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMinPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsCurrentMaxPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMaxPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMaxPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerMinPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMinPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMinPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeActivePowerMaxPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMaxPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMaxPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeReactivePowerPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactivePowerPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactivePowerPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeApparentPowerPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApparentPowerPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApparentPowerPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributePowerFactorPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerFactorPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerFactorPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable) |
| subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithAttributeCache: |
| (MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsOverVoltageCounterPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsOverVoltageCounterPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsOverVoltageCounterPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAverageRmsUnderVoltageCounterPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsUnderVoltageCounterPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsUnderVoltageCounterPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeOverVoltagePeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageSagPeriodPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSagPeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSagPeriodPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRmsVoltageSwellPeriodPhaseCWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSwellPeriodPhaseCWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSwellPeriodPhaseCWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Test Cluster |
| * |
| */ |
| @interface MTRBaseClusterTestCluster : MTRCluster |
| |
| - (nullable instancetype)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(uint16_t)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)testWithParams:(MTRTestClusterClusterTestParams * _Nullable)params completionHandler:(StatusCompletion)completionHandler; |
| - (void)testWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)testNotHandledWithParams:(MTRTestClusterClusterTestNotHandledParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)testNotHandledWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)testSpecificWithParams:(MTRTestClusterClusterTestSpecificParams * _Nullable)params |
| completionHandler:(void (^)(MTRTestClusterClusterTestSpecificResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testSpecificWithCompletionHandler:(void (^)(MTRTestClusterClusterTestSpecificResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testUnknownCommandWithParams:(MTRTestClusterClusterTestUnknownCommandParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)testUnknownCommandWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)testAddArgumentsWithParams:(MTRTestClusterClusterTestAddArgumentsParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterTestAddArgumentsResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testSimpleArgumentRequestWithParams:(MTRTestClusterClusterTestSimpleArgumentRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterTestSimpleArgumentResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testStructArrayArgumentRequestWithParams:(MTRTestClusterClusterTestStructArrayArgumentRequestParams *)params |
| completionHandler: |
| (void (^)(MTRTestClusterClusterTestStructArrayArgumentResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testStructArgumentRequestWithParams:(MTRTestClusterClusterTestStructArgumentRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testNestedStructArgumentRequestWithParams:(MTRTestClusterClusterTestNestedStructArgumentRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testListStructArgumentRequestWithParams:(MTRTestClusterClusterTestListStructArgumentRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testListInt8UArgumentRequestWithParams:(MTRTestClusterClusterTestListInt8UArgumentRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testNestedStructListArgumentRequestWithParams:(MTRTestClusterClusterTestNestedStructListArgumentRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testListNestedStructListArgumentRequestWithParams: |
| (MTRTestClusterClusterTestListNestedStructListArgumentRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testListInt8UReverseRequestWithParams:(MTRTestClusterClusterTestListInt8UReverseRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterTestListInt8UReverseResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testEnumsRequestWithParams:(MTRTestClusterClusterTestEnumsRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterTestEnumsResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testNullableOptionalRequestWithParams:(MTRTestClusterClusterTestNullableOptionalRequestParams * _Nullable)params |
| completionHandler:(void (^)(MTRTestClusterClusterTestNullableOptionalResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testComplexNullableOptionalRequestWithParams:(MTRTestClusterClusterTestComplexNullableOptionalRequestParams *)params |
| completionHandler: |
| (void (^)(MTRTestClusterClusterTestComplexNullableOptionalResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)simpleStructEchoRequestWithParams:(MTRTestClusterClusterSimpleStructEchoRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterSimpleStructResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)timedInvokeRequestWithParams:(MTRTestClusterClusterTimedInvokeRequestParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)timedInvokeRequestWithCompletionHandler:(StatusCompletion)completionHandler; |
| - (void)testSimpleOptionalArgumentRequestWithParams:(MTRTestClusterClusterTestSimpleOptionalArgumentRequestParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)testEmitTestEventRequestWithParams:(MTRTestClusterClusterTestEmitTestEventRequestParams *)params |
| completionHandler:(void (^)(MTRTestClusterClusterTestEmitTestEventResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| - (void)testEmitTestFabricScopedEventRequestWithParams:(MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams *)params |
| completionHandler: |
| (void (^)( |
| MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams * _Nullable data, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBooleanWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBitmap8WithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBitmap8WithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBitmap8WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBitmap8WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBitmap8WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBitmap16WithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBitmap16WithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBitmap16WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBitmap16WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBitmap16WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBitmap32WithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBitmap32WithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBitmap32WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBitmap32WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBitmap32WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeBitmap64WithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeBitmap64WithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeBitmap64WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBitmap64WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBitmap64WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt8uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt8uWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt8uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt16uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt16uWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt16uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt16uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt16uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt24uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt24uWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt24uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt24uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt24uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt32uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt32uWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt32uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt32uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt32uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt40uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt40uWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt40uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt40uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt40uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt48uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt48uWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt48uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt48uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt48uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt56uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt56uWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt56uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt56uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt56uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt64uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt64uWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt64uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt64uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt64uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt8sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt8sWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt8sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt8sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt8sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt16sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt16sWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt16sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt16sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt16sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt24sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt24sWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt24sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt24sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt24sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt32sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt32sWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt32sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt32sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt32sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt40sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt40sWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt40sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt40sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt40sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt48sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt48sWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt48sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt48sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt48sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt56sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt56sWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt56sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt56sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt56sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeInt64sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeInt64sWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeInt64sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt64sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt64sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnum8WithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEnum8WithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEnum8WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnum8WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnum8WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnum16WithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEnum16WithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEnum16WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnum16WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnum16WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFloatSingleWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeFloatSingleWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeFloatSingleWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFloatSingleWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFloatSingleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFloatDoubleWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeFloatDoubleWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeFloatDoubleWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFloatDoubleWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFloatDoubleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeOctetStringWithCompletionHandler:(void (^)( |
| NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeOctetStringWithValue:(NSData * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeOctetStringWithValue:(NSData * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeListInt8uWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeListInt8uWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeListInt8uWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeListOctetStringWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeListOctetStringWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeListOctetStringWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeListStructOctetStringWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeListStructOctetStringWithValue:(NSArray * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeListStructOctetStringWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListStructOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListStructOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLongOctetStringWithCompletionHandler:(void (^)(NSData * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLongOctetStringWithValue:(NSData * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLongOctetStringWithValue:(NSData * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLongOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLongOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeCharStringWithCompletionHandler:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeCharStringWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeCharStringWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCharStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCharStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeLongCharStringWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeLongCharStringWithValue:(NSString * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeLongCharStringWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLongCharStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLongCharStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEpochUsWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEpochUsWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEpochUsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEpochUsWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEpochUsWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEpochSWithCompletionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEpochSWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEpochSWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEpochSWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEpochSWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeVendorIdWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeVendorIdWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeVendorIdWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorIdWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorIdWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeListNullablesAndOptionalsStructWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListNullablesAndOptionalsStructWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListNullablesAndOptionalsStructWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeEnumAttrWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeEnumAttrWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeEnumAttrWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnumAttrWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnumAttrWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeStructAttrWithCompletionHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeStructAttrWithValue:(MTRTestClusterClusterSimpleStruct * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeStructAttrWithValue:(MTRTestClusterClusterSimpleStruct * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStructAttrWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStructAttrWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRangeRestrictedInt8uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRangeRestrictedInt8uWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRangeRestrictedInt8uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRangeRestrictedInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRangeRestrictedInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRangeRestrictedInt8sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRangeRestrictedInt8sWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRangeRestrictedInt8sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRangeRestrictedInt8sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRangeRestrictedInt8sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRangeRestrictedInt16uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRangeRestrictedInt16uWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRangeRestrictedInt16uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRangeRestrictedInt16uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRangeRestrictedInt16uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeRangeRestrictedInt16sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeRangeRestrictedInt16sWithValue:(NSNumber * _Nonnull)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeRangeRestrictedInt16sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRangeRestrictedInt16sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRangeRestrictedInt16sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeListLongOctetStringWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListLongOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListLongOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeListFabricScopedWithParams:(MTRReadParams * _Nullable)params |
| completionHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeListFabricScopedWithValue:(NSArray * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeListFabricScopedWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListFabricScopedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListFabricScopedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeTimedWriteBooleanWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeTimedWriteBooleanWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeTimedWriteBooleanWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTimedWriteBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTimedWriteBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneralErrorBooleanWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeGeneralErrorBooleanWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeGeneralErrorBooleanWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneralErrorBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneralErrorBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterErrorBooleanWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeClusterErrorBooleanWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeClusterErrorBooleanWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterErrorBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterErrorBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeUnsupportedWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeUnsupportedWithValue:(NSNumber * _Nonnull)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeUnsupportedWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnsupportedWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnsupportedWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableBooleanWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableBooleanWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableBooleanWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBooleanWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBooleanWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableBitmap8WithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableBitmap8WithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableBitmap8WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBitmap8WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBitmap8WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableBitmap16WithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableBitmap16WithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableBitmap16WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBitmap16WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBitmap16WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableBitmap32WithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableBitmap32WithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableBitmap32WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBitmap32WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBitmap32WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableBitmap64WithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableBitmap64WithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableBitmap64WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBitmap64WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBitmap64WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt8uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt8uWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt8uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt16uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt16uWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt16uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt16uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt16uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt24uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt24uWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt24uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt24uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt24uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt32uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt32uWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt32uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt32uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt32uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt40uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt40uWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt40uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt40uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt40uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt48uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt48uWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt48uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt48uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt48uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt56uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt56uWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt56uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt56uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt56uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt64uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt64uWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt64uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt64uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt64uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt8sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt8sWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt8sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt8sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt8sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt16sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt16sWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt16sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt16sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt16sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt24sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt24sWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt24sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt24sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt24sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt32sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt32sWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt32sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt32sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt32sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt40sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt40sWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt40sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt40sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt40sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt48sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt48sWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt48sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt48sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt48sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt56sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt56sWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt56sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt56sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt56sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableInt64sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableInt64sWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableInt64sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt64sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt64sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableEnum8WithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableEnum8WithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableEnum8WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableEnum8WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableEnum8WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableEnum16WithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableEnum16WithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableEnum16WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableEnum16WithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableEnum16WithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableFloatSingleWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableFloatSingleWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableFloatSingleWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableFloatSingleWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableFloatSingleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableFloatDoubleWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableFloatDoubleWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableFloatDoubleWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableFloatDoubleWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableFloatDoubleWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableOctetStringWithCompletionHandler:(void (^)(NSData * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableOctetStringWithValue:(NSData * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableOctetStringWithValue:(NSData * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableOctetStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableOctetStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableCharStringWithCompletionHandler:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableCharStringWithValue:(NSString * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableCharStringWithValue:(NSString * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableCharStringWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableCharStringWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableEnumAttrWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableEnumAttrWithValue:(NSNumber * _Nullable)value completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableEnumAttrWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableEnumAttrWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableEnumAttrWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableStructWithCompletionHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableStructWithValue:(MTRTestClusterClusterSimpleStruct * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableStructWithValue:(MTRTestClusterClusterSimpleStruct * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableStructWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableStructWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableRangeRestrictedInt8uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableRangeRestrictedInt8uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableRangeRestrictedInt8uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableRangeRestrictedInt8sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableRangeRestrictedInt8sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableRangeRestrictedInt8sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableRangeRestrictedInt16uWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableRangeRestrictedInt16uWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableRangeRestrictedInt16uWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeNullableRangeRestrictedInt16sWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| - (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSNumber * _Nullable)value |
| completionHandler:(StatusCompletion)completionHandler; |
| - (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completionHandler:(StatusCompletion)completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableRangeRestrictedInt16sWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableRangeRestrictedInt16sWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletionHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished: |
| (SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeAttributeListWithCompletionHandler:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeFeatureMapWithCompletionHandler:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (void)readAttributeClusterRevisionWithCompletionHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completionHandler; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithMinInterval:(NSNumber * _Nonnull)minInterval |
| maxInterval:(NSNumber * _Nonnull)maxInterval |
| params:(MTRSubscribeParams * _Nullable)params |
| subscriptionEstablished:(SubscriptionEstablishedHandler _Nullable)subscriptionEstablishedHandler |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithAttributeCache:(MTRAttributeCacheContainer *)attributeCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completionHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completionHandler; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @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_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, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateProviderOTADownloadProtocol) { |
| MTROtaSoftwareUpdateProviderOTADownloadProtocolBDXSynchronous = 0x00, |
| MTROtaSoftwareUpdateProviderOTADownloadProtocolBDXAsynchronous = 0x01, |
| MTROtaSoftwareUpdateProviderOTADownloadProtocolHTTPS = 0x02, |
| MTROtaSoftwareUpdateProviderOTADownloadProtocolVendorSpecific = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateProviderOTAQueryStatus) { |
| MTROtaSoftwareUpdateProviderOTAQueryStatusUpdateAvailable = 0x00, |
| MTROtaSoftwareUpdateProviderOTAQueryStatusBusy = 0x01, |
| MTROtaSoftwareUpdateProviderOTAQueryStatusNotAvailable = 0x02, |
| MTROtaSoftwareUpdateProviderOTAQueryStatusDownloadProtocolNotSupported = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateRequestorOTAAnnouncementReason) { |
| MTROtaSoftwareUpdateRequestorOTAAnnouncementReasonSimpleAnnouncement = 0x00, |
| MTROtaSoftwareUpdateRequestorOTAAnnouncementReasonUpdateAvailable = 0x01, |
| MTROtaSoftwareUpdateRequestorOTAAnnouncementReasonUrgentUpdateAvailable = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateRequestorOTAChangeReason) { |
| MTROtaSoftwareUpdateRequestorOTAChangeReasonUnknown = 0x00, |
| MTROtaSoftwareUpdateRequestorOTAChangeReasonSuccess = 0x01, |
| MTROtaSoftwareUpdateRequestorOTAChangeReasonFailure = 0x02, |
| MTROtaSoftwareUpdateRequestorOTAChangeReasonTimeOut = 0x03, |
| MTROtaSoftwareUpdateRequestorOTAChangeReasonDelayByProvider = 0x04, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTROtaSoftwareUpdateRequestorOTAUpdateState) { |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateUnknown = 0x00, |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateIdle = 0x01, |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateQuerying = 0x02, |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateDelayedOnQuery = 0x03, |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateDownloading = 0x04, |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateApplying = 0x05, |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateDelayedOnApply = 0x06, |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateRollingBack = 0x07, |
| MTROtaSoftwareUpdateRequestorOTAUpdateStateDelayedOnUserConsent = 0x08, |
| }; |
| |
| 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, 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_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, MTRTestClusterSimple) { |
| MTRTestClusterSimpleUnspecified = 0x00, |
| MTRTestClusterSimpleValueA = 0x01, |
| MTRTestClusterSimpleValueB = 0x02, |
| MTRTestClusterSimpleValueC = 0x03, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRTestClusterBitmap16MaskMap) { |
| MTRTestClusterBitmap16MaskMapMaskVal1 = 0x1, |
| MTRTestClusterBitmap16MaskMapMaskVal2 = 0x2, |
| MTRTestClusterBitmap16MaskMapMaskVal3 = 0x4, |
| MTRTestClusterBitmap16MaskMapMaskVal4 = 0x4000, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRTestClusterBitmap32MaskMap) { |
| MTRTestClusterBitmap32MaskMapMaskVal1 = 0x1, |
| MTRTestClusterBitmap32MaskMapMaskVal2 = 0x2, |
| MTRTestClusterBitmap32MaskMapMaskVal3 = 0x4, |
| MTRTestClusterBitmap32MaskMapMaskVal4 = 0x40000000, |
| }; |
| |
| typedef NS_OPTIONS(uint64_t, MTRTestClusterBitmap64MaskMap) { |
| MTRTestClusterBitmap64MaskMapMaskVal1 = 0x1, |
| MTRTestClusterBitmap64MaskMapMaskVal2 = 0x2, |
| MTRTestClusterBitmap64MaskMapMaskVal3 = 0x4, |
| MTRTestClusterBitmap64MaskMapMaskVal4 = 0x4000000000000000, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRTestClusterBitmap8MaskMap) { |
| MTRTestClusterBitmap8MaskMapMaskVal1 = 0x1, |
| MTRTestClusterBitmap8MaskMapMaskVal2 = 0x2, |
| MTRTestClusterBitmap8MaskMapMaskVal3 = 0x4, |
| MTRTestClusterBitmap8MaskMapMaskVal4 = 0x40, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRTestClusterSimpleBitmap) { |
| MTRTestClusterSimpleBitmapValueA = 0x1, |
| MTRTestClusterSimpleBitmapValueB = 0x2, |
| MTRTestClusterSimpleBitmapValueC = 0x4, |
| }; |
| |
| NS_ASSUME_NONNULL_END |