Package apple.matter

Class MTRClusterOnOff

  • All Implemented Interfaces:
    NSObject

    public class MTRClusterOnOff
    extends MTRCluster
    Cluster On/Off Attributes and commands for switching devices between 'On' and 'Off' states. API-Since: 16.1
    • Constructor Detail

      • MTRClusterOnOff

        protected MTRClusterOnOff​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static MTRClusterOnOff allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • initWithDeviceEndpointQueue

        @Deprecated
        public MTRClusterOnOff initWithDeviceEndpointQueue​(@NotNull
                                                           @NotNull MTRDevice device,
                                                           char endpoint,
                                                           @NotNull
                                                           @NotNull dispatch_queue_t queue)
        Deprecated.
        API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please use initWithDevice:endpoindID:queue:
      • initWithDeviceEndpointIDQueue

        public MTRClusterOnOff initWithDeviceEndpointIDQueue​(@NotNull
                                                             @NotNull MTRDevice device,
                                                             @NotNull
                                                             @NotNull NSNumber endpointID,
                                                             @NotNull
                                                             @NotNull dispatch_queue_t queue)
        For all instance methods that take a completion (i.e. command invocations), the completion will be called on the provided queue. API-Since: 16.4
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • offWithExpectedValuesExpectedValueIntervalCompletionHandler

        @Deprecated
        public void offWithExpectedValuesExpectedValueIntervalCompletionHandler​(@Nullable
                                                                                @Nullable NSArray<? extends NSDictionary<java.lang.String,​?>> expectedValues,
                                                                                @Nullable
                                                                                @Nullable NSNumber expectedValueIntervalMs,
                                                                                @NotNull
                                                                                @NotNull MTRClusterOnOff.Block_offWithExpectedValuesExpectedValueIntervalCompletionHandler completionHandler)
        Deprecated.
        API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please use offWithExpectedValues:expectedValueInterval:completion:
      • onWithExpectedValuesExpectedValueIntervalCompletionHandler

        @Deprecated
        public void onWithExpectedValuesExpectedValueIntervalCompletionHandler​(@Nullable
                                                                               @Nullable NSArray<? extends NSDictionary<java.lang.String,​?>> expectedValues,
                                                                               @Nullable
                                                                               @Nullable NSNumber expectedValueIntervalMs,
                                                                               @NotNull
                                                                               @NotNull MTRClusterOnOff.Block_onWithExpectedValuesExpectedValueIntervalCompletionHandler completionHandler)
        Deprecated.
        API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please use onWithExpectedValues:expectedValueInterval:completion:
      • readAttributeAcceptedCommandListWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeAcceptedCommandListWithParams​(@Nullable
                                                                                                           @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeAttributeListWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeAttributeListWithParams​(@Nullable
                                                                                                     @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeClusterRevisionWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeClusterRevisionWithParams​(@Nullable
                                                                                                       @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeFeatureMapWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeFeatureMapWithParams​(@Nullable
                                                                                                  @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeGeneratedCommandListWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeGeneratedCommandListWithParams​(@Nullable
                                                                                                            @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeGlobalSceneControlWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeGlobalSceneControlWithParams​(@Nullable
                                                                                                          @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeOffWaitTimeWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeOffWaitTimeWithParams​(@Nullable
                                                                                                   @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeOnOffWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeOnOffWithParams​(@Nullable
                                                                                             @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeOnTimeWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeOnTimeWithParams​(@Nullable
                                                                                              @Nullable MTRReadParams params)
        API-Since: 16.1
      • readAttributeStartUpOnOffWithParams

        @Nullable
        public @Nullable NSDictionary<java.lang.String,​?> readAttributeStartUpOnOffWithParams​(@Nullable
                                                                                                    @Nullable MTRReadParams params)
        API-Since: 16.1
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • toggleWithExpectedValuesExpectedValueIntervalCompletionHandler

        @Deprecated
        public void toggleWithExpectedValuesExpectedValueIntervalCompletionHandler​(@Nullable
                                                                                   @Nullable NSArray<? extends NSDictionary<java.lang.String,​?>> expectedValues,
                                                                                   @Nullable
                                                                                   @Nullable NSNumber expectedValueIntervalMs,
                                                                                   @NotNull
                                                                                   @NotNull MTRClusterOnOff.Block_toggleWithExpectedValuesExpectedValueIntervalCompletionHandler completionHandler)
        Deprecated.
        API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please use toggleWithExpectedValues:expectedValueInterval:completion:
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.
      • version_static

        public static long version_static()
      • writeAttributeOffWaitTimeWithValueExpectedValueInterval

        public void writeAttributeOffWaitTimeWithValueExpectedValueInterval​(@NotNull
                                                                            @NotNull NSDictionary<java.lang.String,​?> dataValueDictionary,
                                                                            @NotNull
                                                                            @NotNull NSNumber expectedValueIntervalMs)
        API-Since: 16.1
      • writeAttributeOffWaitTimeWithValueExpectedValueIntervalParams

        public void writeAttributeOffWaitTimeWithValueExpectedValueIntervalParams​(@NotNull
                                                                                  @NotNull NSDictionary<java.lang.String,​?> dataValueDictionary,
                                                                                  @NotNull
                                                                                  @NotNull NSNumber expectedValueIntervalMs,
                                                                                  @Nullable
                                                                                  @Nullable MTRWriteParams params)
        API-Since: 16.1
      • writeAttributeOnTimeWithValueExpectedValueInterval

        public void writeAttributeOnTimeWithValueExpectedValueInterval​(@NotNull
                                                                       @NotNull NSDictionary<java.lang.String,​?> dataValueDictionary,
                                                                       @NotNull
                                                                       @NotNull NSNumber expectedValueIntervalMs)
        API-Since: 16.1
      • writeAttributeOnTimeWithValueExpectedValueIntervalParams

        public void writeAttributeOnTimeWithValueExpectedValueIntervalParams​(@NotNull
                                                                             @NotNull NSDictionary<java.lang.String,​?> dataValueDictionary,
                                                                             @NotNull
                                                                             @NotNull NSNumber expectedValueIntervalMs,
                                                                             @Nullable
                                                                             @Nullable MTRWriteParams params)
        API-Since: 16.1
      • writeAttributeStartUpOnOffWithValueExpectedValueInterval

        public void writeAttributeStartUpOnOffWithValueExpectedValueInterval​(@NotNull
                                                                             @NotNull NSDictionary<java.lang.String,​?> dataValueDictionary,
                                                                             @NotNull
                                                                             @NotNull NSNumber expectedValueIntervalMs)
        API-Since: 16.1
      • writeAttributeStartUpOnOffWithValueExpectedValueIntervalParams

        public void writeAttributeStartUpOnOffWithValueExpectedValueIntervalParams​(@NotNull
                                                                                   @NotNull NSDictionary<java.lang.String,​?> dataValueDictionary,
                                                                                   @NotNull
                                                                                   @NotNull NSNumber expectedValueIntervalMs,
                                                                                   @Nullable
                                                                                   @Nullable MTRWriteParams params)
        API-Since: 16.1