| /* |
| * |
| * Copyright (c) 2022 Project CHIP Authors |
| * |
| * Licensed under the Apache License, Version 2.0 (the "License"); |
| * you may not use this file except in compliance with the License. |
| * You may obtain a copy of the License at |
| * |
| * http://www.apache.org/licenses/LICENSE-2.0 |
| * |
| * Unless required by applicable law or agreed to in writing, software |
| * distributed under the License is distributed on an "AS IS" BASIS, |
| * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| * See the License for the specific language governing permissions and |
| * limitations under the License. |
| */ |
| |
| #import <Foundation/Foundation.h> |
| |
| #import <Matter/MTRClusterStateCacheContainer.h> |
| |
| #import <Matter/MTRCluster.h> |
| #import <Matter/MTRCommandPayloadsObjc.h> |
| |
| NS_ASSUME_NONNULL_BEGIN |
| |
| /** |
| * Cluster Identify |
| * |
| * Attributes and commands for putting a device into Identification mode (e.g. flashing a light). |
| */ |
| @interface MTRBaseClusterIdentify : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command Identify |
| * |
| * Command description for Identify |
| */ |
| -(void) identifyWithParams : (MTRIdentifyClusterIdentifyParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command TriggerEffect |
| * |
| * Command description for TriggerEffect |
| */ |
| -(void) triggerEffectWithParams : (MTRIdentifyClusterTriggerEffectParams *) params completion : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeIdentifyTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeIdentifyTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeIdentifyTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeIdentifyTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeIdentifyTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeIdentifyTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeIdentifyTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Groups |
| * |
| * Attributes and commands for group configuration and manipulation. |
| */ |
| @interface MTRBaseClusterGroups : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command AddGroup |
| * |
| * Command description for AddGroup |
| */ |
| -(void) addGroupWithParams : (MTRGroupsClusterAddGroupParams *) params completion |
| : (void (^)(MTRGroupsClusterAddGroupResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ViewGroup |
| * |
| * Command description for ViewGroup |
| */ |
| -(void) viewGroupWithParams : (MTRGroupsClusterViewGroupParams *) params completion |
| : (void (^)(MTRGroupsClusterViewGroupResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command GetGroupMembership |
| * |
| * Command description for GetGroupMembership |
| */ |
| -(void) getGroupMembershipWithParams : (MTRGroupsClusterGetGroupMembershipParams *) params completion |
| : (void (^)(MTRGroupsClusterGetGroupMembershipResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command RemoveGroup |
| * |
| * Command description for RemoveGroup |
| */ |
| -(void) removeGroupWithParams : (MTRGroupsClusterRemoveGroupParams *) params completion |
| : (void (^)(MTRGroupsClusterRemoveGroupResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command RemoveAllGroups |
| * |
| * Command description for RemoveAllGroups |
| */ |
| -(void) removeAllGroupsWithParams : (MTRGroupsClusterRemoveAllGroupsParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)removeAllGroupsWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command AddGroupIfIdentifying |
| * |
| * Command description for AddGroupIfIdentifying |
| */ |
| -(void) addGroupIfIdentifyingWithParams : (MTRGroupsClusterAddGroupIfIdentifyingParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeNameSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNameSupportWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNameSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Scenes |
| * |
| * Attributes and commands for scene configuration and manipulation. |
| */ |
| @interface MTRBaseClusterScenes : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command AddScene |
| * |
| * Add a scene to the scene table. Extension field sets are supported, and are inputed as '{"ClusterID": VALUE, |
| * "AttributeValueList":[{"AttributeId": VALUE, "AttributeValue": VALUE}]}' |
| */ |
| -(void) addSceneWithParams : (MTRScenesClusterAddSceneParams *) params completion |
| : (void (^)(MTRScenesClusterAddSceneResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ViewScene |
| * |
| * Retrieves the requested scene entry from its Scene table. |
| */ |
| -(void) viewSceneWithParams : (MTRScenesClusterViewSceneParams *) params completion |
| : (void (^)(MTRScenesClusterViewSceneResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command RemoveScene |
| * |
| * Removes the requested scene entry, corresponding to the value of the GroupID field, from its Scene Table |
| */ |
| -(void) removeSceneWithParams : (MTRScenesClusterRemoveSceneParams *) params completion |
| : (void (^)(MTRScenesClusterRemoveSceneResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command RemoveAllScenes |
| * |
| * Remove all scenes, corresponding to the value of the GroupID field, from its Scene Table |
| */ |
| -(void) removeAllScenesWithParams : (MTRScenesClusterRemoveAllScenesParams *) params completion |
| : (void (^)(MTRScenesClusterRemoveAllScenesResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command StoreScene |
| * |
| * Adds the scene entry into its Scene Table along with all extension field sets corresponding to the current state of other |
| * clusters on the same endpoint |
| */ |
| -(void) storeSceneWithParams : (MTRScenesClusterStoreSceneParams *) params completion |
| : (void (^)(MTRScenesClusterStoreSceneResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command RecallScene |
| * |
| * Set the attributes and corresponding state for each other cluster implemented on the endpoint accordingly to the resquested scene |
| * entry in the Scene Table |
| */ |
| -(void) recallSceneWithParams : (MTRScenesClusterRecallSceneParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GetSceneMembership |
| * |
| * Get an unused scene identifier when no commissioning tool is in the network, or for a commissioning tool to get the used scene |
| * identifiers within a certain group |
| */ |
| -(void) getSceneMembershipWithParams : (MTRScenesClusterGetSceneMembershipParams *) params completion |
| : (void (^)(MTRScenesClusterGetSceneMembershipResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command EnhancedAddScene |
| * |
| * Allows a scene to be added using a finer scene transition time than the AddScene command. |
| */ |
| -(void) enhancedAddSceneWithParams : (MTRScenesClusterEnhancedAddSceneParams *) params completion |
| : (void (^)(MTRScenesClusterEnhancedAddSceneResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command EnhancedViewScene |
| * |
| * Allows a scene to be retrieved using a finer scene transition time than the ViewScene command |
| */ |
| -(void) enhancedViewSceneWithParams : (MTRScenesClusterEnhancedViewSceneParams *) params completion |
| : (void (^)(MTRScenesClusterEnhancedViewSceneResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command CopyScene |
| * |
| * Allows a client to efficiently copy scenes from one group/scene identifier pair to another group/scene identifier pair. |
| */ |
| -(void) copySceneWithParams : (MTRScenesClusterCopySceneParams *) params completion |
| : (void (^)(MTRScenesClusterCopySceneResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeSceneCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSceneCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSceneCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentSceneWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentSceneWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentSceneWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentGroupWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentGroupWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentGroupWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSceneValidWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSceneValidWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSceneValidWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNameSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNameSupportWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNameSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLastConfiguredByWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLastConfiguredByWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLastConfiguredByWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster On/Off |
| * |
| * Attributes and commands for switching devices between 'On' and 'Off' states. |
| */ |
| @interface MTRBaseClusterOnOff : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command Off |
| * |
| * On receipt of this command, a device SHALL enter its ‘Off’ state. This state is device dependent, but it is recommended that it |
| * is used for power off or similar functions. On receipt of the Off command, the OnTime attribute SHALL be set to 0. |
| */ |
| -(void) offWithParams : (MTROnOffClusterOffParams * _Nullable) params completion : (MTRStatusCompletion) completion; |
| - (void)offWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command On |
| * |
| * On receipt of this command, a device SHALL enter its ‘On’ state. This state is device dependent, but it is recommended that it is |
| * used for power on or similar functions. On receipt of the On command, if the value of the OnTime attribute is equal to 0, the |
| * device SHALL set the OffWaitTime attribute to 0. |
| */ |
| -(void) onWithParams : (MTROnOffClusterOnParams * _Nullable) params completion : (MTRStatusCompletion) completion; |
| - (void)onWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command Toggle |
| * |
| * On receipt of this command, if a device is in its ‘Off’ state it SHALL enter its ‘On’ state. Otherwise, if it is in its ‘On’ |
| * state it SHALL enter its ‘Off’ state. On receipt of the Toggle command, if the value of the OnOff attribute is equal to FALSE and |
| * if the value of the OnTime attribute is equal to 0, the device SHALL set the OffWaitTime attribute to 0. If the value of the |
| * OnOff attribute is equal to TRUE, the OnTime attribute SHALL be set to 0. |
| */ |
| -(void) toggleWithParams : (MTROnOffClusterToggleParams * _Nullable) params completion : (MTRStatusCompletion) completion; |
| - (void)toggleWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command OffWithEffect |
| * |
| * The OffWithEffect command allows devices to be turned off using enhanced ways of fading. |
| */ |
| -(void) offWithEffectWithParams : (MTROnOffClusterOffWithEffectParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command OnWithRecallGlobalScene |
| * |
| * The OnWithRecallGlobalScene command allows the recall of the settings when the device was turned off. |
| */ |
| -(void) onWithRecallGlobalSceneWithParams : (MTROnOffClusterOnWithRecallGlobalSceneParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)onWithRecallGlobalSceneWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command OnWithTimedOff |
| * |
| * The OnWithTimedOff command allows devices to be turned on for a specific duration with a guarded off duration so that SHOULD the |
| * device be subsequently switched off, further OnWithTimedOff commands, received during this time, are prevented from turning the |
| * devices back on. |
| */ |
| -(void) onWithTimedOffWithParams : (MTROnOffClusterOnWithTimedOffParams *) params completion : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeOnOffWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnOffWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnOffWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGlobalSceneControlWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGlobalSceneControlWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGlobalSceneControlWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOnTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOnTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOffWaitTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOffWaitTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOffWaitTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOffWaitTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStartUpOnOffWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeStartUpOnOffWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartUpOnOffWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartUpOnOffWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster On/off Switch Configuration |
| * |
| * Attributes and commands for configuring On/Off switching devices. |
| */ |
| @interface MTRBaseClusterOnOffSwitchConfiguration : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeSwitchTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSwitchTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSwitchTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSwitchActionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeSwitchActionsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSwitchActionsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSwitchActionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Level Control |
| * |
| * Attributes and commands for controlling devices that can be set to a level between fully 'On' and fully 'Off.' |
| */ |
| @interface MTRBaseClusterLevelControl : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command MoveToLevel |
| * |
| * Command description for MoveToLevel |
| */ |
| -(void) moveToLevelWithParams : (MTRLevelControlClusterMoveToLevelParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command Move |
| * |
| * Command description for Move |
| */ |
| -(void) moveWithParams : (MTRLevelControlClusterMoveParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command Step |
| * |
| * Command description for Step |
| */ |
| -(void) stepWithParams : (MTRLevelControlClusterStepParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command Stop |
| * |
| * Command description for Stop |
| */ |
| -(void) stopWithParams : (MTRLevelControlClusterStopParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveToLevelWithOnOff |
| * |
| * Command description for MoveToLevelWithOnOff |
| */ |
| -(void) moveToLevelWithOnOffWithParams : (MTRLevelControlClusterMoveToLevelWithOnOffParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveWithOnOff |
| * |
| * Command description for MoveWithOnOff |
| */ |
| -(void) moveWithOnOffWithParams : (MTRLevelControlClusterMoveWithOnOffParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StepWithOnOff |
| * |
| * Command description for StepWithOnOff |
| */ |
| -(void) stepWithOnOffWithParams : (MTRLevelControlClusterStepWithOnOffParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StopWithOnOff |
| * |
| * Command description for StopWithOnOff |
| */ |
| -(void) stopWithOnOffWithParams : (MTRLevelControlClusterStopWithOnOffParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveToClosestFrequency |
| * |
| * Change the currrent frequency to the provided one, or a close |
| approximation if the exact provided one is not possible. |
| */ |
| -(void) moveToClosestFrequencyWithParams : (MTRLevelControlClusterMoveToClosestFrequencyParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeCurrentLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRemainingTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRemainingTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRemainingTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentFrequencyWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinFrequencyWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxFrequencyWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOptionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOptionsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOptionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOnOffTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOnOffTransitionTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnOffTransitionTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnOffTransitionTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOnLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOnLevelWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOnTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOnTransitionTimeWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnTransitionTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnTransitionTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOffTransitionTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOffTransitionTimeWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOffTransitionTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOffTransitionTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDefaultMoveRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeDefaultMoveRateWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDefaultMoveRateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDefaultMoveRateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStartUpCurrentLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeStartUpCurrentLevelWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartUpCurrentLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartUpCurrentLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Binary Input (Basic) |
| * |
| * An interface for reading the value of a binary measurement and accessing various characteristics of that measurement. |
| */ |
| @interface MTRBaseClusterBinaryInputBasic : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeActiveTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeActiveTextWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveTextWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveTextWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeDescriptionWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInactiveTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInactiveTextWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInactiveTextWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInactiveTextWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOutOfServiceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOutOfServiceWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOutOfServiceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOutOfServiceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePolarityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePolarityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePolarityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePresentValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributePresentValueWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePresentValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePresentValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeReliabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeReliabilityWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReliabilityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReliabilityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStatusFlagsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStatusFlagsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStatusFlagsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeApplicationTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApplicationTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApplicationTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Descriptor |
| * |
| * The Descriptor Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for describing a node, its endpoints |
| * and clusters. |
| */ |
| @interface MTRBaseClusterDescriptor : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeDeviceTypeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDeviceTypeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDeviceTypeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeServerListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeServerListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeServerListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClientListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClientListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClientListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePartsListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartsListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartsListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Binding |
| * |
| * The Binding Cluster is meant to replace the support from the Zigbee Device Object (ZDO) for supporting the binding table. |
| */ |
| @interface MTRBaseClusterBinding : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeBindingWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBindingWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBindingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBindingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Access Control |
| * |
| * The Access Control Cluster exposes a data model view of a |
| Node's Access Control List (ACL), which codifies the rules used to manage |
| and enforce Access Control for the Node's endpoints and their associated |
| cluster instances. |
| */ |
| @interface MTRBaseClusterAccessControl : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeACLWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeACLWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeACLWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACLWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACLWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeExtensionWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeExtensionWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeExtensionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeExtensionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSubjectsPerAccessControlEntryWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSubjectsPerAccessControlEntryWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSubjectsPerAccessControlEntryWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTargetsPerAccessControlEntryWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTargetsPerAccessControlEntryWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTargetsPerAccessControlEntryWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAccessControlEntriesPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAccessControlEntriesPerFabricWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAccessControlEntriesPerFabricWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Actions |
| * |
| * This cluster provides a standardized way for a Node (typically a Bridge, but could be any Node) to expose action information. |
| */ |
| @interface MTRBaseClusterActions : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command InstantAction |
| * |
| * This command triggers an action (state change) on the involved endpoints. |
| */ |
| -(void) instantActionWithParams : (MTRActionsClusterInstantActionParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command InstantActionWithTransition |
| * |
| * This command triggers an action (state change) on the involved endpoints, with a specified time to transition from the current |
| * state to the new state. |
| */ |
| -(void) instantActionWithTransitionWithParams : (MTRActionsClusterInstantActionWithTransitionParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StartAction |
| * |
| * This command triggers the commencement of an action on the involved endpoints. |
| */ |
| -(void) startActionWithParams : (MTRActionsClusterStartActionParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StartActionWithDuration |
| * |
| * This command triggers the commencement of an action (with a duration) on the involved endpoints. |
| */ |
| -(void) startActionWithDurationWithParams : (MTRActionsClusterStartActionWithDurationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StopAction |
| * |
| * This command stops the ongoing action on the involved endpoints. |
| */ |
| -(void) stopActionWithParams : (MTRActionsClusterStopActionParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command PauseAction |
| * |
| * This command pauses an ongoing action. |
| */ |
| -(void) pauseActionWithParams : (MTRActionsClusterPauseActionParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command PauseActionWithDuration |
| * |
| * This command pauses an ongoing action with a duration. |
| */ |
| -(void) pauseActionWithDurationWithParams : (MTRActionsClusterPauseActionWithDurationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command ResumeAction |
| * |
| * This command resumes a previously paused action. |
| */ |
| -(void) resumeActionWithParams : (MTRActionsClusterResumeActionParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command EnableAction |
| * |
| * This command enables a certain action or automation. |
| */ |
| -(void) enableActionWithParams : (MTRActionsClusterEnableActionParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command EnableActionWithDuration |
| * |
| * This command enables a certain action or automation with a duration. |
| */ |
| -(void) enableActionWithDurationWithParams : (MTRActionsClusterEnableActionWithDurationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command DisableAction |
| * |
| * This command disables a certain action or automation. |
| */ |
| -(void) disableActionWithParams : (MTRActionsClusterDisableActionParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command DisableActionWithDuration |
| * |
| * This command disables a certain action or automation with a duration. |
| */ |
| -(void) disableActionWithDurationWithParams : (MTRActionsClusterDisableActionWithDurationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeActionListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActionListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActionListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEndpointListsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEndpointListsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEndpointListsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSetupURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSetupURLWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSetupURLWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Basic |
| * |
| * This cluster provides attributes and events for determining basic information about Nodes, which supports both |
| Commissioning and operational determination of Node characteristics, such as Vendor ID, Product ID and serial number, |
| which apply to the whole Node. Also allows setting user device information such as location. |
| */ |
| @interface MTRBaseClusterBasic : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command MfgSpecificPing |
| * |
| * |
| */ |
| -(void) mfgSpecificPingWithParams : (MTRBasicClusterMfgSpecificPingParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)mfgSpecificPingWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeDataModelRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDataModelRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDataModelRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorNameWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeVendorIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorIDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeProductNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductNameWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeProductIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductIDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNodeLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNodeLabelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNodeLabelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLocationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLocationWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeHardwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHardwareVersionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHardwareVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeHardwareVersionStringWithCompletion:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHardwareVersionStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHardwareVersionStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSoftwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoftwareVersionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoftwareVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSoftwareVersionStringWithCompletion:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoftwareVersionStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoftwareVersionStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeManufacturingDateWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeManufacturingDateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeManufacturingDateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePartNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartNumberWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeProductURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductURLWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductURLWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeProductLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductLabelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductLabelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSerialNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSerialNumberWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSerialNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLocalConfigDisabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLocalConfigDisabledWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocalConfigDisabledWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocalConfigDisabledWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeReachableWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReachableWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReachableWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUniqueIDWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUniqueIDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUniqueIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCapabilityMinimaWithCompletion:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCapabilityMinimaWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCapabilityMinimaWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(MTRBasicClusterCapabilityMinimaStruct * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster OTA Software Update Provider |
| * |
| * Provides an interface for providing OTA software updates |
| */ |
| @interface MTRBaseClusterOTASoftwareUpdateProvider : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command QueryImage |
| * |
| * Determine availability of a new Software Image |
| */ |
| -(void) queryImageWithParams : (MTROTASoftwareUpdateProviderClusterQueryImageParams *) params completion |
| : (void (^)( |
| MTROTASoftwareUpdateProviderClusterQueryImageResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ApplyUpdateRequest |
| * |
| * Determine next action to take for a downloaded Software Image |
| */ |
| -(void) applyUpdateRequestWithParams : (MTROTASoftwareUpdateProviderClusterApplyUpdateRequestParams *) params completion |
| : (void (^)( |
| MTROTASoftwareUpdateProviderClusterApplyUpdateResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command NotifyUpdateApplied |
| * |
| * Notify OTA Provider that an update was applied |
| */ |
| -(void) notifyUpdateAppliedWithParams : (MTROTASoftwareUpdateProviderClusterNotifyUpdateAppliedParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster OTA Software Update Requestor |
| * |
| * Provides an interface for downloading and applying OTA software updates |
| */ |
| @interface MTRBaseClusterOTASoftwareUpdateRequestor : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command AnnounceOtaProvider |
| * |
| * Announce the presence of an OTA Provider |
| */ |
| -(void) announceOtaProviderWithParams : (MTROTASoftwareUpdateRequestorClusterAnnounceOtaProviderParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeDefaultOtaProvidersWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeDefaultOtaProvidersWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeDefaultOtaProvidersWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDefaultOtaProvidersWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDefaultOtaProvidersWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUpdatePossibleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUpdatePossibleWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUpdatePossibleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUpdateStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUpdateStateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUpdateStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUpdateStateProgressWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUpdateStateProgressWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUpdateStateProgressWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Localization Configuration |
| * |
| * Nodes should be expected to be deployed to any and all regions of the world. These global regions |
| may have differing common languages, units of measurements, and numerical formatting |
| standards. As such, Nodes that visually or audibly convey information need a mechanism by which |
| they can be configured to use a user’s preferred language, units, etc |
| */ |
| @interface MTRBaseClusterLocalizationConfiguration : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeActiveLocaleWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeActiveLocaleWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveLocaleWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveLocaleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSupportedLocalesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedLocalesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedLocalesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Time Format Localization |
| * |
| * Nodes should be expected to be deployed to any and all regions of the world. These global regions |
| may have differing preferences for how dates and times are conveyed. As such, Nodes that visually |
| or audibly convey time information need a mechanism by which they can be configured to use a |
| user’s preferred format. |
| */ |
| @interface MTRBaseClusterTimeFormatLocalization : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeHourFormatWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeHourFormatWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHourFormatWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHourFormatWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveCalendarTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeActiveCalendarTypeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveCalendarTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveCalendarTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSupportedCalendarTypesWithCompletion:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedCalendarTypesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedCalendarTypesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Unit Localization |
| * |
| * Nodes should be expected to be deployed to any and all regions of the world. These global regions |
| may have differing preferences for the units in which values are conveyed in communication to a |
| user. As such, Nodes that visually or audibly convey measurable values to the user need a |
| mechanism by which they can be configured to use a user’s preferred unit. |
| */ |
| @interface MTRBaseClusterUnitLocalization : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeTemperatureUnitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeTemperatureUnitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTemperatureUnitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTemperatureUnitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Power Source Configuration |
| * |
| * This cluster is used to describe the configuration and capabilities of a Device's power system. |
| */ |
| @interface MTRBaseClusterPowerSourceConfiguration : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeSourcesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSourcesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSourcesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Power Source |
| * |
| * This cluster is used to describe the configuration and capabilities of a physical power source that provides power to the Node. |
| */ |
| @interface MTRBaseClusterPowerSource : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOrderWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOrderWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOrderWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWiredAssessedInputVoltageWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredAssessedInputVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredAssessedInputVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWiredAssessedInputFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredAssessedInputFrequencyWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredAssessedInputFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWiredCurrentTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredCurrentTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredCurrentTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWiredAssessedCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredAssessedCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredAssessedCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWiredNominalVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredNominalVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredNominalVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWiredMaximumCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredMaximumCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredMaximumCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWiredPresentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiredPresentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiredPresentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveWiredFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveWiredFaultsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveWiredFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatPercentRemainingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatPercentRemainingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatPercentRemainingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatTimeRemainingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatTimeRemainingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatTimeRemainingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatChargeLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatChargeLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatChargeLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatReplacementNeededWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatReplacementNeededWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatReplacementNeededWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatReplaceabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatReplaceabilityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatReplaceabilityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatPresentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatPresentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatPresentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveBatFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveBatFaultsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveBatFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatReplacementDescriptionWithCompletion:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatReplacementDescriptionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatReplacementDescriptionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatCommonDesignationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatCommonDesignationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatCommonDesignationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatANSIDesignationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatANSIDesignationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatANSIDesignationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatIECDesignationWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatIECDesignationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatIECDesignationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatApprovedChemistryWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatApprovedChemistryWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatApprovedChemistryWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatCapacityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatCapacityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatQuantityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatQuantityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatQuantityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatChargeStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatChargeStateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatChargeStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatTimeToFullChargeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatTimeToFullChargeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatTimeToFullChargeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatFunctionalWhileChargingWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatFunctionalWhileChargingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatFunctionalWhileChargingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBatChargingCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBatChargingCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBatChargingCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveBatChargeFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveBatChargeFaultsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveBatChargeFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster General Commissioning |
| * |
| * This cluster is used to manage global aspects of the Commissioning flow. |
| */ |
| @interface MTRBaseClusterGeneralCommissioning : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command ArmFailSafe |
| * |
| * Arm the persistent fail-safe timer with an expiry time of now + ExpiryLengthSeconds using device clock |
| */ |
| -(void) armFailSafeWithParams : (MTRGeneralCommissioningClusterArmFailSafeParams *) params completion |
| : (void (^)(MTRGeneralCommissioningClusterArmFailSafeResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command SetRegulatoryConfig |
| * |
| * Set the regulatory configuration to be used during commissioning |
| */ |
| -(void) setRegulatoryConfigWithParams : (MTRGeneralCommissioningClusterSetRegulatoryConfigParams *) params completion |
| : (void (^)( |
| MTRGeneralCommissioningClusterSetRegulatoryConfigResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command CommissioningComplete |
| * |
| * Signals the Server that the Client has successfully completed all steps of Commissioning/Recofiguration needed during fail-safe |
| * period. |
| */ |
| -(void) commissioningCompleteWithParams : (MTRGeneralCommissioningClusterCommissioningCompleteParams * _Nullable) params completion |
| : (void (^)(MTRGeneralCommissioningClusterCommissioningCompleteResponseParams * _Nullable data, |
| NSError * _Nullable error)) completion; |
| - (void)commissioningCompleteWithCompletion:(void (^)( |
| MTRGeneralCommissioningClusterCommissioningCompleteResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBreadcrumbWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBreadcrumbWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBreadcrumbWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBreadcrumbWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBasicCommissioningInfoWithCompletion: |
| (void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBasicCommissioningInfoWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void) |
| readAttributeBasicCommissioningInfoWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)( |
| MTRGeneralCommissioningClusterBasicCommissioningInfo * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRegulatoryConfigWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRegulatoryConfigWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRegulatoryConfigWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLocationCapabilityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocationCapabilityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocationCapabilityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSupportsConcurrentConnectionWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportsConcurrentConnectionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportsConcurrentConnectionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Network Commissioning |
| * |
| * Functionality to configure, enable, disable network credentials and access on a Matter device. |
| */ |
| @interface MTRBaseClusterNetworkCommissioning : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command ScanNetworks |
| * |
| * Detemine the set of networks the device sees as available. |
| */ |
| -(void) scanNetworksWithParams : (MTRNetworkCommissioningClusterScanNetworksParams * _Nullable) params completion |
| : (void (^)(MTRNetworkCommissioningClusterScanNetworksResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command AddOrUpdateWiFiNetwork |
| * |
| * Add or update the credentials for a given Wi-Fi network. |
| */ |
| -(void) addOrUpdateWiFiNetworkWithParams : (MTRNetworkCommissioningClusterAddOrUpdateWiFiNetworkParams *) params completion |
| : (void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command AddOrUpdateThreadNetwork |
| * |
| * Add or update the credentials for a given Thread network. |
| */ |
| -(void) addOrUpdateThreadNetworkWithParams : (MTRNetworkCommissioningClusterAddOrUpdateThreadNetworkParams *) params completion |
| : (void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command RemoveNetwork |
| * |
| * Remove the definition of a given network (including its credentials). |
| */ |
| -(void) removeNetworkWithParams : (MTRNetworkCommissioningClusterRemoveNetworkParams *) params completion |
| : (void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ConnectNetwork |
| * |
| * Connect to the specified network, using previously-defined credentials. |
| */ |
| -(void) connectNetworkWithParams : (MTRNetworkCommissioningClusterConnectNetworkParams *) params completion |
| : (void (^)(MTRNetworkCommissioningClusterConnectNetworkResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ReorderNetwork |
| * |
| * Modify the order in which networks will be presented in the Networks attribute. |
| */ |
| -(void) reorderNetworkWithParams : (MTRNetworkCommissioningClusterReorderNetworkParams *) params completion |
| : (void (^)(MTRNetworkCommissioningClusterNetworkConfigResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeMaxNetworksWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxNetworksWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxNetworksWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNetworksWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNetworksWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNetworksWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeScanMaxTimeSecondsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScanMaxTimeSecondsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScanMaxTimeSecondsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeConnectMaxTimeSecondsWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeConnectMaxTimeSecondsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeConnectMaxTimeSecondsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInterfaceEnabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInterfaceEnabledWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInterfaceEnabledWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInterfaceEnabledWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLastNetworkingStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLastNetworkingStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLastNetworkingStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLastNetworkIDWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLastNetworkIDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLastNetworkIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLastConnectErrorValueWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLastConnectErrorValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLastConnectErrorValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Diagnostic Logs |
| * |
| * The cluster provides commands for retrieving unstructured diagnostic logs from a Node that may be used to aid in diagnostics. |
| */ |
| @interface MTRBaseClusterDiagnosticLogs : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command RetrieveLogsRequest |
| * |
| * Retrieving diagnostic logs from a Node |
| */ |
| -(void) retrieveLogsRequestWithParams : (MTRDiagnosticLogsClusterRetrieveLogsRequestParams *) params completion |
| : (void (^)(MTRDiagnosticLogsClusterRetrieveLogsResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster General Diagnostics |
| * |
| * The General Diagnostics Cluster, along with other diagnostics clusters, provide a means to acquire standardized diagnostics |
| * metrics that MAY be used by a Node to assist a user or Administrative Node in diagnosing potential problems. |
| */ |
| @interface MTRBaseClusterGeneralDiagnostics : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command TestEventTrigger |
| * |
| * Provide a means for certification tests to trigger some test-plan-specific events |
| */ |
| -(void) testEventTriggerWithParams : (MTRGeneralDiagnosticsClusterTestEventTriggerParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeNetworkInterfacesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNetworkInterfacesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNetworkInterfacesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRebootCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRebootCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRebootCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUpTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUpTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUpTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTotalOperationalHoursWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTotalOperationalHoursWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTotalOperationalHoursWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBootReasonsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBootReasonsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBootReasonsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveHardwareFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveHardwareFaultsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveHardwareFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveRadioFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveRadioFaultsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveRadioFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveNetworkFaultsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveNetworkFaultsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveNetworkFaultsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTestEventTriggersEnabledWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTestEventTriggersEnabledWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTestEventTriggersEnabledWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Software Diagnostics |
| * |
| * The Software Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to |
| * assist a user or Administrative Node in diagnosing potential problems. |
| */ |
| @interface MTRBaseClusterSoftwareDiagnostics : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command ResetWatermarks |
| * |
| * Reception of this command SHALL reset the values: The StackFreeMinimum field of the ThreadMetrics attribute, |
| * CurrentHeapHighWaterMark attribute. |
| */ |
| -(void) resetWatermarksWithParams : (MTRSoftwareDiagnosticsClusterResetWatermarksParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)resetWatermarksWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeThreadMetricsWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeThreadMetricsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeThreadMetricsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentHeapFreeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentHeapFreeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentHeapFreeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentHeapUsedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentHeapUsedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentHeapUsedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentHeapHighWatermarkWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentHeapHighWatermarkWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentHeapHighWatermarkWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Thread Network Diagnostics |
| * |
| * The Thread Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to |
| * assist a user or Administrative Node in diagnosing potential problems |
| */ |
| @interface MTRBaseClusterThreadNetworkDiagnostics : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command ResetCounts |
| * |
| * Reception of this command SHALL reset the OverrunCount attributes to 0 |
| */ |
| -(void) resetCountsWithParams : (MTRThreadNetworkDiagnosticsClusterResetCountsParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)resetCountsWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeChannelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChannelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChannelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRoutingRoleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRoutingRoleWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRoutingRoleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNetworkNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNetworkNameWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNetworkNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePanIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePanIdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePanIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeExtendedPanIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeExtendedPanIdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeExtendedPanIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeshLocalPrefixWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeshLocalPrefixWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeshLocalPrefixWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNeighborTableListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNeighborTableListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNeighborTableListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRouteTableListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRouteTableListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRouteTableListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePartitionIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartitionIdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartitionIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWeightingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWeightingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWeightingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDataVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDataVersionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDataVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStableDataVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStableDataVersionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStableDataVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLeaderRouterIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLeaderRouterIdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLeaderRouterIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDetachedRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDetachedRoleCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDetachedRoleCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeChildRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChildRoleCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChildRoleCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRouterRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRouterRoleCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRouterRoleCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLeaderRoleCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLeaderRoleCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLeaderRoleCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttachAttemptCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttachAttemptCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttachAttemptCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePartitionIdChangeCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartitionIdChangeCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartitionIdChangeCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBetterPartitionAttachAttemptCountWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBetterPartitionAttachAttemptCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBetterPartitionAttachAttemptCountWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeParentChangeCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeParentChangeCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeParentChangeCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxTotalCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxTotalCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxTotalCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxUnicastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxUnicastCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxUnicastCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxBroadcastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxBroadcastCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxBroadcastCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxAckRequestedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxAckRequestedCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxAckRequestedCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxAckedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxAckedCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxAckedCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxNoAckRequestedCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxNoAckRequestedCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxNoAckRequestedCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxDataCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxDataCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxDataCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxDataPollCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxDataPollCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxDataPollCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxBeaconCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxBeaconCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxBeaconCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxBeaconRequestCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxBeaconRequestCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxBeaconRequestCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxOtherCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxOtherCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxRetryCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxRetryCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxRetryCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxDirectMaxRetryExpiryCountWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxDirectMaxRetryExpiryCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxDirectMaxRetryExpiryCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxIndirectMaxRetryExpiryCountWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxIndirectMaxRetryExpiryCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxIndirectMaxRetryExpiryCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxErrCcaCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxErrCcaCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxErrCcaCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxErrAbortCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxErrAbortCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxErrAbortCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxErrBusyChannelCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxErrBusyChannelCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxErrBusyChannelCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxTotalCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxTotalCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxTotalCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxUnicastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxUnicastCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxUnicastCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxBroadcastCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxBroadcastCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxBroadcastCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxDataCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxDataCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxDataCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxDataPollCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxDataPollCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxDataPollCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxBeaconCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxBeaconCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxBeaconCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxBeaconRequestCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxBeaconRequestCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxBeaconRequestCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxOtherCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxOtherCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxAddressFilteredCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxAddressFilteredCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxAddressFilteredCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxDestAddrFilteredCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxDestAddrFilteredCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxDestAddrFilteredCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxDuplicatedCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxDuplicatedCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxDuplicatedCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxErrNoFrameCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrNoFrameCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrNoFrameCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxErrUnknownNeighborCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrUnknownNeighborCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrUnknownNeighborCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxErrInvalidSrcAddrCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrInvalidSrcAddrCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrInvalidSrcAddrCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxErrSecCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrSecCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrSecCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxErrFcsCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrFcsCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrFcsCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRxErrOtherCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRxErrOtherCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRxErrOtherCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveTimestampWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveTimestampWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveTimestampWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePendingTimestampWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePendingTimestampWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePendingTimestampWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDelayWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDelayWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDelayWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSecurityPolicyWithCompletion:(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSecurityPolicyWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSecurityPolicyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(MTRThreadNetworkDiagnosticsClusterSecurityPolicy * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeChannelPage0MaskWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChannelPage0MaskWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChannelPage0MaskWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOperationalDatasetComponentsWithCompletion: |
| (void (^)( |
| MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void) |
| subscribeAttributeOperationalDatasetComponentsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)( |
| MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void) |
| readAttributeOperationalDatasetComponentsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)( |
| MTRThreadNetworkDiagnosticsClusterOperationalDatasetComponents * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveNetworkFaultsListWithCompletion:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveNetworkFaultsListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveNetworkFaultsListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster WiFi Network Diagnostics |
| * |
| * The Wi-Fi Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node to |
| * assist a user or Administrative Node in diagnosing potential problems. |
| */ |
| @interface MTRBaseClusterWiFiNetworkDiagnostics : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command ResetCounts |
| * |
| * Reception of this command SHALL reset the Breacon and Packet related count attributes to 0 |
| */ |
| -(void) resetCountsWithParams : (MTRWiFiNetworkDiagnosticsClusterResetCountsParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)resetCountsWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeBssidWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBssidWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBssidWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSecurityTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSecurityTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSecurityTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWiFiVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWiFiVersionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWiFiVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeChannelNumberWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChannelNumberWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChannelNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRssiWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRssiWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRssiWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBeaconLostCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBeaconLostCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBeaconLostCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBeaconRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBeaconRxCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBeaconRxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePacketMulticastRxCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketMulticastRxCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketMulticastRxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePacketMulticastTxCountWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketMulticastTxCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketMulticastTxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePacketUnicastRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketUnicastRxCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketUnicastRxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePacketUnicastTxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketUnicastTxCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketUnicastTxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentMaxRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentMaxRateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentMaxRateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Ethernet Network Diagnostics |
| * |
| * The Ethernet Network Diagnostics Cluster provides a means to acquire standardized diagnostics metrics that MAY be used by a Node |
| * to assist a user or Administrative Node in diagnosing potential problems. |
| */ |
| @interface MTRBaseClusterEthernetNetworkDiagnostics : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command ResetCounts |
| * |
| * Reception of this command SHALL reset the attributes: PacketRxCount, PacketTxCount, TxErrCount, CollisionCount, OverrunCount to 0 |
| */ |
| -(void) resetCountsWithParams : (MTREthernetNetworkDiagnosticsClusterResetCountsParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)resetCountsWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributePHYRateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePHYRateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePHYRateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFullDuplexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFullDuplexWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFullDuplexWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePacketRxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketRxCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketRxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePacketTxCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePacketTxCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePacketTxCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTxErrCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTxErrCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTxErrCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCollisionCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCollisionCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCollisionCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOverrunCountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOverrunCountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOverrunCountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCarrierDetectWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCarrierDetectWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCarrierDetectWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTimeSinceResetWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTimeSinceResetWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTimeSinceResetWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Bridged Device Basic |
| * |
| * This Cluster serves two purposes towards a Node communicating with a Bridge: indicate that the functionality on |
| the Endpoint where it is placed (and its Parts) is bridged from a non-CHIP technology; and provide a centralized |
| collection of attributes that the Node MAY collect to aid in conveying information regarding the Bridged Device to a user, |
| such as the vendor name, the model name, or user-assigned name. |
| */ |
| @interface MTRBaseClusterBridgedDeviceBasic : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorNameWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeVendorIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorIDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeProductNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductNameWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNodeLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNodeLabelWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNodeLabelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNodeLabelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeHardwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHardwareVersionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHardwareVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeHardwareVersionStringWithCompletion:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHardwareVersionStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHardwareVersionStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSoftwareVersionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoftwareVersionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoftwareVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSoftwareVersionStringWithCompletion:(void (^)( |
| NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoftwareVersionStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoftwareVersionStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeManufacturingDateWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeManufacturingDateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeManufacturingDateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePartNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePartNumberWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePartNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeProductURLWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductURLWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductURLWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeProductLabelWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductLabelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductLabelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSerialNumberWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSerialNumberWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSerialNumberWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeReachableWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReachableWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReachableWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUniqueIDWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUniqueIDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUniqueIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Switch |
| * |
| * This cluster exposes interactions with a switch device, for the purpose of using those interactions by other devices. |
| Two types of switch devices are supported: latching switch (e.g. rocker switch) and momentary switch (e.g. push button), |
| distinguished with their feature flags. Interactions with the switch device are exposed as attributes (for the latching switch) and |
| as events (for both types of switches). An interested party MAY subscribe to these attributes/events and thus be informed of the |
| interactions, and can perform actions based on this, for example by sending commands to perform an action such as controlling a |
| light or a window shade. |
| */ |
| @interface MTRBaseClusterSwitch : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeNumberOfPositionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfPositionsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfPositionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentPositionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMultiPressMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMultiPressMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMultiPressMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster AdministratorCommissioning |
| * |
| * Commands to trigger a Node to allow a new Administrator to commission it. |
| */ |
| @interface MTRBaseClusterAdministratorCommissioning : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command OpenCommissioningWindow |
| * |
| * This command is used by a current Administrator to instruct a Node to go into commissioning mode using enhanced commissioning |
| * method. |
| */ |
| -(void) openCommissioningWindowWithParams : (MTRAdministratorCommissioningClusterOpenCommissioningWindowParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command OpenBasicCommissioningWindow |
| * |
| * This command is used by a current Administrator to instruct a Node to go into commissioning mode using basic commissioning |
| * method, if the node supports it. |
| */ |
| -(void) openBasicCommissioningWindowWithParams |
| : (MTRAdministratorCommissioningClusterOpenBasicCommissioningWindowParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command RevokeCommissioning |
| * |
| * This command is used by a current Administrator to instruct a Node to revoke any active Open Commissioning Window or Open Basic |
| * Commissioning Window command. |
| */ |
| -(void) revokeCommissioningWithParams |
| : (MTRAdministratorCommissioningClusterRevokeCommissioningParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)revokeCommissioningWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeWindowStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWindowStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWindowStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAdminFabricIndexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAdminFabricIndexWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAdminFabricIndexWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAdminVendorIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAdminVendorIdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAdminVendorIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Operational Credentials |
| * |
| * This cluster is used to add or remove Operational Credentials on a Commissionee or Node, as well as manage the associated |
| * Fabrics. |
| */ |
| @interface MTRBaseClusterOperationalCredentials : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command AttestationRequest |
| * |
| * Sender is requesting attestation information from the receiver. |
| */ |
| -(void) attestationRequestWithParams : (MTROperationalCredentialsClusterAttestationRequestParams *) params completion |
| : (void (^)(MTROperationalCredentialsClusterAttestationResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command CertificateChainRequest |
| * |
| * Sender is requesting a device attestation certificate from the receiver. |
| */ |
| -(void) certificateChainRequestWithParams : (MTROperationalCredentialsClusterCertificateChainRequestParams *) params completion |
| : (void (^)( |
| MTROperationalCredentialsClusterCertificateChainResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command CSRRequest |
| * |
| * Sender is requesting a certificate signing request (CSR) from the receiver. |
| */ |
| -(void) CSRRequestWithParams : (MTROperationalCredentialsClusterCSRRequestParams *) params completion |
| : (void (^)(MTROperationalCredentialsClusterCSRResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command AddNOC |
| * |
| * Sender is requesting to add the new node operational certificates. |
| */ |
| -(void) addNOCWithParams : (MTROperationalCredentialsClusterAddNOCParams *) params completion |
| : (void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command UpdateNOC |
| * |
| * Sender is requesting to update the node operational certificates. |
| */ |
| -(void) updateNOCWithParams : (MTROperationalCredentialsClusterUpdateNOCParams *) params completion |
| : (void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command UpdateFabricLabel |
| * |
| * This command SHALL be used by an Administrative Node to set the user-visible Label field for a given Fabric, as reflected by |
| * entries in the Fabrics attribute. |
| */ |
| -(void) updateFabricLabelWithParams : (MTROperationalCredentialsClusterUpdateFabricLabelParams *) params completion |
| : (void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command RemoveFabric |
| * |
| * This command is used by Administrative Nodes to remove a given fabric index and delete all associated fabric-scoped data. |
| */ |
| -(void) removeFabricWithParams : (MTROperationalCredentialsClusterRemoveFabricParams *) params completion |
| : (void (^)(MTROperationalCredentialsClusterNOCResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command AddTrustedRootCertificate |
| * |
| * This command SHALL add a Trusted Root CA Certificate, provided as its CHIP Certificate representation. |
| */ |
| -(void) addTrustedRootCertificateWithParams : (MTROperationalCredentialsClusterAddTrustedRootCertificateParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeNOCsWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNOCsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNOCsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFabricsWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFabricsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFabricsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSupportedFabricsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedFabricsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedFabricsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCommissionedFabricsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCommissionedFabricsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCommissionedFabricsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTrustedRootCertificatesWithCompletion:(void (^)( |
| NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTrustedRootCertificatesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTrustedRootCertificatesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentFabricIndexWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentFabricIndexWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentFabricIndexWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Group Key Management |
| * |
| * The Group Key Management Cluster is the mechanism by which group keys are managed. |
| */ |
| @interface MTRBaseClusterGroupKeyManagement : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command KeySetWrite |
| * |
| * Revoke a Root Key from a Group |
| */ |
| -(void) keySetWriteWithParams : (MTRGroupKeyManagementClusterKeySetWriteParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command KeySetRead |
| * |
| * Revoke a Root Key from a Group |
| */ |
| -(void) keySetReadWithParams : (MTRGroupKeyManagementClusterKeySetReadParams *) params completion |
| : (void (^)(MTRGroupKeyManagementClusterKeySetReadResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command KeySetRemove |
| * |
| * Revoke a Root Key from a Group |
| */ |
| -(void) keySetRemoveWithParams : (MTRGroupKeyManagementClusterKeySetRemoveParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command KeySetReadAllIndices |
| * |
| * Return the list of Group Key Sets associated with the accessing fabric |
| */ |
| -(void) keySetReadAllIndicesWithParams : (MTRGroupKeyManagementClusterKeySetReadAllIndicesParams *) params completion |
| : (void (^)( |
| MTRGroupKeyManagementClusterKeySetReadAllIndicesResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeGroupKeyMapWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeGroupKeyMapWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGroupKeyMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGroupKeyMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGroupTableWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGroupTableWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGroupTableWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxGroupsPerFabricWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxGroupsPerFabricWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxGroupsPerFabricWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxGroupKeysPerFabricWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxGroupKeysPerFabricWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxGroupKeysPerFabricWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Fixed Label |
| * |
| * The Fixed Label Cluster provides a feature for the device to tag an endpoint with zero or more read only |
| labels. |
| */ |
| @interface MTRBaseClusterFixedLabel : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeLabelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLabelListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLabelListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster User Label |
| * |
| * The User Label Cluster provides a feature to tag an endpoint with zero or more labels. |
| */ |
| @interface MTRBaseClusterUserLabel : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeLabelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLabelListWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLabelListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLabelListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Boolean State |
| * |
| * This cluster provides an interface to a boolean state called StateValue. |
| */ |
| @interface MTRBaseClusterBooleanState : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeStateValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStateValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStateValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Mode Select |
| * |
| * Attributes and commands for selecting a mode from a list of supported options. |
| */ |
| @interface MTRBaseClusterModeSelect : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command ChangeToMode |
| * |
| * On receipt of this command, if the NewMode field matches the Mode field in an entry of the SupportedModes list, the server SHALL |
| * set the CurrentMode attribute to the NewMode value, otherwise, the server SHALL respond with an INVALID_COMMAND status response. |
| */ |
| -(void) changeToModeWithParams : (MTRModeSelectClusterChangeToModeParams *) params completion : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeDescriptionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDescriptionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDescriptionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStandardNamespaceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStandardNamespaceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStandardNamespaceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSupportedModesWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedModesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedModesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStartUpModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeStartUpModeWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartUpModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartUpModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOnModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOnModeWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOnModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOnModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Door Lock |
| * |
| * An interface to a generic way to secure a door |
| */ |
| @interface MTRBaseClusterDoorLock : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command LockDoor |
| * |
| * This command causes the lock device to lock the door. |
| */ |
| -(void) lockDoorWithParams : (MTRDoorLockClusterLockDoorParams * _Nullable) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command UnlockDoor |
| * |
| * This command causes the lock device to unlock the door. |
| */ |
| -(void) unlockDoorWithParams : (MTRDoorLockClusterUnlockDoorParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command UnlockWithTimeout |
| * |
| * This command causes the lock device to unlock the door with a timeout parameter. |
| */ |
| -(void) unlockWithTimeoutWithParams : (MTRDoorLockClusterUnlockWithTimeoutParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command SetWeekDaySchedule |
| * |
| * Set a weekly repeating schedule for a specified user. |
| */ |
| -(void) setWeekDayScheduleWithParams : (MTRDoorLockClusterSetWeekDayScheduleParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GetWeekDaySchedule |
| * |
| * Retrieve the specific weekly schedule for the specific user. |
| */ |
| -(void) getWeekDayScheduleWithParams : (MTRDoorLockClusterGetWeekDayScheduleParams *) params completion |
| : (void (^)(MTRDoorLockClusterGetWeekDayScheduleResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ClearWeekDaySchedule |
| * |
| * Clear the specific weekly schedule or all weekly schedules for the specific user. |
| */ |
| -(void) clearWeekDayScheduleWithParams : (MTRDoorLockClusterClearWeekDayScheduleParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command SetYearDaySchedule |
| * |
| * Set a time-specific schedule ID for a specified user. |
| */ |
| -(void) setYearDayScheduleWithParams : (MTRDoorLockClusterSetYearDayScheduleParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GetYearDaySchedule |
| * |
| * Returns the year day schedule data for the specified schedule and user indexes. |
| */ |
| -(void) getYearDayScheduleWithParams : (MTRDoorLockClusterGetYearDayScheduleParams *) params completion |
| : (void (^)(MTRDoorLockClusterGetYearDayScheduleResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ClearYearDaySchedule |
| * |
| * Clears the specific year day schedule or all year day schedules for the specific user. |
| */ |
| -(void) clearYearDayScheduleWithParams : (MTRDoorLockClusterClearYearDayScheduleParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command SetHolidaySchedule |
| * |
| * Set the holiday Schedule by specifying local start time and local end time with respect to any Lock Operating Mode. |
| */ |
| -(void) setHolidayScheduleWithParams : (MTRDoorLockClusterSetHolidayScheduleParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GetHolidaySchedule |
| * |
| * Get the holiday schedule for the specified index. |
| */ |
| -(void) getHolidayScheduleWithParams : (MTRDoorLockClusterGetHolidayScheduleParams *) params completion |
| : (void (^)(MTRDoorLockClusterGetHolidayScheduleResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ClearHolidaySchedule |
| * |
| * Clears the holiday schedule or all holiday schedules. |
| */ |
| -(void) clearHolidayScheduleWithParams : (MTRDoorLockClusterClearHolidayScheduleParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command SetUser |
| * |
| * Set User into the lock. |
| */ |
| -(void) setUserWithParams : (MTRDoorLockClusterSetUserParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GetUser |
| * |
| * Retrieve User. |
| */ |
| -(void) getUserWithParams : (MTRDoorLockClusterGetUserParams *) params completion |
| : (void (^)(MTRDoorLockClusterGetUserResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ClearUser |
| * |
| * Clears a User or all Users. |
| */ |
| -(void) clearUserWithParams : (MTRDoorLockClusterClearUserParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command SetCredential |
| * |
| * Set a credential (e.g. PIN, RFID, Fingerprint, etc.) into the lock for a new user, existing user, or ProgrammingUser. |
| */ |
| -(void) setCredentialWithParams : (MTRDoorLockClusterSetCredentialParams *) params completion |
| : (void (^)(MTRDoorLockClusterSetCredentialResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command GetCredentialStatus |
| * |
| * Retrieve the status of a particular credential (e.g. PIN, RFID, Fingerprint, etc.) by index. |
| */ |
| -(void) getCredentialStatusWithParams : (MTRDoorLockClusterGetCredentialStatusParams *) params completion |
| : (void (^)(MTRDoorLockClusterGetCredentialStatusResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ClearCredential |
| * |
| * Clear one, one type, or all credentials except ProgrammingPIN credential. |
| */ |
| -(void) clearCredentialWithParams : (MTRDoorLockClusterClearCredentialParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeLockStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLockStateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLockStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLockTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLockTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLockTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActuatorEnabledWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActuatorEnabledWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActuatorEnabledWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDoorStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDoorStateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDoorStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDoorOpenEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeDoorOpenEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDoorOpenEventsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDoorOpenEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDoorClosedEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeDoorClosedEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDoorClosedEventsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDoorClosedEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOpenPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOpenPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOpenPeriodWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOpenPeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfTotalUsersSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfTotalUsersSupportedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfTotalUsersSupportedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfPINUsersSupportedWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfPINUsersSupportedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfPINUsersSupportedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfRFIDUsersSupportedWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfRFIDUsersSupportedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfRFIDUsersSupportedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfWeekDaySchedulesSupportedPerUserWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfWeekDaySchedulesSupportedPerUserWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfYearDaySchedulesSupportedPerUserWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfYearDaySchedulesSupportedPerUserWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfHolidaySchedulesSupportedWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfHolidaySchedulesSupportedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfHolidaySchedulesSupportedWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxPINCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxPINCodeLengthWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxPINCodeLengthWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinPINCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinPINCodeLengthWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinPINCodeLengthWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxRFIDCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxRFIDCodeLengthWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxRFIDCodeLengthWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinRFIDCodeLengthWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinRFIDCodeLengthWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinRFIDCodeLengthWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCredentialRulesSupportWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCredentialRulesSupportWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCredentialRulesSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfCredentialsSupportedPerUserWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfCredentialsSupportedPerUserWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfCredentialsSupportedPerUserWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLanguageWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLanguageWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLanguageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLanguageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLEDSettingsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLEDSettingsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLEDSettingsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLEDSettingsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAutoRelockTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeAutoRelockTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAutoRelockTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAutoRelockTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSoundVolumeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeSoundVolumeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSoundVolumeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSoundVolumeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOperatingModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOperatingModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOperatingModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOperatingModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSupportedOperatingModesWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedOperatingModesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedOperatingModesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDefaultConfigurationRegisterWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDefaultConfigurationRegisterWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDefaultConfigurationRegisterWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnableLocalProgrammingWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEnableLocalProgrammingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnableLocalProgrammingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnableLocalProgrammingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnableOneTouchLockingWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEnableOneTouchLockingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnableOneTouchLockingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnableOneTouchLockingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnableInsideStatusLEDWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEnableInsideStatusLEDWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnableInsideStatusLEDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnableInsideStatusLEDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnablePrivacyModeButtonWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEnablePrivacyModeButtonWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnablePrivacyModeButtonWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnablePrivacyModeButtonWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLocalProgrammingFeaturesWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLocalProgrammingFeaturesWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocalProgrammingFeaturesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocalProgrammingFeaturesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWrongCodeEntryLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeWrongCodeEntryLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWrongCodeEntryLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWrongCodeEntryLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUserCodeTemporaryDisableTimeWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeUserCodeTemporaryDisableTimeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUserCodeTemporaryDisableTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUserCodeTemporaryDisableTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSendPINOverTheAirWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeSendPINOverTheAirWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSendPINOverTheAirWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSendPINOverTheAirWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRequirePINforRemoteOperationWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRequirePINforRemoteOperationWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRequirePINforRemoteOperationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRequirePINforRemoteOperationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeExpiringUserTimeoutWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeExpiringUserTimeoutWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeExpiringUserTimeoutWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeExpiringUserTimeoutWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Window Covering |
| * |
| * Provides an interface for controlling and adjusting automatic window coverings. |
| */ |
| @interface MTRBaseClusterWindowCovering : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command UpOrOpen |
| * |
| * Moves window covering to InstalledOpenLimitLift and InstalledOpenLimitTilt |
| */ |
| -(void) upOrOpenWithParams : (MTRWindowCoveringClusterUpOrOpenParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)upOrOpenWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command DownOrClose |
| * |
| * Moves window covering to InstalledClosedLimitLift and InstalledCloseLimitTilt |
| */ |
| -(void) downOrCloseWithParams : (MTRWindowCoveringClusterDownOrCloseParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)downOrCloseWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command StopMotion |
| * |
| * Stop any adjusting of window covering |
| */ |
| -(void) stopMotionWithParams : (MTRWindowCoveringClusterStopMotionParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)stopMotionWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command GoToLiftValue |
| * |
| * Go to lift value specified |
| */ |
| -(void) goToLiftValueWithParams : (MTRWindowCoveringClusterGoToLiftValueParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GoToLiftPercentage |
| * |
| * Go to lift percentage specified |
| */ |
| -(void) goToLiftPercentageWithParams : (MTRWindowCoveringClusterGoToLiftPercentageParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GoToTiltValue |
| * |
| * Go to tilt value specified |
| */ |
| -(void) goToTiltValueWithParams : (MTRWindowCoveringClusterGoToTiltValueParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GoToTiltPercentage |
| * |
| * Go to tilt percentage specified |
| */ |
| -(void) goToTiltPercentageWithParams : (MTRWindowCoveringClusterGoToTiltPercentageParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePhysicalClosedLimitLiftWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalClosedLimitLiftWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalClosedLimitLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePhysicalClosedLimitTiltWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalClosedLimitTiltWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalClosedLimitTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentPositionLiftWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionLiftWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentPositionTiltWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionTiltWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfActuationsLiftWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfActuationsLiftWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfActuationsLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfActuationsTiltWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfActuationsTiltWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfActuationsTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeConfigStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeConfigStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeConfigStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentPositionLiftPercentageWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionLiftPercentageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionLiftPercentageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentPositionTiltPercentageWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionTiltPercentageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionTiltPercentageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOperationalStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOperationalStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOperationalStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTargetPositionLiftPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTargetPositionLiftPercent100thsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTargetPositionLiftPercent100thsWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTargetPositionTiltPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTargetPositionTiltPercent100thsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTargetPositionTiltPercent100thsWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEndProductTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEndProductTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEndProductTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentPositionLiftPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionLiftPercent100thsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionLiftPercent100thsWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentPositionTiltPercent100thsWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentPositionTiltPercent100thsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentPositionTiltPercent100thsWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstalledOpenLimitLiftWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstalledOpenLimitLiftWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstalledOpenLimitLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstalledClosedLimitLiftWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstalledClosedLimitLiftWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstalledClosedLimitLiftWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstalledOpenLimitTiltWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstalledOpenLimitTiltWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstalledOpenLimitTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstalledClosedLimitTiltWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstalledClosedLimitTiltWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstalledClosedLimitTiltWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSafetyStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSafetyStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSafetyStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Barrier Control |
| * |
| * This cluster provides control of a barrier (garage door). |
| */ |
| @interface MTRBaseClusterBarrierControl : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command BarrierControlGoToPercent |
| * |
| * Command to instruct a barrier to go to a percent open state. |
| */ |
| -(void) barrierControlGoToPercentWithParams : (MTRBarrierControlClusterBarrierControlGoToPercentParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command BarrierControlStop |
| * |
| * Command that instructs the barrier to stop moving. |
| */ |
| -(void) barrierControlStopWithParams : (MTRBarrierControlClusterBarrierControlStopParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)barrierControlStopWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeBarrierMovingStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierMovingStateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierMovingStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierSafetyStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierSafetyStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierSafetyStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierCapabilitiesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierCapabilitiesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierCapabilitiesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierOpenEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBarrierOpenEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierOpenEventsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierOpenEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierCloseEventsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBarrierCloseEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierCloseEventsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierCloseEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierCommandOpenEventsWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBarrierCommandOpenEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierCommandOpenEventsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierCommandOpenEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierCommandCloseEventsWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBarrierCommandCloseEventsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierCommandCloseEventsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierCommandCloseEventsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierOpenPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBarrierOpenPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierOpenPeriodWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierOpenPeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierClosePeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBarrierClosePeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierClosePeriodWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierClosePeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBarrierPositionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBarrierPositionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBarrierPositionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Pump Configuration and Control |
| * |
| * An interface for configuring and controlling pumps. |
| */ |
| @interface MTRBaseClusterPumpConfigurationAndControl : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMaxPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxPressureWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxSpeedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxFlowWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxFlowWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinConstPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinConstPressureWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinConstPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxConstPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxConstPressureWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxConstPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinCompPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinCompPressureWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinCompPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxCompPressureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxCompPressureWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxCompPressureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinConstSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinConstSpeedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinConstSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxConstSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxConstSpeedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxConstSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinConstFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinConstFlowWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinConstFlowWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxConstFlowWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxConstFlowWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxConstFlowWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinConstTempWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinConstTempWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinConstTempWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxConstTempWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxConstTempWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxConstTempWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePumpStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePumpStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePumpStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEffectiveOperationModeWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEffectiveOperationModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEffectiveOperationModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEffectiveControlModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEffectiveControlModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEffectiveControlModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCapacityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCapacityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSpeedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLifetimeRunningHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLifetimeRunningHoursWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLifetimeRunningHoursWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLifetimeRunningHoursWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLifetimeEnergyConsumedWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLifetimeEnergyConsumedWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLifetimeEnergyConsumedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLifetimeEnergyConsumedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOperationModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOperationModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOperationModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOperationModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeControlModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeControlModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeControlModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeControlModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Thermostat |
| * |
| * An interface for configuring and controlling the functionality of a thermostat. |
| */ |
| @interface MTRBaseClusterThermostat : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command SetpointRaiseLower |
| * |
| * Command description for SetpointRaiseLower |
| */ |
| -(void) setpointRaiseLowerWithParams : (MTRThermostatClusterSetpointRaiseLowerParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command SetWeeklySchedule |
| * |
| * Command description for SetWeeklySchedule |
| */ |
| -(void) setWeeklyScheduleWithParams : (MTRThermostatClusterSetWeeklyScheduleParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command GetWeeklySchedule |
| * |
| * Command description for GetWeeklySchedule |
| */ |
| -(void) getWeeklyScheduleWithParams : (MTRThermostatClusterGetWeeklyScheduleParams *) params completion |
| : (void (^)(MTRThermostatClusterGetWeeklyScheduleResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ClearWeeklySchedule |
| * |
| * The Clear Weekly Schedule command is used to clear the weekly schedule. |
| */ |
| -(void) clearWeeklyScheduleWithParams : (MTRThermostatClusterClearWeeklyScheduleParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)clearWeeklyScheduleWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeLocalTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocalTemperatureWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocalTemperatureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOutdoorTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOutdoorTemperatureWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOutdoorTemperatureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOccupancyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupancyWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupancyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAbsMinHeatSetpointLimitWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAbsMinHeatSetpointLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAbsMinHeatSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAbsMaxHeatSetpointLimitWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAbsMaxHeatSetpointLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAbsMaxHeatSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAbsMinCoolSetpointLimitWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAbsMinCoolSetpointLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAbsMinCoolSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAbsMaxCoolSetpointLimitWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAbsMaxCoolSetpointLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAbsMaxCoolSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePICoolingDemandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePICoolingDemandWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePICoolingDemandWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePIHeatingDemandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePIHeatingDemandWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePIHeatingDemandWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeHVACSystemTypeConfigurationWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeHVACSystemTypeConfigurationWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHVACSystemTypeConfigurationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHVACSystemTypeConfigurationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLocalTemperatureCalibrationWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLocalTemperatureCalibrationWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLocalTemperatureCalibrationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLocalTemperatureCalibrationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOccupiedCoolingSetpointWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedCoolingSetpointWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedCoolingSetpointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOccupiedHeatingSetpointWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedHeatingSetpointWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedHeatingSetpointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUnoccupiedCoolingSetpointWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeUnoccupiedCoolingSetpointWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedCoolingSetpointWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedCoolingSetpointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUnoccupiedHeatingSetpointWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeUnoccupiedHeatingSetpointWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedHeatingSetpointWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedHeatingSetpointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeMinHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinHeatSetpointLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinHeatSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxHeatSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeMaxHeatSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxHeatSetpointLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxHeatSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeMinCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinCoolSetpointLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinCoolSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxCoolSetpointLimitWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeMaxCoolSetpointLimitWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxCoolSetpointLimitWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxCoolSetpointLimitWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinSetpointDeadBandWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeMinSetpointDeadBandWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinSetpointDeadBandWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinSetpointDeadBandWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRemoteSensingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRemoteSensingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRemoteSensingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRemoteSensingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeControlSequenceOfOperationWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeControlSequenceOfOperationWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeControlSequenceOfOperationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeControlSequenceOfOperationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSystemModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeSystemModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSystemModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSystemModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeThermostatRunningModeWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeThermostatRunningModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeThermostatRunningModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStartOfWeekWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartOfWeekWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartOfWeekWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfWeeklyTransitionsWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfWeeklyTransitionsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfWeeklyTransitionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfDailyTransitionsWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfDailyTransitionsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfDailyTransitionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTemperatureSetpointHoldWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeTemperatureSetpointHoldWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTemperatureSetpointHoldWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTemperatureSetpointHoldWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTemperatureSetpointHoldDurationWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Nullable)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeTemperatureSetpointHoldDurationWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTemperatureSetpointHoldDurationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTemperatureSetpointHoldDurationWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeThermostatProgrammingOperationModeWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeThermostatProgrammingOperationModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeThermostatProgrammingOperationModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeThermostatProgrammingOperationModeWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeThermostatRunningStateWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeThermostatRunningStateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeThermostatRunningStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSetpointChangeSourceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSetpointChangeSourceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSetpointChangeSourceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSetpointChangeAmountWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSetpointChangeAmountWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSetpointChangeAmountWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSetpointChangeSourceTimestampWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSetpointChangeSourceTimestampWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSetpointChangeSourceTimestampWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOccupiedSetbackWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOccupiedSetbackWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedSetbackWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedSetbackWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOccupiedSetbackMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedSetbackMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedSetbackMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOccupiedSetbackMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupiedSetbackMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupiedSetbackMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUnoccupiedSetbackWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeUnoccupiedSetbackWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedSetbackWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedSetbackWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUnoccupiedSetbackMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedSetbackMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedSetbackMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUnoccupiedSetbackMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnoccupiedSetbackMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnoccupiedSetbackMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEmergencyHeatDeltaWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEmergencyHeatDeltaWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEmergencyHeatDeltaWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEmergencyHeatDeltaWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeACTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeACTypeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeACCapacityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeACCapacityWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeACCapacityWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACCapacityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACCapacityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeACRefrigerantTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeACRefrigerantTypeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeACRefrigerantTypeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACRefrigerantTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACRefrigerantTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeACCompressorTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeACCompressorTypeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeACCompressorTypeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACCompressorTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACCompressorTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeACErrorCodeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeACErrorCodeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeACErrorCodeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACErrorCodeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACErrorCodeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeACLouverPositionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeACLouverPositionWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeACLouverPositionWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACLouverPositionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACLouverPositionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeACCoilTemperatureWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACCoilTemperatureWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACCoilTemperatureWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeACCapacityformatWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeACCapacityformatWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeACCapacityformatWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeACCapacityformatWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeACCapacityformatWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Fan Control |
| * |
| * An interface for controlling a fan in a heating/cooling system. |
| */ |
| @interface MTRBaseClusterFanControl : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeFanModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeFanModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFanModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFanModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFanModeSequenceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeFanModeSequenceWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeFanModeSequenceWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFanModeSequenceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFanModeSequenceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePercentSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributePercentSettingWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributePercentSettingWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePercentSettingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePercentSettingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePercentCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePercentCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePercentCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSpeedMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSpeedMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSpeedMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSpeedSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeSpeedSettingWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeSpeedSettingWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSpeedSettingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSpeedSettingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSpeedCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSpeedCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSpeedCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRockSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRockSupportWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRockSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRockSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeRockSettingWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRockSettingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRockSettingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRockSettingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWindSupportWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWindSupportWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWindSupportWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWindSettingWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeWindSettingWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeWindSettingWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWindSettingWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWindSettingWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Thermostat User Interface Configuration |
| * |
| * An interface for configuring the user interface of a thermostat (which may be remote from the thermostat). |
| */ |
| @interface MTRBaseClusterThermostatUserInterfaceConfiguration : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeTemperatureDisplayModeWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeTemperatureDisplayModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeTemperatureDisplayModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTemperatureDisplayModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTemperatureDisplayModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeKeypadLockoutWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeKeypadLockoutWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeKeypadLockoutWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeKeypadLockoutWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeKeypadLockoutWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeScheduleProgrammingVisibilityWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeScheduleProgrammingVisibilityWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScheduleProgrammingVisibilityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScheduleProgrammingVisibilityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Color Control |
| * |
| * Attributes and commands for controlling the color properties of a color-capable light. |
| */ |
| @interface MTRBaseClusterColorControl : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command MoveToHue |
| * |
| * Move to specified hue. |
| */ |
| -(void) moveToHueWithParams : (MTRColorControlClusterMoveToHueParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveHue |
| * |
| * Move hue up or down at specified rate. |
| */ |
| -(void) moveHueWithParams : (MTRColorControlClusterMoveHueParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StepHue |
| * |
| * Step hue up or down by specified size at specified rate. |
| */ |
| -(void) stepHueWithParams : (MTRColorControlClusterStepHueParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveToSaturation |
| * |
| * Move to specified saturation. |
| */ |
| -(void) moveToSaturationWithParams : (MTRColorControlClusterMoveToSaturationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveSaturation |
| * |
| * Move saturation up or down at specified rate. |
| */ |
| -(void) moveSaturationWithParams : (MTRColorControlClusterMoveSaturationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StepSaturation |
| * |
| * Step saturation up or down by specified size at specified rate. |
| */ |
| -(void) stepSaturationWithParams : (MTRColorControlClusterStepSaturationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveToHueAndSaturation |
| * |
| * Move to hue and saturation. |
| */ |
| -(void) moveToHueAndSaturationWithParams : (MTRColorControlClusterMoveToHueAndSaturationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveToColor |
| * |
| * Move to specified color. |
| */ |
| -(void) moveToColorWithParams : (MTRColorControlClusterMoveToColorParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveColor |
| * |
| * Moves the color. |
| */ |
| -(void) moveColorWithParams : (MTRColorControlClusterMoveColorParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StepColor |
| * |
| * Steps the lighting to a specific color. |
| */ |
| -(void) stepColorWithParams : (MTRColorControlClusterStepColorParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveToColorTemperature |
| * |
| * Move to a specific color temperature. |
| */ |
| -(void) moveToColorTemperatureWithParams : (MTRColorControlClusterMoveToColorTemperatureParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command EnhancedMoveToHue |
| * |
| * Command description for EnhancedMoveToHue |
| */ |
| -(void) enhancedMoveToHueWithParams : (MTRColorControlClusterEnhancedMoveToHueParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command EnhancedMoveHue |
| * |
| * Command description for EnhancedMoveHue |
| */ |
| -(void) enhancedMoveHueWithParams : (MTRColorControlClusterEnhancedMoveHueParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command EnhancedStepHue |
| * |
| * Command description for EnhancedStepHue |
| */ |
| -(void) enhancedStepHueWithParams : (MTRColorControlClusterEnhancedStepHueParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command EnhancedMoveToHueAndSaturation |
| * |
| * Command description for EnhancedMoveToHueAndSaturation |
| */ |
| -(void) enhancedMoveToHueAndSaturationWithParams : (MTRColorControlClusterEnhancedMoveToHueAndSaturationParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command ColorLoopSet |
| * |
| * Command description for ColorLoopSet |
| */ |
| -(void) colorLoopSetWithParams : (MTRColorControlClusterColorLoopSetParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StopMoveStep |
| * |
| * Command description for StopMoveStep |
| */ |
| -(void) stopMoveStepWithParams : (MTRColorControlClusterStopMoveStepParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command MoveColorTemperature |
| * |
| * Command description for MoveColorTemperature |
| */ |
| -(void) moveColorTemperatureWithParams : (MTRColorControlClusterMoveColorTemperatureParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command StepColorTemperature |
| * |
| * Command description for StepColorTemperature |
| */ |
| -(void) stepColorTemperatureWithParams : (MTRColorControlClusterStepColorTemperatureParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeCurrentHueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentHueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentHueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentSaturationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentSaturationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentSaturationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRemainingTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRemainingTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRemainingTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentXWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentYWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDriftCompensationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDriftCompensationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDriftCompensationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCompensationTextWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCompensationTextWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCompensationTextWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorTemperatureMiredsWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorTemperatureMiredsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorTemperatureMiredsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOptionsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOptionsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOptionsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOptionsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNumberOfPrimariesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNumberOfPrimariesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNumberOfPrimariesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary1XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary1XWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary1XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary1YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary1YWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary1YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary1IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary1IntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary1IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary2XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary2XWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary2XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary2YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary2YWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary2YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary2IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary2IntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary2IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary3XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary3XWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary3XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary3YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary3YWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary3YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary3IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary3IntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary3IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary4XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary4XWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary4XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary4YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary4YWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary4YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary4IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary4IntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary4IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary5XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary5XWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary5XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary5YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary5YWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary5YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary5IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary5IntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary5IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary6XWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary6XWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary6XWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary6YWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary6YWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary6YWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePrimary6IntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePrimary6IntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePrimary6IntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWhitePointXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeWhitePointXWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeWhitePointXWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWhitePointXWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWhitePointXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWhitePointYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeWhitePointYWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeWhitePointYWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWhitePointYWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWhitePointYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointRXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointRXWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointRXWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointRXWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointRXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointRYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointRYWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointRYWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointRYWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointRYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointRIntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointRIntensityWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointRIntensityWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointRIntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointRIntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointGXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointGXWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointGXWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointGXWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointGXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointGYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointGYWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointGYWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointGYWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointGYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointGIntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointGIntensityWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointGIntensityWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointGIntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointGIntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointBXWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointBXWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointBXWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointBXWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointBXWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointBYWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointBYWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointBYWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointBYWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointBYWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorPointBIntensityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeColorPointBIntensityWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeColorPointBIntensityWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorPointBIntensityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorPointBIntensityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnhancedCurrentHueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnhancedCurrentHueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnhancedCurrentHueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnhancedColorModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnhancedColorModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnhancedColorModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorLoopActiveWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopActiveWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopActiveWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorLoopDirectionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopDirectionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopDirectionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorLoopTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorLoopStartEnhancedHueWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopStartEnhancedHueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopStartEnhancedHueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorLoopStoredEnhancedHueWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorLoopStoredEnhancedHueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorLoopStoredEnhancedHueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorCapabilitiesWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorCapabilitiesWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorCapabilitiesWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorTempPhysicalMinMiredsWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorTempPhysicalMinMiredsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorTempPhysicalMinMiredsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeColorTempPhysicalMaxMiredsWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeColorTempPhysicalMaxMiredsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeColorTempPhysicalMaxMiredsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCoupleColorTempToLevelMinMiredsWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCoupleColorTempToLevelMinMiredsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCoupleColorTempToLevelMinMiredsWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStartUpColorTemperatureMiredsWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeStartUpColorTemperatureMiredsWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartUpColorTemperatureMiredsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartUpColorTemperatureMiredsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Ballast Configuration |
| * |
| * Attributes and commands for configuring a lighting ballast. |
| */ |
| @interface MTRBaseClusterBallastConfiguration : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributePhysicalMinLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalMinLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalMinLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePhysicalMaxLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalMaxLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalMaxLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBallastStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBallastStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBallastStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeMinLevelWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeMinLevelWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxLevelWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeMaxLevelWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeMaxLevelWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxLevelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxLevelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeIntrinsicBalanceFactorWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeIntrinsicBalanceFactorWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeIntrinsicBalanceFactorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeIntrinsicBalanceFactorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBallastFactorAdjustmentWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBallastFactorAdjustmentWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBallastFactorAdjustmentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBallastFactorAdjustmentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLampQuantityWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampQuantityWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampQuantityWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLampTypeWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLampTypeWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLampTypeWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLampManufacturerWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLampManufacturerWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLampManufacturerWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampManufacturerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampManufacturerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLampRatedHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLampRatedHoursWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLampRatedHoursWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampRatedHoursWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampRatedHoursWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLampBurnHoursWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLampBurnHoursWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLampBurnHoursWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampBurnHoursWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampBurnHoursWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLampAlarmModeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLampAlarmModeWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLampAlarmModeWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampAlarmModeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampAlarmModeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLampBurnHoursTripPointWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLampBurnHoursTripPointWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLampBurnHoursTripPointWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLampBurnHoursTripPointWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Illuminance Measurement |
| * |
| * Attributes and commands for configuring the measurement of illuminance, and reporting illuminance measurements. |
| */ |
| @interface MTRBaseClusterIlluminanceMeasurement : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLightSensorTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLightSensorTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLightSensorTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Temperature Measurement |
| * |
| * Attributes and commands for configuring the measurement of temperature, and reporting temperature measurements. |
| */ |
| @interface MTRBaseClusterTemperatureMeasurement : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Pressure Measurement |
| * |
| * Attributes and commands for configuring the measurement of pressure, and reporting pressure measurements. |
| */ |
| @interface MTRBaseClusterPressureMeasurement : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeScaledValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScaledValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScaledValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinScaledValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinScaledValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinScaledValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxScaledValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxScaledValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxScaledValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeScaledToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScaledToleranceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScaledToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeScaleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeScaleWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeScaleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Flow Measurement |
| * |
| * Attributes and commands for configuring the measurement of flow, and reporting flow measurements. |
| */ |
| @interface MTRBaseClusterFlowMeasurement : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Relative Humidity Measurement |
| * |
| * Attributes and commands for configuring the measurement of relative humidity, and reporting relative humidity measurements. |
| */ |
| @interface MTRBaseClusterRelativeHumidityMeasurement : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMinMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMinMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMinMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMaxMeasuredValueWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMaxMeasuredValueWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMaxMeasuredValueWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeToleranceWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeToleranceWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeToleranceWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Occupancy Sensing |
| * |
| * Attributes and commands for configuring occupancy sensing, and reporting occupancy status. |
| */ |
| @interface MTRBaseClusterOccupancySensing : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeOccupancyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupancyWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupancyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOccupancySensorTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupancySensorTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupancySensorTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOccupancySensorTypeBitmapWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOccupancySensorTypeBitmapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOccupancySensorTypeBitmapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePIROccupiedToUnoccupiedDelayWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributePIROccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributePIROccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePIROccupiedToUnoccupiedDelayWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePIROccupiedToUnoccupiedDelayWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePIRUnoccupiedToOccupiedDelayWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributePIRUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributePIRUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePIRUnoccupiedToOccupiedDelayWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePIRUnoccupiedToOccupiedDelayWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePIRUnoccupiedToOccupiedThresholdWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributePIRUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePIRUnoccupiedToOccupiedThresholdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePIRUnoccupiedToOccupiedThresholdWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeUltrasonicOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUltrasonicOccupiedToUnoccupiedDelayWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUltrasonicOccupiedToUnoccupiedDelayWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeUltrasonicUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUltrasonicUnoccupiedToOccupiedDelayWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUltrasonicUnoccupiedToOccupiedDelayWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUltrasonicUnoccupiedToOccupiedThresholdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUltrasonicUnoccupiedToOccupiedThresholdWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributePhysicalContactOccupiedToUnoccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalContactOccupiedToUnoccupiedDelayWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalContactOccupiedToUnoccupiedDelayWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributePhysicalContactUnoccupiedToOccupiedDelayWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalContactUnoccupiedToOccupiedDelayWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalContactUnoccupiedToOccupiedDelayWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhysicalContactUnoccupiedToOccupiedThresholdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhysicalContactUnoccupiedToOccupiedThresholdWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Wake on LAN |
| * |
| * This cluster provides an interface for managing low power mode on a device that supports the Wake On LAN protocol. |
| */ |
| @interface MTRBaseClusterWakeOnLAN : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeMACAddressWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMACAddressWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMACAddressWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Channel |
| * |
| * This cluster provides an interface for controlling the current Channel on a device. |
| */ |
| @interface MTRBaseClusterChannel : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command ChangeChannel |
| * |
| * Change the channel on the media player to the channel case-insensitive exact matching the value passed as an argument. |
| */ |
| -(void) changeChannelWithParams : (MTRChannelClusterChangeChannelParams *) params completion |
| : (void (^)(MTRChannelClusterChangeChannelResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command ChangeChannelByNumber |
| * |
| * Change the channel on the media plaeyer to the channel with the given Number in the ChannelList attribute. |
| */ |
| -(void) changeChannelByNumberWithParams : (MTRChannelClusterChangeChannelByNumberParams *) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command SkipChannel |
| * |
| * This command provides channel up and channel down functionality, but allows channel index jumps of size Count. When the value of |
| * the increase or decrease is larger than the number of channels remaining in the given direction, then the behavior SHALL be to |
| * return to the beginning (or end) of the channel list and continue. For example, if the current channel is at index 0 and count |
| * value of -1 is given, then the current channel should change to the last channel. |
| */ |
| -(void) skipChannelWithParams : (MTRChannelClusterSkipChannelParams *) params completion : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeChannelListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeChannelListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeChannelListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLineupWithCompletion:(void (^)( |
| MTRChannelClusterLineupInfo * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLineupWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(MTRChannelClusterLineupInfo * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLineupWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(MTRChannelClusterLineupInfo * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentChannelWithCompletion:(void (^)(MTRChannelClusterChannelInfo * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentChannelWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(MTRChannelClusterChannelInfo * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentChannelWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(MTRChannelClusterChannelInfo * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Target Navigator |
| * |
| * This cluster provides an interface for UX navigation within a set of targets on a device or endpoint. |
| */ |
| @interface MTRBaseClusterTargetNavigator : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command NavigateTarget |
| * |
| * Upon receipt, this SHALL navigation the UX to the target identified. |
| */ |
| -(void) navigateTargetWithParams : (MTRTargetNavigatorClusterNavigateTargetParams *) params completion |
| : (void (^)(MTRTargetNavigatorClusterNavigateTargetResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeTargetListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTargetListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTargetListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentTargetWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentTargetWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentTargetWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Media Playback |
| * |
| * This cluster provides an interface for controlling Media Playback (PLAY, PAUSE, etc) on a media device such as a TV or Speaker. |
| */ |
| @interface MTRBaseClusterMediaPlayback : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command Play |
| * |
| * Upon receipt, this SHALL play media. |
| */ |
| -(void) playWithParams : (MTRMediaPlaybackClusterPlayParams * _Nullable) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)playWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command Pause |
| * |
| * Upon receipt, this SHALL pause media. |
| */ |
| -(void) pauseWithParams : (MTRMediaPlaybackClusterPauseParams * _Nullable) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)pauseWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command StopPlayback |
| * |
| * Upon receipt, this SHALL stop media. User experience is context-specific. This will often navigate the user back to the location |
| * where media was originally launched. |
| */ |
| -(void) stopPlaybackWithParams : (MTRMediaPlaybackClusterStopPlaybackParams * _Nullable) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)stopPlaybackWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command StartOver |
| * |
| * Upon receipt, this SHALL Start Over with the current media playback item. |
| */ |
| -(void) startOverWithParams : (MTRMediaPlaybackClusterStartOverParams * _Nullable) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)startOverWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command Previous |
| * |
| * Upon receipt, this SHALL cause the handler to be invoked for "Previous". User experience is context-specific. This will often Go |
| * back to the previous media playback item. |
| */ |
| -(void) previousWithParams : (MTRMediaPlaybackClusterPreviousParams * _Nullable) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)previousWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command Next |
| * |
| * Upon receipt, this SHALL cause the handler to be invoked for "Next". User experience is context-specific. This will often Go |
| * forward to the next media playback item. |
| */ |
| -(void) nextWithParams : (MTRMediaPlaybackClusterNextParams * _Nullable) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)nextWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command Rewind |
| * |
| * Upon receipt, this SHALL Rewind through media. Different Rewind speeds can be used on the TV based upon the number of sequential |
| * calls to this function. This is to avoid needing to define every speed now (multiple fast, slow motion, etc). |
| */ |
| -(void) rewindWithParams : (MTRMediaPlaybackClusterRewindParams * _Nullable) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)rewindWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command FastForward |
| * |
| * Upon receipt, this SHALL Advance through media. Different FF speeds can be used on the TV based upon the number of sequential |
| * calls to this function. This is to avoid needing to define every speed now (multiple fast, slow motion, etc). |
| */ |
| -(void) fastForwardWithParams : (MTRMediaPlaybackClusterFastForwardParams * _Nullable) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)fastForwardWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command SkipForward |
| * |
| * Upon receipt, this SHALL Skip forward in the media by the given number of seconds, using the data as follows: |
| */ |
| -(void) skipForwardWithParams : (MTRMediaPlaybackClusterSkipForwardParams *) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command SkipBackward |
| * |
| * Upon receipt, this SHALL Skip backward in the media by the given number of seconds, using the data as follows: |
| */ |
| -(void) skipBackwardWithParams : (MTRMediaPlaybackClusterSkipBackwardParams *) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command Seek |
| * |
| * Upon receipt, this SHALL Skip backward in the media by the given number of seconds, using the data as follows: |
| */ |
| -(void) seekWithParams : (MTRMediaPlaybackClusterSeekParams *) params completion |
| : (void (^)(MTRMediaPlaybackClusterPlaybackResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeCurrentStateWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentStateWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentStateWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStartTimeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStartTimeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStartTimeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDurationWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDurationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDurationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSampledPositionWithCompletion:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSampledPositionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSampledPositionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(MTRMediaPlaybackClusterPlaybackPosition * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePlaybackSpeedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePlaybackSpeedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePlaybackSpeedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSeekRangeEndWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSeekRangeEndWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSeekRangeEndWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSeekRangeStartWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSeekRangeStartWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSeekRangeStartWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Media Input |
| * |
| * This cluster provides an interface for controlling the Input Selector on a media device such as a TV. |
| */ |
| @interface MTRBaseClusterMediaInput : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command SelectInput |
| * |
| * Upon receipt, this SHALL change the input on the media device to the input at a specific index in the Input List. |
| */ |
| -(void) selectInputWithParams : (MTRMediaInputClusterSelectInputParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command ShowInputStatus |
| * |
| * Upon receipt, this SHALL display the active status of the input list on screen. |
| */ |
| -(void) showInputStatusWithParams : (MTRMediaInputClusterShowInputStatusParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)showInputStatusWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command HideInputStatus |
| * |
| * Upon receipt, this SHALL hide the input list from the screen. |
| */ |
| -(void) hideInputStatusWithParams : (MTRMediaInputClusterHideInputStatusParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)hideInputStatusWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command RenameInput |
| * |
| * Upon receipt, this SHALL rename the input at a specific index in the Input List. Updates to the input name SHALL appear in the TV |
| * settings menus. |
| */ |
| -(void) renameInputWithParams : (MTRMediaInputClusterRenameInputParams *) params completion : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeInputListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInputListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInputListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentInputWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentInputWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentInputWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Low Power |
| * |
| * This cluster provides an interface for managing low power mode on a device. |
| */ |
| @interface MTRBaseClusterLowPower : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command Sleep |
| * |
| * This command shall put the device into low power mode. |
| */ |
| -(void) sleepWithParams : (MTRLowPowerClusterSleepParams * _Nullable) params completion : (MTRStatusCompletion) completion; |
| - (void)sleepWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Keypad Input |
| * |
| * This cluster provides an interface for controlling a device like a TV using action commands such as UP, DOWN, and SELECT. |
| */ |
| @interface MTRBaseClusterKeypadInput : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command SendKey |
| * |
| * Upon receipt, this SHALL process a keycode as input to the media device. |
| */ |
| -(void) sendKeyWithParams : (MTRKeypadInputClusterSendKeyParams *) params completion |
| : (void (^)(MTRKeypadInputClusterSendKeyResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Content Launcher |
| * |
| * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. |
| */ |
| @interface MTRBaseClusterContentLauncher : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command LaunchContent |
| * |
| * Upon receipt, this SHALL launch the specified content with optional search criteria. |
| */ |
| -(void) launchContentWithParams : (MTRContentLauncherClusterLaunchContentParams *) params completion |
| : (void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command LaunchURL |
| * |
| * Upon receipt, this SHALL launch content from the specified URL. |
| */ |
| -(void) launchURLWithParams : (MTRContentLauncherClusterLaunchURLParams *) params completion |
| : (void (^)(MTRContentLauncherClusterLaunchResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeAcceptHeaderWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptHeaderWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptHeaderWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeSupportedStreamingProtocolsWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeSupportedStreamingProtocolsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeSupportedStreamingProtocolsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeSupportedStreamingProtocolsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Audio Output |
| * |
| * This cluster provides an interface for controlling the Output on a media device such as a TV. |
| */ |
| @interface MTRBaseClusterAudioOutput : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command SelectOutput |
| * |
| * Upon receipt, this SHALL change the output on the media device to the output at a specific index in the Output List. |
| */ |
| -(void) selectOutputWithParams : (MTRAudioOutputClusterSelectOutputParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command RenameOutput |
| * |
| * Upon receipt, this SHALL rename the output at a specific index in the Output List. Updates to the output name SHALL appear in the |
| * TV settings menus. |
| */ |
| -(void) renameOutputWithParams : (MTRAudioOutputClusterRenameOutputParams *) params completion : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeOutputListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOutputListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOutputListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentOutputWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentOutputWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentOutputWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Application Launcher |
| * |
| * This cluster provides an interface for launching content on a media player device such as a TV or Speaker. |
| */ |
| @interface MTRBaseClusterApplicationLauncher : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command LaunchApp |
| * |
| * Upon receipt, this SHALL launch the specified app with optional data. The TV Device SHALL launch and bring to foreground the |
| * identified application in the command if the application is not already launched and in foreground. The TV Device SHALL update |
| * state attribute on the Application Basic cluster of the Endpoint corresponding to the launched application. This command returns |
| * a Launch Response. |
| */ |
| -(void) launchAppWithParams : (MTRApplicationLauncherClusterLaunchAppParams *) params completion |
| : (void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command StopApp |
| * |
| * Upon receipt on a Video Player endpoint this SHALL stop the specified application if it is running. |
| */ |
| -(void) stopAppWithParams : (MTRApplicationLauncherClusterStopAppParams *) params completion |
| : (void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command HideApp |
| * |
| * Upon receipt on a Video Player endpoint this SHALL hide the specified application if it is running and visible. |
| */ |
| -(void) hideAppWithParams : (MTRApplicationLauncherClusterHideAppParams *) params completion |
| : (void (^)(MTRApplicationLauncherClusterLauncherResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeCatalogListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCatalogListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCatalogListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentAppWithCompletion:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeCurrentAppWithValue:(MTRApplicationLauncherClusterApplicationEP * _Nullable)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeCurrentAppWithValue:(MTRApplicationLauncherClusterApplicationEP * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentAppWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentAppWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(MTRApplicationLauncherClusterApplicationEP * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Application Basic |
| * |
| * This cluster provides information about an application running on a TV or media player device which is represented as an |
| * endpoint. |
| */ |
| @interface MTRBaseClusterApplicationBasic : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| - (void)readAttributeVendorNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorNameWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeVendorIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorIDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeApplicationNameWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApplicationNameWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApplicationNameWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeProductIDWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeProductIDWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeProductIDWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeApplicationWithCompletion:(void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApplicationWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApplicationWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(MTRApplicationBasicClusterApplicationBasicApplication * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStatusWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStatusWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStatusWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeApplicationVersionWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApplicationVersionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApplicationVersionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAllowedVendorListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAllowedVendorListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAllowedVendorListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Account Login |
| * |
| * This cluster provides commands that facilitate user account login on a Content App or a node. For example, a Content App running |
| * on a Video Player device, which is represented as an endpoint (see [TV Architecture]), can use this cluster to help make the user |
| * account on the Content App match the user account on the Client. |
| */ |
| @interface MTRBaseClusterAccountLogin : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command GetSetupPIN |
| * |
| * Upon receipt, the Content App checks if the account associated with the client Temp Account Identifier Rotating ID is the same |
| * acount that is active on the given Content App. If the accounts are the same, then the Content App includes the Setup PIN in the |
| * GetSetupPIN Response. |
| */ |
| -(void) getSetupPINWithParams : (MTRAccountLoginClusterGetSetupPINParams *) params completion |
| : (void (^)(MTRAccountLoginClusterGetSetupPINResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command Login |
| * |
| * Upon receipt, the Content App checks if the account associated with the client’s Temp Account Identifier (Rotating ID) has a |
| * current active Setup PIN with the given value. If the Setup PIN is valid for the user account associated with the Temp Account |
| * Identifier, then the Content App MAY make that user account active. |
| */ |
| -(void) loginWithParams : (MTRAccountLoginClusterLoginParams *) params completion : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command Logout |
| * |
| * The purpose of this command is to instruct the Content App to clear the current user account. This command SHOULD be used by |
| * clients of a Content App to indicate the end of a user session. |
| */ |
| -(void) logoutWithParams : (MTRAccountLoginClusterLogoutParams * _Nullable) params completion : (MTRStatusCompletion) completion; |
| - (void)logoutWithCompletion:(MTRStatusCompletion)completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Electrical Measurement |
| * |
| * Attributes related to the electrical properties of a device. This cluster is used by power outlets and other devices that need to |
| * provide instantaneous data as opposed to metrology data which should be retrieved from the metering cluster.. |
| */ |
| @interface MTRBaseClusterElectricalMeasurement : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command GetProfileInfoCommand |
| * |
| * A function which retrieves the power profiling information from the electrical measurement server. |
| */ |
| -(void) getProfileInfoCommandWithParams : (MTRElectricalMeasurementClusterGetProfileInfoCommandParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)getProfileInfoCommandWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command GetMeasurementProfileCommand |
| * |
| * A function which retrieves an electricity measurement profile from the electricity measurement server for a specific attribute Id |
| * requested. |
| */ |
| -(void) getMeasurementProfileCommandWithParams |
| : (MTRElectricalMeasurementClusterGetMeasurementProfileCommandParams *) params completion : (MTRStatusCompletion) completion; |
| |
| - (void)readAttributeMeasurementTypeWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasurementTypeWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasurementTypeWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcVoltageMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcVoltageMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcCurrentMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcCurrentMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcPowerMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcPowerMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcVoltageMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcVoltageDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcVoltageDivisorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcVoltageDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcCurrentMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcCurrentDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcCurrentDivisorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcCurrentDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcPowerMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeDcPowerDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeDcPowerDivisorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeDcPowerDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcFrequencyWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcFrequencyMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcFrequencyMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNeutralCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNeutralCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNeutralCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTotalActivePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTotalActivePowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTotalActivePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTotalReactivePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTotalReactivePowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTotalReactivePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTotalApparentPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTotalApparentPowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTotalApparentPowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasured1stHarmonicCurrentWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured1stHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured1stHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasured3rdHarmonicCurrentWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured3rdHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured3rdHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasured5thHarmonicCurrentWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured5thHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured5thHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasured7thHarmonicCurrentWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured7thHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured7thHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasured9thHarmonicCurrentWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured9thHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured9thHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasured11thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasured11thHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasured11thHarmonicCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasuredPhase1stHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase1stHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase1stHarmonicCurrentWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasuredPhase3rdHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase3rdHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase3rdHarmonicCurrentWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasuredPhase5thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase5thHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase5thHarmonicCurrentWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasuredPhase7thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase7thHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase7thHarmonicCurrentWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasuredPhase9thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase9thHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase9thHarmonicCurrentWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeMeasuredPhase11thHarmonicCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeMeasuredPhase11thHarmonicCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeMeasuredPhase11thHarmonicCurrentWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcFrequencyMultiplierWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcFrequencyDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcFrequencyDivisorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcFrequencyDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePowerMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePowerDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerDivisorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeHarmonicCurrentMultiplierWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeHarmonicCurrentMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeHarmonicCurrentMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributePhaseHarmonicCurrentMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePhaseHarmonicCurrentMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributePhaseHarmonicCurrentMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstantaneousVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstantaneousLineCurrentWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousLineCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousLineCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstantaneousActiveCurrentWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousActiveCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousActiveCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstantaneousReactiveCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousReactiveCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousReactiveCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInstantaneousPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInstantaneousPowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInstantaneousPowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerMinWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMinWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMinWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerMaxWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMaxWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMaxWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeReactivePowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactivePowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactivePowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeApparentPowerWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApparentPowerWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApparentPowerWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePowerFactorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerFactorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerFactorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsVoltageMeasurementPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSNumber * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeAverageRmsVoltageMeasurementPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsVoltageMeasurementPeriodWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsUnderVoltageCounterWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeAverageRmsUnderVoltageCounterWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsUnderVoltageCounterWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsUnderVoltageCounterWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsExtremeOverVoltagePeriodWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRmsExtremeOverVoltagePeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeOverVoltagePeriodWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeOverVoltagePeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsExtremeUnderVoltagePeriodWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRmsExtremeUnderVoltagePeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeUnderVoltagePeriodWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeUnderVoltagePeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageSagPeriodWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRmsVoltageSagPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSagPeriodWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSagPeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageSwellPeriodWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRmsVoltageSwellPeriodWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSwellPeriodWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSwellPeriodWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcVoltageMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcVoltageMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcVoltageMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcVoltageDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcVoltageDivisorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcVoltageDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcCurrentMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcCurrentMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcCurrentMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcCurrentDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcCurrentDivisorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcCurrentDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcPowerMultiplierWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcPowerMultiplierWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcPowerMultiplierWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcPowerDivisorWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcPowerDivisorWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcPowerDivisorWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOverloadAlarmsMaskWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOverloadAlarmsMaskWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOverloadAlarmsMaskWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeVoltageOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVoltageOverloadWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVoltageOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCurrentOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCurrentOverloadWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCurrentOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcOverloadAlarmsMaskWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeAcOverloadAlarmsMaskWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcOverloadAlarmsMaskWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcOverloadAlarmsMaskWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcVoltageOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcVoltageOverloadWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcVoltageOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcCurrentOverloadWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcCurrentOverloadWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcCurrentOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcActivePowerOverloadWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcActivePowerOverloadWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcActivePowerOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcReactivePowerOverloadWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcReactivePowerOverloadWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcReactivePowerOverloadWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsOverVoltageWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsOverVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsOverVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsUnderVoltageWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsUnderVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsUnderVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsExtremeOverVoltageWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeOverVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeOverVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsExtremeUnderVoltageWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeUnderVoltageWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeUnderVoltageWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageSagWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSagWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSagWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageSwellWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSwellWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSwellWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLineCurrentPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLineCurrentPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLineCurrentPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveCurrentPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveCurrentPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveCurrentPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeReactiveCurrentPhaseBWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactiveCurrentPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactiveCurrentPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltagePhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltagePhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltagePhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageMinPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMinPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMinPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageMaxPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMaxPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMaxPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentMinPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMinPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMinPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentMaxPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMaxPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMaxPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerMinPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMinPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMinPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerMaxPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMaxPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMaxPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeReactivePowerPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactivePowerPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactivePowerPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeApparentPowerPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApparentPowerPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApparentPowerPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePowerFactorPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerFactorPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerFactorPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseBWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsOverVoltageCounterPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsOverVoltageCounterPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsOverVoltageCounterPhaseBWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsUnderVoltageCounterPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsUnderVoltageCounterPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsUnderVoltageCounterPhaseBWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeOverVoltagePeriodPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeOverVoltagePeriodPhaseBWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseBWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageSagPeriodPhaseBWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSagPeriodPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSagPeriodPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageSwellPeriodPhaseBWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSwellPeriodPhaseBWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSwellPeriodPhaseBWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLineCurrentPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLineCurrentPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLineCurrentPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActiveCurrentPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActiveCurrentPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActiveCurrentPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeReactiveCurrentPhaseCWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactiveCurrentPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactiveCurrentPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltagePhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltagePhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltagePhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageMinPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMinPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMinPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageMaxPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageMaxPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageMaxPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentMinPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMinPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMinPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsCurrentMaxPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsCurrentMaxPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsCurrentMaxPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerMinPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMinPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMinPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeActivePowerMaxPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeActivePowerMaxPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeActivePowerMaxPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeReactivePowerPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeReactivePowerPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeReactivePowerPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeApparentPowerPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeApparentPowerPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeApparentPowerPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributePowerFactorPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributePowerFactorPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributePowerFactorPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsVoltageMeasurementPeriodPhaseCWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsOverVoltageCounterPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsOverVoltageCounterPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsOverVoltageCounterPhaseCWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAverageRmsUnderVoltageCounterPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAverageRmsUnderVoltageCounterPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAverageRmsUnderVoltageCounterPhaseCWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeOverVoltagePeriodPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeOverVoltagePeriodPhaseCWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsExtremeUnderVoltagePeriodPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsExtremeUnderVoltagePeriodPhaseCWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageSagPeriodPhaseCWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSagPeriodPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSagPeriodPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRmsVoltageSwellPeriodPhaseCWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRmsVoltageSwellPeriodPhaseCWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRmsVoltageSwellPeriodPhaseCWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (instancetype)init NS_UNAVAILABLE; |
| + (instancetype)new NS_UNAVAILABLE; |
| |
| @end |
| |
| /** |
| * Cluster Test Cluster |
| * |
| * The Test Cluster is meant to validate the generated code |
| */ |
| @interface MTRBaseClusterTestCluster : MTRCluster |
| |
| - (instancetype _Nullable)initWithDevice:(MTRBaseDevice *)device |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER; |
| |
| /** |
| * Command Test |
| * |
| * Simple command without any parameters and without a specific response |
| */ |
| -(void) testWithParams : (MTRTestClusterClusterTestParams * _Nullable) params completion : (MTRStatusCompletion) completion; |
| - (void)testWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command TestNotHandled |
| * |
| * Simple command without any parameters and without a specific response not handled by the server |
| */ |
| -(void) testNotHandledWithParams : (MTRTestClusterClusterTestNotHandledParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)testNotHandledWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command TestSpecific |
| * |
| * Simple command without any parameters and with a specific response |
| */ |
| -(void) testSpecificWithParams : (MTRTestClusterClusterTestSpecificParams * _Nullable) params completion |
| : (void (^)(MTRTestClusterClusterTestSpecificResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| - (void)testSpecificWithCompletion:(void (^)(MTRTestClusterClusterTestSpecificResponseParams * _Nullable data, |
| NSError * _Nullable error))completion; |
| |
| /** |
| * Command TestUnknownCommand |
| * |
| * Simple command that should not be added to the server. |
| */ |
| -(void) testUnknownCommandWithParams : (MTRTestClusterClusterTestUnknownCommandParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)testUnknownCommandWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command TestAddArguments |
| * |
| * Command that takes two arguments and returns their sum. |
| */ |
| -(void) testAddArgumentsWithParams : (MTRTestClusterClusterTestAddArgumentsParams *) params completion |
| : (void (^)(MTRTestClusterClusterTestAddArgumentsResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestSimpleArgumentRequest |
| * |
| * Command that takes an argument which is bool |
| */ |
| -(void) testSimpleArgumentRequestWithParams : (MTRTestClusterClusterTestSimpleArgumentRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterTestSimpleArgumentResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestStructArrayArgumentRequest |
| * |
| * Command that takes various arguments that are arrays, including an array of structs which have a list member. |
| */ |
| -(void) testStructArrayArgumentRequestWithParams : (MTRTestClusterClusterTestStructArrayArgumentRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterTestStructArrayArgumentResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestStructArgumentRequest |
| * |
| * Command that takes an argument which is struct. The response echoes the |
| 'b' field of the single arg. |
| */ |
| -(void) testStructArgumentRequestWithParams : (MTRTestClusterClusterTestStructArgumentRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestNestedStructArgumentRequest |
| * |
| * Command that takes an argument which is nested struct. The response |
| echoes the 'b' field of ar1.c. |
| */ |
| -(void) testNestedStructArgumentRequestWithParams : (MTRTestClusterClusterTestNestedStructArgumentRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestListStructArgumentRequest |
| * |
| * Command that takes an argument which is a list of structs. The response |
| returns false if there is some struct in the list whose 'b' field is |
| false, and true otherwise (including if the list is empty). |
| */ |
| -(void) testListStructArgumentRequestWithParams : (MTRTestClusterClusterTestListStructArgumentRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestListInt8UArgumentRequest |
| * |
| * Command that takes an argument which is a list of INT8U. The response |
| returns false if the list contains a 0 in it, true otherwise (including |
| if the list is empty). |
| */ |
| -(void) testListInt8UArgumentRequestWithParams : (MTRTestClusterClusterTestListInt8UArgumentRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestNestedStructListArgumentRequest |
| * |
| * Command that takes an argument which is a Nested Struct List. The |
| response returns false if there is some struct in arg1 (either directly |
| in arg1.c or in the arg1.d list) whose 'b' field is false, and true |
| otherwise. |
| */ |
| -(void) testNestedStructListArgumentRequestWithParams |
| : (MTRTestClusterClusterTestNestedStructListArgumentRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestListNestedStructListArgumentRequest |
| * |
| * Command that takes an argument which is a list of Nested Struct List. |
| The response returns false if there is some struct in arg1 (either |
| directly in as the 'c' field of an entry 'd' list of an entry) whose 'b' |
| field is false, and true otherwise (including if the list is empty). |
| */ |
| -(void) testListNestedStructListArgumentRequestWithParams |
| : (MTRTestClusterClusterTestListNestedStructListArgumentRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterBooleanResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestListInt8UReverseRequest |
| * |
| * Command that takes an argument which is a list of INT8U and expects a |
| response that reverses the list. |
| */ |
| -(void) testListInt8UReverseRequestWithParams : (MTRTestClusterClusterTestListInt8UReverseRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterTestListInt8UReverseResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestEnumsRequest |
| * |
| * Command that sends a vendor id and an enum. The server is expected to |
| echo them back. |
| */ |
| -(void) testEnumsRequestWithParams : (MTRTestClusterClusterTestEnumsRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterTestEnumsResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestNullableOptionalRequest |
| * |
| * Command that takes an argument which is nullable and optional. The |
| response returns a boolean indicating whether the argument was present, |
| if that's true a boolean indicating whether the argument was null, and |
| if that' false the argument it received. |
| */ |
| -(void) testNullableOptionalRequestWithParams |
| : (MTRTestClusterClusterTestNullableOptionalRequestParams * _Nullable) params completion |
| : (void (^)(MTRTestClusterClusterTestNullableOptionalResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestComplexNullableOptionalRequest |
| * |
| * Command that takes various arguments which can be nullable and/or optional. The |
| response returns information about which things were received and what |
| their state was. |
| */ |
| -(void) testComplexNullableOptionalRequestWithParams |
| : (MTRTestClusterClusterTestComplexNullableOptionalRequestParams *) params completion |
| : (void (^)( |
| MTRTestClusterClusterTestComplexNullableOptionalResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command SimpleStructEchoRequest |
| * |
| * Command that takes an argument which is a struct. The response echoes |
| the struct back. |
| */ |
| -(void) simpleStructEchoRequestWithParams : (MTRTestClusterClusterSimpleStructEchoRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterSimpleStructResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TimedInvokeRequest |
| * |
| * Command that just responds with a success status if the timed invoke |
| conditions are met. |
| */ |
| -(void) timedInvokeRequestWithParams : (MTRTestClusterClusterTimedInvokeRequestParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| - (void)timedInvokeRequestWithCompletion:(MTRStatusCompletion)completion; |
| |
| /** |
| * Command TestSimpleOptionalArgumentRequest |
| * |
| * Command that takes an optional argument which is bool. It responds with a success value if the optional is set to any value. |
| */ |
| -(void) testSimpleOptionalArgumentRequestWithParams |
| : (MTRTestClusterClusterTestSimpleOptionalArgumentRequestParams * _Nullable) params completion |
| : (MTRStatusCompletion) completion; |
| |
| /** |
| * Command TestEmitTestEventRequest |
| * |
| * Command that takes identical arguments to the fields of the TestEvent and logs the TestEvent to the buffer. Command returns an |
| * event ID as the response. |
| */ |
| -(void) testEmitTestEventRequestWithParams : (MTRTestClusterClusterTestEmitTestEventRequestParams *) params completion |
| : (void (^)(MTRTestClusterClusterTestEmitTestEventResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| /** |
| * Command TestEmitTestFabricScopedEventRequest |
| * |
| * Command that takes identical arguments to the fields of the TestFabricScopedEvent and logs the TestFabricScopedEvent to the |
| * buffer. Command returns an event ID as the response. |
| */ |
| -(void) testEmitTestFabricScopedEventRequestWithParams |
| : (MTRTestClusterClusterTestEmitTestFabricScopedEventRequestParams *) params completion |
| : (void (^)( |
| MTRTestClusterClusterTestEmitTestFabricScopedEventResponseParams * _Nullable data, NSError * _Nullable error)) completion; |
| |
| - (void)readAttributeBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBooleanWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBooleanWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBitmap8WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBitmap8WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBitmap8WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBitmap8WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBitmap8WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBitmap16WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBitmap16WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBitmap16WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBitmap16WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBitmap16WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBitmap32WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBitmap32WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBitmap32WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBitmap32WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBitmap32WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeBitmap64WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeBitmap64WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeBitmap64WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeBitmap64WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeBitmap64WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt8uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt8uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt8uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt16uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt16uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt16uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt16uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt16uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt24uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt24uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt24uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt24uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt24uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt32uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt32uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt32uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt32uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt32uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt40uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt40uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt40uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt40uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt40uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt48uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt48uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt48uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt48uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt48uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt56uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt56uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt56uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt56uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt56uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt64uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt64uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt64uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt64uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt64uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt8sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt8sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt8sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt8sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt8sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt16sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt16sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt16sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt16sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt16sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt24sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt24sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt24sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt24sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt24sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt32sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt32sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt32sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt32sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt32sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt40sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt40sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt40sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt40sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt40sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt48sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt48sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt48sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt48sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt48sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt56sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt56sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt56sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt56sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt56sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeInt64sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeInt64sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeInt64sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeInt64sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeInt64sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnum8WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEnum8WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEnum8WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnum8WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnum8WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnum16WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEnum16WithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEnum16WithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnum16WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnum16WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFloatSingleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeFloatSingleWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeFloatSingleWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFloatSingleWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFloatSingleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFloatDoubleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeFloatDoubleWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeFloatDoubleWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFloatDoubleWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFloatDoubleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeOctetStringWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeOctetStringWithValue:(NSData * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeOctetStringWithValue:(NSData * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeOctetStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeListInt8uWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeListInt8uWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeListInt8uWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListInt8uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeListOctetStringWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeListOctetStringWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeListOctetStringWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListOctetStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeListStructOctetStringWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeListStructOctetStringWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeListStructOctetStringWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListStructOctetStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListStructOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLongOctetStringWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLongOctetStringWithValue:(NSData * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLongOctetStringWithValue:(NSData * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLongOctetStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLongOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeCharStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeCharStringWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeCharStringWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeCharStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeCharStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeLongCharStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeLongCharStringWithValue:(NSString * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeLongCharStringWithValue:(NSString * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeLongCharStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeLongCharStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEpochUsWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEpochUsWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEpochUsWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEpochUsWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEpochUsWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEpochSWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEpochSWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEpochSWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEpochSWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEpochSWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeVendorIdWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeVendorIdWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeVendorIdWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeVendorIdWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeVendorIdWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeListNullablesAndOptionalsStructWithCompletion:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeListNullablesAndOptionalsStructWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListNullablesAndOptionalsStructWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListNullablesAndOptionalsStructWithClusterStateCache: |
| (MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeEnumAttrWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeEnumAttrWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeEnumAttrWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeEnumAttrWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeEnumAttrWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeStructAttrWithCompletion:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeStructAttrWithValue:(MTRTestClusterClusterSimpleStruct * _Nonnull)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeStructAttrWithValue:(MTRTestClusterClusterSimpleStruct * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeStructAttrWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeStructAttrWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRangeRestrictedInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeRangeRestrictedInt8uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRangeRestrictedInt8uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRangeRestrictedInt8uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRangeRestrictedInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRangeRestrictedInt8sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeRangeRestrictedInt8sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRangeRestrictedInt8sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRangeRestrictedInt8sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRangeRestrictedInt8sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRangeRestrictedInt16uWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeRangeRestrictedInt16uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRangeRestrictedInt16uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRangeRestrictedInt16uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRangeRestrictedInt16uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeRangeRestrictedInt16sWithCompletion:(void (^)( |
| NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeRangeRestrictedInt16sWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeRangeRestrictedInt16sWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeRangeRestrictedInt16sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeRangeRestrictedInt16sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeListLongOctetStringWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeListLongOctetStringWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListLongOctetStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListLongOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeListFabricScopedWithParams:(MTRReadParams * _Nullable)params |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeListFabricScopedWithValue:(NSArray * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeListFabricScopedWithValue:(NSArray * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeListFabricScopedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeListFabricScopedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeTimedWriteBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeTimedWriteBooleanWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeTimedWriteBooleanWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeTimedWriteBooleanWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeTimedWriteBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneralErrorBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeGeneralErrorBooleanWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeGeneralErrorBooleanWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneralErrorBooleanWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneralErrorBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterErrorBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeClusterErrorBooleanWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeClusterErrorBooleanWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterErrorBooleanWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterErrorBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeUnsupportedWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeUnsupportedWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeUnsupportedWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeUnsupportedWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeUnsupportedWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableBooleanWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableBooleanWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableBooleanWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBooleanWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBooleanWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableBitmap8WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableBitmap8WithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableBitmap8WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBitmap8WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBitmap8WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableBitmap16WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableBitmap16WithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableBitmap16WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBitmap16WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBitmap16WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableBitmap32WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableBitmap32WithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableBitmap32WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBitmap32WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBitmap32WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableBitmap64WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableBitmap64WithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableBitmap64WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableBitmap64WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableBitmap64WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt8uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt8uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt8uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt16uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt16uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt16uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt16uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt16uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt24uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt24uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt24uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt24uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt24uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt32uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt32uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt32uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt32uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt32uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt40uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt40uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt40uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt40uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt40uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt48uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt48uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt48uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt48uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt48uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt56uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt56uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt56uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt56uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt56uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt64uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt64uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt64uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt64uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt64uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt8sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt8sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt8sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt8sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt8sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt16sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt16sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt16sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt16sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt16sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt24sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt24sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt24sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt24sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt24sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt32sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt32sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt32sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt32sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt32sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt40sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt40sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt40sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt40sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt40sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt48sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt48sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt48sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt48sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt48sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt56sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt56sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt56sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt56sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt56sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableInt64sWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableInt64sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableInt64sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableInt64sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableInt64sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableEnum8WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableEnum8WithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableEnum8WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableEnum8WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableEnum8WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableEnum16WithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableEnum16WithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableEnum16WithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableEnum16WithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableEnum16WithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableFloatSingleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableFloatSingleWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableFloatSingleWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableFloatSingleWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableFloatSingleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableFloatDoubleWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableFloatDoubleWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableFloatDoubleWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableFloatDoubleWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableFloatDoubleWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableOctetStringWithCompletion:(void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableOctetStringWithValue:(NSData * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableOctetStringWithValue:(NSData * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableOctetStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableOctetStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSData * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableCharStringWithCompletion:(void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableCharStringWithValue:(NSString * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableCharStringWithValue:(NSString * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableCharStringWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableCharStringWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSString * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableEnumAttrWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableEnumAttrWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableEnumAttrWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableEnumAttrWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableEnumAttrWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableStructWithCompletion:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableStructWithValue:(MTRTestClusterClusterSimpleStruct * _Nullable)value |
| completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableStructWithValue:(MTRTestClusterClusterSimpleStruct * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableStructWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableStructWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(MTRTestClusterClusterSimpleStruct * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableRangeRestrictedInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableRangeRestrictedInt8uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableRangeRestrictedInt8uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableRangeRestrictedInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableRangeRestrictedInt8sWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableRangeRestrictedInt8sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableRangeRestrictedInt8sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableRangeRestrictedInt8sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableRangeRestrictedInt16uWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableRangeRestrictedInt16uWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableRangeRestrictedInt16uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableRangeRestrictedInt16uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeNullableRangeRestrictedInt16sWithCompletion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| - (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSNumber * _Nullable)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeNullableRangeRestrictedInt16sWithValue:(NSNumber * _Nullable)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeNullableRangeRestrictedInt16sWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished: |
| (MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))reportHandler; |
| + (void)readAttributeNullableRangeRestrictedInt16sWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, |
| NSError * _Nullable error))completion; |
| |
| - (void)readAttributeWriteOnlyInt8uWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| - (void)writeAttributeWriteOnlyInt8uWithValue:(NSNumber * _Nonnull)value completion:(MTRStatusCompletion)completion; |
| - (void)writeAttributeWriteOnlyInt8uWithValue:(NSNumber * _Nonnull)value |
| params:(MTRWriteParams * _Nullable)params |
| completion:(MTRStatusCompletion)completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeWriteOnlyInt8uWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeWriteOnlyInt8uWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeGeneratedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeGeneratedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeGeneratedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAcceptedCommandListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAcceptedCommandListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAcceptedCommandListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeAttributeListWithCompletion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeAttributeListWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeAttributeListWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSArray * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeFeatureMapWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeFeatureMapWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeFeatureMapWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (void)readAttributeClusterRevisionWithCompletion:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| /** |
| * This API does not support setting autoResubscribe to NO in the |
| * MTRSubscribeParams. |
| */ |
| - (void)subscribeAttributeClusterRevisionWithParams:(MTRSubscribeParams *)params |
| subscriptionEstablished:(MTRSubscriptionEstablishedHandler _Nullable)subscriptionEstablished |
| reportHandler:(void (^)(NSNumber * _Nullable value, NSError * _Nullable error))reportHandler; |
| + (void)readAttributeClusterRevisionWithClusterStateCache:(MTRClusterStateCacheContainer *)clusterStateCacheContainer |
| endpoint:(NSNumber *)endpoint |
| queue:(dispatch_queue_t)queue |
| completion: |
| (void (^)(NSNumber * _Nullable value, NSError * _Nullable error))completion; |
| |
| - (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, MTRTimeSynchronizationGranularity) { |
| MTRTimeSynchronizationGranularityNoTimeGranularity = 0x00, |
| MTRTimeSynchronizationGranularityMinutesGranularity = 0x01, |
| MTRTimeSynchronizationGranularitySecondsGranularity = 0x02, |
| MTRTimeSynchronizationGranularityMillisecondsGranularity = 0x03, |
| MTRTimeSynchronizationGranularityMicrosecondsGranularity = 0x04, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRTimeSynchronizationTimeSource) { |
| MTRTimeSynchronizationTimeSourceNone = 0x00, |
| MTRTimeSynchronizationTimeSourceUnknown = 0x01, |
| MTRTimeSynchronizationTimeSourceAdmin = 0x02, |
| MTRTimeSynchronizationTimeSourceNodeTimeCluster = 0x03, |
| MTRTimeSynchronizationTimeSourceNonFabricSntp = 0x04, |
| MTRTimeSynchronizationTimeSourceNonFabricNtp = 0x05, |
| MTRTimeSynchronizationTimeSourceFabricSntp = 0x06, |
| MTRTimeSynchronizationTimeSourceFabricNtp = 0x07, |
| MTRTimeSynchronizationTimeSourceMixedNtp = 0x08, |
| MTRTimeSynchronizationTimeSourceNonFabricSntpNts = 0x09, |
| MTRTimeSynchronizationTimeSourceNonFabricNtpNts = 0x0A, |
| MTRTimeSynchronizationTimeSourceFabricSntpNts = 0x0B, |
| MTRTimeSynchronizationTimeSourceFabricNtpNts = 0x0C, |
| MTRTimeSynchronizationTimeSourceMixedNtpNts = 0x0D, |
| MTRTimeSynchronizationTimeSourceCloudSource = 0x0E, |
| MTRTimeSynchronizationTimeSourcePtp = 0x0F, |
| MTRTimeSynchronizationTimeSourceGnss = 0x10, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRSwitchFeature) { |
| MTRSwitchFeatureLatchingSwitch = 0x1, |
| MTRSwitchFeatureMomentarySwitch = 0x2, |
| MTRSwitchFeatureMomentarySwitchRelease = 0x4, |
| MTRSwitchFeatureMomentarySwitchLongPress = 0x8, |
| MTRSwitchFeatureMomentarySwitchMultiPress = 0x10, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRAdministratorCommissioningCommissioningWindowStatus) { |
| MTRAdministratorCommissioningCommissioningWindowStatusWindowNotOpen = 0x00, |
| MTRAdministratorCommissioningCommissioningWindowStatusEnhancedWindowOpen = 0x01, |
| MTRAdministratorCommissioningCommissioningWindowStatusBasicWindowOpen = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRAdministratorCommissioningStatusCode) { |
| MTRAdministratorCommissioningStatusCodeBusy = 0x02, |
| MTRAdministratorCommissioningStatusCodePAKEParameterError = 0x03, |
| MTRAdministratorCommissioningStatusCodeWindowNotOpen = 0x04, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTROperationalCredentialsOperationalCertStatus) { |
| MTROperationalCredentialsOperationalCertStatusSUCCESS = 0x00, |
| MTROperationalCredentialsOperationalCertStatusInvalidPublicKey = 0x01, |
| MTROperationalCredentialsOperationalCertStatusInvalidNodeOpId = 0x02, |
| MTROperationalCredentialsOperationalCertStatusInvalidNOC = 0x03, |
| MTROperationalCredentialsOperationalCertStatusMissingCsr = 0x04, |
| MTROperationalCredentialsOperationalCertStatusTableFull = 0x05, |
| MTROperationalCredentialsOperationalCertStatusInvalidAdminSubject = 0x06, |
| MTROperationalCredentialsOperationalCertStatusFabricConflict = 0x09, |
| MTROperationalCredentialsOperationalCertStatusLabelConflict = 0x0A, |
| MTROperationalCredentialsOperationalCertStatusInvalidFabricIndex = 0x0B, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRGroupKeyManagementGroupKeySecurityPolicy) { |
| MTRGroupKeyManagementGroupKeySecurityPolicyTrustFirst = 0x00, |
| MTRGroupKeyManagementGroupKeySecurityPolicyCacheAndSync = 0x01, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRModeSelectFeature) { |
| MTRModeSelectFeatureDEPONOFF = 0x1, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlAlarmCode) { |
| MTRDoorLockDlAlarmCodeLockJammed = 0x00, |
| MTRDoorLockDlAlarmCodeLockFactoryReset = 0x01, |
| MTRDoorLockDlAlarmCodeLockRadioPowerCycled = 0x03, |
| MTRDoorLockDlAlarmCodeWrongCodeEntryLimit = 0x04, |
| MTRDoorLockDlAlarmCodeFrontEsceutcheonRemoved = 0x05, |
| MTRDoorLockDlAlarmCodeDoorForcedOpen = 0x06, |
| MTRDoorLockDlAlarmCodeDoorAjar = 0x07, |
| MTRDoorLockDlAlarmCodeForcedUser = 0x08, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlCredentialRule) { |
| MTRDoorLockDlCredentialRuleSingle = 0x00, |
| MTRDoorLockDlCredentialRuleDouble = 0x01, |
| MTRDoorLockDlCredentialRuleTri = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlCredentialType) { |
| MTRDoorLockDlCredentialTypeProgrammingPIN = 0x00, |
| MTRDoorLockDlCredentialTypePIN = 0x01, |
| MTRDoorLockDlCredentialTypeRFID = 0x02, |
| MTRDoorLockDlCredentialTypeFingerprint = 0x03, |
| MTRDoorLockDlCredentialTypeFingerVein = 0x04, |
| MTRDoorLockDlCredentialTypeFace = 0x05, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlDataOperationType) { |
| MTRDoorLockDlDataOperationTypeAdd = 0x00, |
| MTRDoorLockDlDataOperationTypeClear = 0x01, |
| MTRDoorLockDlDataOperationTypeModify = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlDoorState) { |
| MTRDoorLockDlDoorStateDoorOpen = 0x00, |
| MTRDoorLockDlDoorStateDoorClosed = 0x01, |
| MTRDoorLockDlDoorStateDoorJammed = 0x02, |
| MTRDoorLockDlDoorStateDoorForcedOpen = 0x03, |
| MTRDoorLockDlDoorStateDoorUnspecifiedError = 0x04, |
| MTRDoorLockDlDoorStateDoorAjar = 0x05, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlLockDataType) { |
| MTRDoorLockDlLockDataTypeUnspecified = 0x00, |
| MTRDoorLockDlLockDataTypeProgrammingCode = 0x01, |
| MTRDoorLockDlLockDataTypeUserIndex = 0x02, |
| MTRDoorLockDlLockDataTypeWeekDaySchedule = 0x03, |
| MTRDoorLockDlLockDataTypeYearDaySchedule = 0x04, |
| MTRDoorLockDlLockDataTypeHolidaySchedule = 0x05, |
| MTRDoorLockDlLockDataTypePIN = 0x06, |
| MTRDoorLockDlLockDataTypeRFID = 0x07, |
| MTRDoorLockDlLockDataTypeFingerprint = 0x08, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlLockOperationType) { |
| MTRDoorLockDlLockOperationTypeLock = 0x00, |
| MTRDoorLockDlLockOperationTypeUnlock = 0x01, |
| MTRDoorLockDlLockOperationTypeNonAccessUserEvent = 0x02, |
| MTRDoorLockDlLockOperationTypeForcedUserEvent = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlLockState) { |
| MTRDoorLockDlLockStateNotFullyLocked = 0x00, |
| MTRDoorLockDlLockStateLocked = 0x01, |
| MTRDoorLockDlLockStateUnlocked = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlLockType) { |
| MTRDoorLockDlLockTypeDeadBolt = 0x00, |
| MTRDoorLockDlLockTypeMagnetic = 0x01, |
| MTRDoorLockDlLockTypeOther = 0x02, |
| MTRDoorLockDlLockTypeMortise = 0x03, |
| MTRDoorLockDlLockTypeRim = 0x04, |
| MTRDoorLockDlLockTypeLatchBolt = 0x05, |
| MTRDoorLockDlLockTypeCylindricalLock = 0x06, |
| MTRDoorLockDlLockTypeTubularLock = 0x07, |
| MTRDoorLockDlLockTypeInterconnectedLock = 0x08, |
| MTRDoorLockDlLockTypeDeadLatch = 0x09, |
| MTRDoorLockDlLockTypeDoorFurniture = 0x0A, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlOperatingMode) { |
| MTRDoorLockDlOperatingModeNormal = 0x00, |
| MTRDoorLockDlOperatingModeVacation = 0x01, |
| MTRDoorLockDlOperatingModePrivacy = 0x02, |
| MTRDoorLockDlOperatingModeNoRemoteLockUnlock = 0x03, |
| MTRDoorLockDlOperatingModePassage = 0x04, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlOperationError) { |
| MTRDoorLockDlOperationErrorUnspecified = 0x00, |
| MTRDoorLockDlOperationErrorInvalidCredential = 0x01, |
| MTRDoorLockDlOperationErrorDisabledUserDenied = 0x02, |
| MTRDoorLockDlOperationErrorRestricted = 0x03, |
| MTRDoorLockDlOperationErrorInsufficientBattery = 0x04, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlOperationSource) { |
| MTRDoorLockDlOperationSourceUnspecified = 0x00, |
| MTRDoorLockDlOperationSourceManual = 0x01, |
| MTRDoorLockDlOperationSourceProprietaryRemote = 0x02, |
| MTRDoorLockDlOperationSourceKeypad = 0x03, |
| MTRDoorLockDlOperationSourceAuto = 0x04, |
| MTRDoorLockDlOperationSourceButton = 0x05, |
| MTRDoorLockDlOperationSourceSchedule = 0x06, |
| MTRDoorLockDlOperationSourceRemote = 0x07, |
| MTRDoorLockDlOperationSourceRFID = 0x08, |
| MTRDoorLockDlOperationSourceBiometric = 0x09, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlStatus) { |
| MTRDoorLockDlStatusSuccess = 0x00, |
| MTRDoorLockDlStatusFailure = 0x01, |
| MTRDoorLockDlStatusDuplicate = 0x02, |
| MTRDoorLockDlStatusOccupied = 0x03, |
| MTRDoorLockDlStatusInvalidField = 0x85, |
| MTRDoorLockDlStatusResourceExhausted = 0x89, |
| MTRDoorLockDlStatusNotFound = 0x8B, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlUserStatus) { |
| MTRDoorLockDlUserStatusAvailable = 0x00, |
| MTRDoorLockDlUserStatusOccupiedEnabled = 0x01, |
| MTRDoorLockDlUserStatusOccupiedDisabled = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockDlUserType) { |
| MTRDoorLockDlUserTypeUnrestrictedUser = 0x00, |
| MTRDoorLockDlUserTypeYearDayScheduleUser = 0x01, |
| MTRDoorLockDlUserTypeWeekDayScheduleUser = 0x02, |
| MTRDoorLockDlUserTypeProgrammingUser = 0x03, |
| MTRDoorLockDlUserTypeNonAccessUser = 0x04, |
| MTRDoorLockDlUserTypeForcedUser = 0x05, |
| MTRDoorLockDlUserTypeDisposableUser = 0x06, |
| MTRDoorLockDlUserTypeExpiringUser = 0x07, |
| MTRDoorLockDlUserTypeScheduleRestrictedUser = 0x08, |
| MTRDoorLockDlUserTypeRemoteOnlyUser = 0x09, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockOperationEventCode) { |
| MTRDoorLockOperationEventCodeUnknownOrMfgSpecific = 0x00, |
| MTRDoorLockOperationEventCodeLock = 0x01, |
| MTRDoorLockOperationEventCodeUnlock = 0x02, |
| MTRDoorLockOperationEventCodeLockInvalidPinOrId = 0x03, |
| MTRDoorLockOperationEventCodeLockInvalidSchedule = 0x04, |
| MTRDoorLockOperationEventCodeUnlockInvalidPinOrId = 0x05, |
| MTRDoorLockOperationEventCodeUnlockInvalidSchedule = 0x06, |
| MTRDoorLockOperationEventCodeOneTouchLock = 0x07, |
| MTRDoorLockOperationEventCodeKeyLock = 0x08, |
| MTRDoorLockOperationEventCodeKeyUnlock = 0x09, |
| MTRDoorLockOperationEventCodeAutoLock = 0x0A, |
| MTRDoorLockOperationEventCodeScheduleLock = 0x0B, |
| MTRDoorLockOperationEventCodeScheduleUnlock = 0x0C, |
| MTRDoorLockOperationEventCodeManualLock = 0x0D, |
| MTRDoorLockOperationEventCodeManualUnlock = 0x0E, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockProgrammingEventCode) { |
| MTRDoorLockProgrammingEventCodeUnknownOrMfgSpecific = 0x00, |
| MTRDoorLockProgrammingEventCodeMasterCodeChanged = 0x01, |
| MTRDoorLockProgrammingEventCodePinAdded = 0x02, |
| MTRDoorLockProgrammingEventCodePinDeleted = 0x03, |
| MTRDoorLockProgrammingEventCodePinChanged = 0x04, |
| MTRDoorLockProgrammingEventCodeIdAdded = 0x05, |
| MTRDoorLockProgrammingEventCodeIdDeleted = 0x06, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockSetPinOrIdStatus) { |
| MTRDoorLockSetPinOrIdStatusSuccess = 0x00, |
| MTRDoorLockSetPinOrIdStatusGeneralFailure = 0x01, |
| MTRDoorLockSetPinOrIdStatusMemoryFull = 0x02, |
| MTRDoorLockSetPinOrIdStatusDuplicateCodeError = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockUserStatus) { |
| MTRDoorLockUserStatusAvailable = 0x00, |
| MTRDoorLockUserStatusOccupiedEnabled = 0x01, |
| MTRDoorLockUserStatusOccupiedDisabled = 0x03, |
| MTRDoorLockUserStatusNotSupported = 0xFF, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRDoorLockUserType) { |
| MTRDoorLockUserTypeUnrestricted = 0x00, |
| MTRDoorLockUserTypeYearDayScheduleUser = 0x01, |
| MTRDoorLockUserTypeWeekDayScheduleUser = 0x02, |
| MTRDoorLockUserTypeMasterUser = 0x03, |
| MTRDoorLockUserTypeNonAccessUser = 0x04, |
| MTRDoorLockUserTypeNotSupported = 0xFF, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRDoorLockDlCredentialRuleMask) { |
| MTRDoorLockDlCredentialRuleMaskSingle = 0x1, |
| MTRDoorLockDlCredentialRuleMaskDual = 0x2, |
| MTRDoorLockDlCredentialRuleMaskTri = 0x4, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRDoorLockDlCredentialRulesSupport) { |
| MTRDoorLockDlCredentialRulesSupportSingle = 0x1, |
| MTRDoorLockDlCredentialRulesSupportDual = 0x2, |
| MTRDoorLockDlCredentialRulesSupportTri = 0x4, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRDoorLockDlDaysMaskMap) { |
| MTRDoorLockDlDaysMaskMapSunday = 0x1, |
| MTRDoorLockDlDaysMaskMapMonday = 0x2, |
| MTRDoorLockDlDaysMaskMapTuesday = 0x4, |
| MTRDoorLockDlDaysMaskMapWednesday = 0x8, |
| MTRDoorLockDlDaysMaskMapThursday = 0x10, |
| MTRDoorLockDlDaysMaskMapFriday = 0x20, |
| MTRDoorLockDlDaysMaskMapSaturday = 0x40, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlDefaultConfigurationRegister) { |
| MTRDoorLockDlDefaultConfigurationRegisterEnableLocalProgrammingEnabled = 0x1, |
| MTRDoorLockDlDefaultConfigurationRegisterKeypadInterfaceDefaultAccessEnabled = 0x2, |
| MTRDoorLockDlDefaultConfigurationRegisterRemoteInterfaceDefaultAccessIsEnabled = 0x4, |
| MTRDoorLockDlDefaultConfigurationRegisterSoundEnabled = 0x20, |
| MTRDoorLockDlDefaultConfigurationRegisterAutoRelockTimeSet = 0x40, |
| MTRDoorLockDlDefaultConfigurationRegisterLEDSettingsSet = 0x80, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlKeypadOperationEventMask) { |
| MTRDoorLockDlKeypadOperationEventMaskUnknown = 0x1, |
| MTRDoorLockDlKeypadOperationEventMaskLock = 0x2, |
| MTRDoorLockDlKeypadOperationEventMaskUnlock = 0x4, |
| MTRDoorLockDlKeypadOperationEventMaskLockInvalidPIN = 0x8, |
| MTRDoorLockDlKeypadOperationEventMaskLockInvalidSchedule = 0x10, |
| MTRDoorLockDlKeypadOperationEventMaskUnlockInvalidCode = 0x20, |
| MTRDoorLockDlKeypadOperationEventMaskUnlockInvalidSchedule = 0x40, |
| MTRDoorLockDlKeypadOperationEventMaskNonAccessUserOpEvent = 0x80, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlKeypadProgrammingEventMask) { |
| MTRDoorLockDlKeypadProgrammingEventMaskUnknown = 0x1, |
| MTRDoorLockDlKeypadProgrammingEventMaskProgrammingPINChanged = 0x2, |
| MTRDoorLockDlKeypadProgrammingEventMaskPINAdded = 0x4, |
| MTRDoorLockDlKeypadProgrammingEventMaskPINCleared = 0x8, |
| MTRDoorLockDlKeypadProgrammingEventMaskPINChanged = 0x10, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRDoorLockDlLocalProgrammingFeatures) { |
| MTRDoorLockDlLocalProgrammingFeaturesAddUsersCredentialsSchedulesLocally = 0x1, |
| MTRDoorLockDlLocalProgrammingFeaturesModifyUsersCredentialsSchedulesLocally = 0x2, |
| MTRDoorLockDlLocalProgrammingFeaturesClearUsersCredentialsSchedulesLocally = 0x4, |
| MTRDoorLockDlLocalProgrammingFeaturesAdjustLockSettingsLocally = 0x8, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlManualOperationEventMask) { |
| MTRDoorLockDlManualOperationEventMaskUnknown = 0x1, |
| MTRDoorLockDlManualOperationEventMaskThumbturnLock = 0x2, |
| MTRDoorLockDlManualOperationEventMaskThumbturnUnlock = 0x4, |
| MTRDoorLockDlManualOperationEventMaskOneTouchLock = 0x8, |
| MTRDoorLockDlManualOperationEventMaskKeyLock = 0x10, |
| MTRDoorLockDlManualOperationEventMaskKeyUnlock = 0x20, |
| MTRDoorLockDlManualOperationEventMaskAutoLock = 0x40, |
| MTRDoorLockDlManualOperationEventMaskScheduleLock = 0x80, |
| MTRDoorLockDlManualOperationEventMaskScheduleUnlock = 0x100, |
| MTRDoorLockDlManualOperationEventMaskManualLock = 0x200, |
| MTRDoorLockDlManualOperationEventMaskManualUnlock = 0x400, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlRFIDOperationEventMask) { |
| MTRDoorLockDlRFIDOperationEventMaskUnknown = 0x1, |
| MTRDoorLockDlRFIDOperationEventMaskLock = 0x2, |
| MTRDoorLockDlRFIDOperationEventMaskUnlock = 0x4, |
| MTRDoorLockDlRFIDOperationEventMaskLockInvalidRFID = 0x8, |
| MTRDoorLockDlRFIDOperationEventMaskLockInvalidSchedule = 0x10, |
| MTRDoorLockDlRFIDOperationEventMaskUnlockInvalidRFID = 0x20, |
| MTRDoorLockDlRFIDOperationEventMaskUnlockInvalidSchedule = 0x40, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlRFIDProgrammingEventMask) { |
| MTRDoorLockDlRFIDProgrammingEventMaskUnknown = 0x1, |
| MTRDoorLockDlRFIDProgrammingEventMaskRFIDCodeAdded = 0x20, |
| MTRDoorLockDlRFIDProgrammingEventMaskRFIDCodeCleared = 0x40, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlRemoteOperationEventMask) { |
| MTRDoorLockDlRemoteOperationEventMaskUnknown = 0x1, |
| MTRDoorLockDlRemoteOperationEventMaskLock = 0x2, |
| MTRDoorLockDlRemoteOperationEventMaskUnlock = 0x4, |
| MTRDoorLockDlRemoteOperationEventMaskLockInvalidCode = 0x8, |
| MTRDoorLockDlRemoteOperationEventMaskLockInvalidSchedule = 0x10, |
| MTRDoorLockDlRemoteOperationEventMaskUnlockInvalidCode = 0x20, |
| MTRDoorLockDlRemoteOperationEventMaskUnlockInvalidSchedule = 0x40, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlRemoteProgrammingEventMask) { |
| MTRDoorLockDlRemoteProgrammingEventMaskUnknown = 0x1, |
| MTRDoorLockDlRemoteProgrammingEventMaskProgrammingPINChanged = 0x2, |
| MTRDoorLockDlRemoteProgrammingEventMaskPINAdded = 0x4, |
| MTRDoorLockDlRemoteProgrammingEventMaskPINCleared = 0x8, |
| MTRDoorLockDlRemoteProgrammingEventMaskPINChanged = 0x10, |
| MTRDoorLockDlRemoteProgrammingEventMaskRFIDCodeAdded = 0x20, |
| MTRDoorLockDlRemoteProgrammingEventMaskRFIDCodeCleared = 0x40, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRDoorLockDlSupportedOperatingModes) { |
| MTRDoorLockDlSupportedOperatingModesNormal = 0x1, |
| MTRDoorLockDlSupportedOperatingModesVacation = 0x2, |
| MTRDoorLockDlSupportedOperatingModesPrivacy = 0x4, |
| MTRDoorLockDlSupportedOperatingModesNoRemoteLockUnlock = 0x8, |
| MTRDoorLockDlSupportedOperatingModesPassage = 0x10, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRDoorLockDayOfWeek) { |
| MTRDoorLockDayOfWeekSunday = 0x1, |
| MTRDoorLockDayOfWeekMonday = 0x2, |
| MTRDoorLockDayOfWeekTuesday = 0x4, |
| MTRDoorLockDayOfWeekWednesday = 0x8, |
| MTRDoorLockDayOfWeekThursday = 0x10, |
| MTRDoorLockDayOfWeekFriday = 0x20, |
| MTRDoorLockDayOfWeekSaturday = 0x40, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRDoorLockFeature) { |
| MTRDoorLockFeaturePINCredentials = 0x1, |
| MTRDoorLockFeatureRFIDCredentials = 0x2, |
| MTRDoorLockFeatureFingerCredentials = 0x4, |
| MTRDoorLockFeatureLogging = 0x8, |
| MTRDoorLockFeatureWeekDaySchedules = 0x10, |
| MTRDoorLockFeatureDoorPositionSensor = 0x20, |
| MTRDoorLockFeatureFaceCredentials = 0x40, |
| MTRDoorLockFeatureCredentialsOTA = 0x80, |
| MTRDoorLockFeatureUsersManagement = 0x100, |
| MTRDoorLockFeatureNotifications = 0x200, |
| MTRDoorLockFeatureYearDaySchedules = 0x400, |
| MTRDoorLockFeatureHolidaySchedules = 0x800, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRWindowCoveringEndProductType) { |
| MTRWindowCoveringEndProductTypeRollerShade = 0x00, |
| MTRWindowCoveringEndProductTypeRomanShade = 0x01, |
| MTRWindowCoveringEndProductTypeBalloonShade = 0x02, |
| MTRWindowCoveringEndProductTypeWovenWood = 0x03, |
| MTRWindowCoveringEndProductTypePleatedShade = 0x04, |
| MTRWindowCoveringEndProductTypeCellularShade = 0x05, |
| MTRWindowCoveringEndProductTypeLayeredShade = 0x06, |
| MTRWindowCoveringEndProductTypeLayeredShade2D = 0x07, |
| MTRWindowCoveringEndProductTypeSheerShade = 0x08, |
| MTRWindowCoveringEndProductTypeTiltOnlyInteriorBlind = 0x09, |
| MTRWindowCoveringEndProductTypeInteriorBlind = 0x0A, |
| MTRWindowCoveringEndProductTypeVerticalBlindStripCurtain = 0x0B, |
| MTRWindowCoveringEndProductTypeInteriorVenetianBlind = 0x0C, |
| MTRWindowCoveringEndProductTypeExteriorVenetianBlind = 0x0D, |
| MTRWindowCoveringEndProductTypeLateralLeftCurtain = 0x0E, |
| MTRWindowCoveringEndProductTypeLateralRightCurtain = 0x0F, |
| MTRWindowCoveringEndProductTypeCentralCurtain = 0x10, |
| MTRWindowCoveringEndProductTypeRollerShutter = 0x11, |
| MTRWindowCoveringEndProductTypeExteriorVerticalScreen = 0x12, |
| MTRWindowCoveringEndProductTypeAwningTerracePatio = 0x13, |
| MTRWindowCoveringEndProductTypeAwningVerticalScreen = 0x14, |
| MTRWindowCoveringEndProductTypeTiltOnlyPergola = 0x15, |
| MTRWindowCoveringEndProductTypeSwingingShutter = 0x16, |
| MTRWindowCoveringEndProductTypeSlidingShutter = 0x17, |
| MTRWindowCoveringEndProductTypeUnknown = 0xFF, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRWindowCoveringType) { |
| MTRWindowCoveringTypeRollerShade = 0x00, |
| MTRWindowCoveringTypeRollerShade2Motor = 0x01, |
| MTRWindowCoveringTypeRollerShadeExterior = 0x02, |
| MTRWindowCoveringTypeRollerShadeExterior2Motor = 0x03, |
| MTRWindowCoveringTypeDrapery = 0x04, |
| MTRWindowCoveringTypeAwning = 0x05, |
| MTRWindowCoveringTypeShutter = 0x06, |
| MTRWindowCoveringTypeTiltBlindTiltOnly = 0x07, |
| MTRWindowCoveringTypeTiltBlindLiftAndTilt = 0x08, |
| MTRWindowCoveringTypeProjectorScreen = 0x09, |
| MTRWindowCoveringTypeUnknown = 0xFF, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRWindowCoveringConfigStatus) { |
| MTRWindowCoveringConfigStatusOperational = 0x1, |
| MTRWindowCoveringConfigStatusOnlineReserved = 0x2, |
| MTRWindowCoveringConfigStatusLiftMovementReversed = 0x4, |
| MTRWindowCoveringConfigStatusLiftPositionAware = 0x8, |
| MTRWindowCoveringConfigStatusTiltPositionAware = 0x10, |
| MTRWindowCoveringConfigStatusLiftEncoderControlled = 0x20, |
| MTRWindowCoveringConfigStatusTiltEncoderControlled = 0x40, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRWindowCoveringFeature) { |
| MTRWindowCoveringFeatureLift = 0x1, |
| MTRWindowCoveringFeatureTilt = 0x2, |
| MTRWindowCoveringFeaturePositionAwareLift = 0x4, |
| MTRWindowCoveringFeatureAbsolutePosition = 0x8, |
| MTRWindowCoveringFeaturePositionAwareTilt = 0x10, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRWindowCoveringMode) { |
| MTRWindowCoveringModeMotorDirectionReversed = 0x1, |
| MTRWindowCoveringModeCalibrationMode = 0x2, |
| MTRWindowCoveringModeMaintenanceMode = 0x4, |
| MTRWindowCoveringModeLedFeedback = 0x8, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRWindowCoveringOperationalStatus) { |
| MTRWindowCoveringOperationalStatusGlobal = 0x3, |
| MTRWindowCoveringOperationalStatusLift = 0xC, |
| MTRWindowCoveringOperationalStatusTilt = 0x30, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRWindowCoveringSafetyStatus) { |
| MTRWindowCoveringSafetyStatusRemoteLockout = 0x1, |
| MTRWindowCoveringSafetyStatusTamperDetection = 0x2, |
| MTRWindowCoveringSafetyStatusFailedCommunication = 0x4, |
| MTRWindowCoveringSafetyStatusPositionFailure = 0x8, |
| MTRWindowCoveringSafetyStatusThermalProtection = 0x10, |
| MTRWindowCoveringSafetyStatusObstacleDetected = 0x20, |
| MTRWindowCoveringSafetyStatusPower = 0x40, |
| MTRWindowCoveringSafetyStatusStopInput = 0x80, |
| MTRWindowCoveringSafetyStatusMotorJammed = 0x100, |
| MTRWindowCoveringSafetyStatusHardwareFailure = 0x200, |
| MTRWindowCoveringSafetyStatusManualOperation = 0x400, |
| MTRWindowCoveringSafetyStatusProtection = 0x800, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRPumpConfigurationAndControlPumpControlMode) { |
| MTRPumpConfigurationAndControlPumpControlModeConstantSpeed = 0x00, |
| MTRPumpConfigurationAndControlPumpControlModeConstantPressure = 0x01, |
| MTRPumpConfigurationAndControlPumpControlModeProportionalPressure = 0x02, |
| MTRPumpConfigurationAndControlPumpControlModeConstantFlow = 0x03, |
| MTRPumpConfigurationAndControlPumpControlModeConstantTemperature = 0x05, |
| MTRPumpConfigurationAndControlPumpControlModeAutomatic = 0x07, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRPumpConfigurationAndControlPumpOperationMode) { |
| MTRPumpConfigurationAndControlPumpOperationModeNormal = 0x00, |
| MTRPumpConfigurationAndControlPumpOperationModeMinimum = 0x01, |
| MTRPumpConfigurationAndControlPumpOperationModeMaximum = 0x02, |
| MTRPumpConfigurationAndControlPumpOperationModeLocal = 0x03, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRPumpConfigurationAndControlPumpStatus) { |
| MTRPumpConfigurationAndControlPumpStatusDeviceFault = 0x1, |
| MTRPumpConfigurationAndControlPumpStatusSupplyfault = 0x2, |
| MTRPumpConfigurationAndControlPumpStatusSpeedLow = 0x4, |
| MTRPumpConfigurationAndControlPumpStatusSpeedHigh = 0x8, |
| MTRPumpConfigurationAndControlPumpStatusLocalOverride = 0x10, |
| MTRPumpConfigurationAndControlPumpStatusRunning = 0x20, |
| MTRPumpConfigurationAndControlPumpStatusRemotePressure = 0x40, |
| MTRPumpConfigurationAndControlPumpStatusRemoteFlow = 0x80, |
| MTRPumpConfigurationAndControlPumpStatusRemoteTemperature = 0x100, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRThermostatSetpointAdjustMode) { |
| MTRThermostatSetpointAdjustModeHeatSetpoint = 0x00, |
| MTRThermostatSetpointAdjustModeCoolSetpoint = 0x01, |
| MTRThermostatSetpointAdjustModeHeatAndCoolSetpoints = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRThermostatControlSequence) { |
| MTRThermostatControlSequenceCoolingOnly = 0x00, |
| MTRThermostatControlSequenceCoolingWithReheat = 0x01, |
| MTRThermostatControlSequenceHeatingOnly = 0x02, |
| MTRThermostatControlSequenceHeatingWithReheat = 0x03, |
| MTRThermostatControlSequenceCoolingAndHeating = 0x04, |
| MTRThermostatControlSequenceCoolingAndHeatingWithReheat = 0x05, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRThermostatRunningMode) { |
| MTRThermostatRunningModeOff = 0x00, |
| MTRThermostatRunningModeCool = 0x03, |
| MTRThermostatRunningModeHeat = 0x04, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRThermostatSystemMode) { |
| MTRThermostatSystemModeOff = 0x00, |
| MTRThermostatSystemModeAuto = 0x01, |
| MTRThermostatSystemModeCool = 0x03, |
| MTRThermostatSystemModeHeat = 0x04, |
| MTRThermostatSystemModeEmergencyHeating = 0x05, |
| MTRThermostatSystemModePrecooling = 0x06, |
| MTRThermostatSystemModeFanOnly = 0x07, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRThermostatDayOfWeek) { |
| MTRThermostatDayOfWeekSunday = 0x1, |
| MTRThermostatDayOfWeekMonday = 0x2, |
| MTRThermostatDayOfWeekTuesday = 0x4, |
| MTRThermostatDayOfWeekWednesday = 0x8, |
| MTRThermostatDayOfWeekThursday = 0x10, |
| MTRThermostatDayOfWeekFriday = 0x20, |
| MTRThermostatDayOfWeekSaturday = 0x40, |
| MTRThermostatDayOfWeekAwayOrVacation = 0x80, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRThermostatModeForSequence) { |
| MTRThermostatModeForSequenceHeatSetpointFieldPresent = 0x1, |
| MTRThermostatModeForSequenceCoolSetpointFieldPresent = 0x2, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRThermostatFeature) { |
| MTRThermostatFeatureHeating = 0x1, |
| MTRThermostatFeatureCooling = 0x2, |
| MTRThermostatFeatureOccupancy = 0x4, |
| MTRThermostatFeatureSchedule = 0x8, |
| MTRThermostatFeatureSetback = 0x10, |
| MTRThermostatFeatureAutomode = 0x20, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRFanControlFanModeSequenceType) { |
| MTRFanControlFanModeSequenceTypeOffLowMedHigh = 0x00, |
| MTRFanControlFanModeSequenceTypeOffLowHigh = 0x01, |
| MTRFanControlFanModeSequenceTypeOffLowMedHighAuto = 0x02, |
| MTRFanControlFanModeSequenceTypeOffLowHighAuto = 0x03, |
| MTRFanControlFanModeSequenceTypeOffOnAuto = 0x04, |
| MTRFanControlFanModeSequenceTypeOffOn = 0x05, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRFanControlFanModeType) { |
| MTRFanControlFanModeTypeOff = 0x00, |
| MTRFanControlFanModeTypeLow = 0x01, |
| MTRFanControlFanModeTypeMedium = 0x02, |
| MTRFanControlFanModeTypeHigh = 0x03, |
| MTRFanControlFanModeTypeOn = 0x04, |
| MTRFanControlFanModeTypeAuto = 0x05, |
| MTRFanControlFanModeTypeSmart = 0x06, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRFanControlFeature) { |
| MTRFanControlFeatureMultiSpeed = 0x1, |
| MTRFanControlFeatureAuto = 0x2, |
| MTRFanControlFeatureRocking = 0x4, |
| MTRFanControlFeatureWind = 0x8, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRFanControlRockSupportMask) { |
| MTRFanControlRockSupportMaskRockLeftRight = 0x1, |
| MTRFanControlRockSupportMaskRockUpDown = 0x2, |
| MTRFanControlRockSupportMaskRockRound = 0x4, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRFanControlWindSettingMask) { |
| MTRFanControlWindSettingMaskSleepWind = 0x1, |
| MTRFanControlWindSettingMaskNaturalWind = 0x2, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRFanControlWindSupportMask) { |
| MTRFanControlWindSupportMaskSleepWind = 0x1, |
| MTRFanControlWindSupportMaskNaturalWind = 0x2, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRColorControlColorLoopAction) { |
| MTRColorControlColorLoopActionDeactivate = 0x00, |
| MTRColorControlColorLoopActionActivateFromColorLoopStartEnhancedHue = 0x01, |
| MTRColorControlColorLoopActionActivateFromEnhancedCurrentHue = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRColorControlColorLoopDirection) { |
| MTRColorControlColorLoopDirectionDecrementHue = 0x00, |
| MTRColorControlColorLoopDirectionIncrementHue = 0x01, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRColorControlColorMode) { |
| MTRColorControlColorModeCurrentHueAndCurrentSaturation = 0x00, |
| MTRColorControlColorModeCurrentXAndCurrentY = 0x01, |
| MTRColorControlColorModeColorTemperature = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRColorControlHueDirection) { |
| MTRColorControlHueDirectionShortestDistance = 0x00, |
| MTRColorControlHueDirectionLongestDistance = 0x01, |
| MTRColorControlHueDirectionUp = 0x02, |
| MTRColorControlHueDirectionDown = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRColorControlHueMoveMode) { |
| MTRColorControlHueMoveModeStop = 0x00, |
| MTRColorControlHueMoveModeUp = 0x01, |
| MTRColorControlHueMoveModeDown = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRColorControlHueStepMode) { |
| MTRColorControlHueStepModeUp = 0x01, |
| MTRColorControlHueStepModeDown = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRColorControlSaturationMoveMode) { |
| MTRColorControlSaturationMoveModeStop = 0x00, |
| MTRColorControlSaturationMoveModeUp = 0x01, |
| MTRColorControlSaturationMoveModeDown = 0x03, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRColorControlSaturationStepMode) { |
| MTRColorControlSaturationStepModeUp = 0x01, |
| MTRColorControlSaturationStepModeDown = 0x03, |
| }; |
| |
| typedef NS_OPTIONS(uint16_t, MTRColorControlColorCapabilities) { |
| MTRColorControlColorCapabilitiesHueSaturationSupported = 0x1, |
| MTRColorControlColorCapabilitiesEnhancedHueSupported = 0x2, |
| MTRColorControlColorCapabilitiesColorLoopSupported = 0x4, |
| MTRColorControlColorCapabilitiesXYAttributesSupported = 0x8, |
| MTRColorControlColorCapabilitiesColorTemperatureSupported = 0x10, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRColorControlFeature) { |
| MTRColorControlFeatureHueAndSaturation = 0x1, |
| MTRColorControlFeatureEnhancedHue = 0x2, |
| MTRColorControlFeatureColorLoop = 0x4, |
| MTRColorControlFeatureXY = 0x8, |
| MTRColorControlFeatureColorTemperature = 0x10, |
| }; |
| |
| typedef NS_OPTIONS(uint8_t, MTRColorControlColorLoopUpdateFlags) { |
| MTRColorControlColorLoopUpdateFlagsUpdateAction = 0x1, |
| MTRColorControlColorLoopUpdateFlagsUpdateDirection = 0x2, |
| MTRColorControlColorLoopUpdateFlagsUpdateTime = 0x4, |
| MTRColorControlColorLoopUpdateFlagsUpdateStartHue = 0x8, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRIlluminanceMeasurementLightSensorType) { |
| MTRIlluminanceMeasurementLightSensorTypePhotodiode = 0x00, |
| MTRIlluminanceMeasurementLightSensorTypeCMOS = 0x01, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRPressureMeasurementPressureFeature) { |
| MTRPressureMeasurementPressureFeatureEXT = 0x1, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRChannelStatus) { |
| MTRChannelStatusSuccess = 0x00, |
| MTRChannelStatusMultipleMatches = 0x01, |
| MTRChannelStatusNoMatches = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRChannelLineupInfoType) { |
| MTRChannelLineupInfoTypeMso = 0x00, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRChannelFeature) { |
| MTRChannelFeatureChannelList = 0x1, |
| MTRChannelFeatureLineupInfo = 0x2, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRTargetNavigatorStatus) { |
| MTRTargetNavigatorStatusSuccess = 0x00, |
| MTRTargetNavigatorStatusTargetNotFound = 0x01, |
| MTRTargetNavigatorStatusNotAllowed = 0x02, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRMediaPlaybackStatus) { |
| MTRMediaPlaybackStatusSuccess = 0x00, |
| MTRMediaPlaybackStatusInvalidStateForCommand = 0x01, |
| MTRMediaPlaybackStatusNotAllowed = 0x02, |
| MTRMediaPlaybackStatusNotActive = 0x03, |
| MTRMediaPlaybackStatusSpeedOutOfRange = 0x04, |
| MTRMediaPlaybackStatusSeekOutOfRange = 0x05, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRMediaPlaybackPlaybackState) { |
| MTRMediaPlaybackPlaybackStatePlaying = 0x00, |
| MTRMediaPlaybackPlaybackStatePaused = 0x01, |
| MTRMediaPlaybackPlaybackStateNotPlaying = 0x02, |
| MTRMediaPlaybackPlaybackStateBuffering = 0x03, |
| }; |
| |
| typedef NS_OPTIONS(uint32_t, MTRMediaPlaybackFeature) { |
| MTRMediaPlaybackFeatureAdvancedSeek = 0x1, |
| MTRMediaPlaybackFeatureVariableSpeed = 0x2, |
| }; |
| |
| 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, |
| }; |
| |
| typedef NS_ENUM(uint8_t, MTRFaultInjectionFaultType) { |
| MTRFaultInjectionFaultTypeUnspecified = 0x00, |
| MTRFaultInjectionFaultTypeSystemFault = 0x01, |
| MTRFaultInjectionFaultTypeInetFault = 0x02, |
| MTRFaultInjectionFaultTypeChipFault = 0x03, |
| MTRFaultInjectionFaultTypeCertFault = 0x04, |
| }; |
| |
| NS_ASSUME_NONNULL_END |