diff --git a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
index d39ad6fc0abb11..d1db961895a078 100644
--- a/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
+++ b/examples/all-clusters-app/all-clusters-common/all-clusters-app.matter
@@ -963,6 +963,12 @@ server cluster DoorLock = 257 {
kForcedDoorOpenUnderDoorLockedCondition = 0x40;
}
+ bitmap DlCredentialRuleMask : BITMAP8 {
+ kSingle = 0x1;
+ kDual = 0x2;
+ kTri = 0x4;
+ }
+
bitmap DlCredentialRulesSupport : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
@@ -1154,13 +1160,13 @@ server cluster DoorLock = 257 {
readonly attribute int8u minPINCodeLength = 24;
readonly attribute int8u maxRFIDCodeLength = 25;
readonly attribute int8u minRFIDCodeLength = 26;
- readonly attribute bitmap8 credentialRulesSupport = 27;
+ readonly attribute DlCredentialRuleMask credentialRulesSupport = 27;
attribute char_string<3> language = 33;
attribute int32u autoRelockTime = 35;
attribute int8u soundVolume = 36;
attribute DlOperatingMode operatingMode = 37;
- readonly attribute bitmap16 supportedOperatingModes = 38;
- readonly attribute bitmap16 defaultConfigurationRegister = 39;
+ readonly attribute DlSupportedOperatingModes supportedOperatingModes = 38;
+ readonly attribute DlDefaultConfigurationRegister defaultConfigurationRegister = 39;
attribute boolean enableOneTouchLocking = 41;
attribute boolean enableInsideStatusLED = 42;
attribute boolean enablePrivacyModeButton = 43;
diff --git a/examples/door-lock-app/door-lock-common/door-lock-app.matter b/examples/door-lock-app/door-lock-common/door-lock-app.matter
index cd3a9880e1b3cb..e3b1801ed4055f 100644
--- a/examples/door-lock-app/door-lock-common/door-lock-app.matter
+++ b/examples/door-lock-app/door-lock-common/door-lock-app.matter
@@ -382,6 +382,12 @@ server cluster DoorLock = 257 {
kForcedDoorOpenUnderDoorLockedCondition = 0x40;
}
+ bitmap DlCredentialRuleMask : BITMAP8 {
+ kSingle = 0x1;
+ kDual = 0x2;
+ kTri = 0x4;
+ }
+
bitmap DlCredentialRulesSupport : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
@@ -569,12 +575,12 @@ server cluster DoorLock = 257 {
readonly attribute int8u minPINCodeLength = 24;
readonly attribute int8u maxRFIDCodeLength = 25;
readonly attribute int8u minRFIDCodeLength = 26;
- readonly attribute bitmap8 credentialRulesSupport = 27;
+ readonly attribute DlCredentialRuleMask credentialRulesSupport = 27;
attribute char_string<3> language = 33;
attribute int32u autoRelockTime = 35;
attribute int8u soundVolume = 36;
attribute DlOperatingMode operatingMode = 37;
- readonly attribute bitmap16 supportedOperatingModes = 38;
+ readonly attribute DlSupportedOperatingModes supportedOperatingModes = 38;
attribute boolean enableOneTouchLocking = 41;
attribute boolean enablePrivacyModeButton = 43;
attribute int8u wrongCodeEntryLimit = 48;
diff --git a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
index 9dc39d2c85a8b0..95bfda66b02b6b 100644
--- a/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
+++ b/examples/tv-casting-app/tv-casting-common/tv-casting-app.matter
@@ -922,6 +922,12 @@ server cluster DoorLock = 257 {
kForcedDoorOpenUnderDoorLockedCondition = 0x40;
}
+ bitmap DlCredentialRuleMask : BITMAP8 {
+ kSingle = 0x1;
+ kDual = 0x2;
+ kTri = 0x4;
+ }
+
bitmap DlCredentialRulesSupport : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
@@ -1110,13 +1116,13 @@ server cluster DoorLock = 257 {
readonly attribute int8u numberOfHolidaySchedulesSupported = 22;
readonly attribute int8u maxPINCodeLength = 23;
readonly attribute int8u minPINCodeLength = 24;
- readonly attribute bitmap8 credentialRulesSupport = 27;
+ readonly attribute DlCredentialRuleMask credentialRulesSupport = 27;
attribute char_string<3> language = 33;
attribute int32u autoRelockTime = 35;
attribute int8u soundVolume = 36;
attribute DlOperatingMode operatingMode = 37;
- readonly attribute bitmap16 supportedOperatingModes = 38;
- readonly attribute bitmap16 defaultConfigurationRegister = 39;
+ readonly attribute DlSupportedOperatingModes supportedOperatingModes = 38;
+ readonly attribute DlDefaultConfigurationRegister defaultConfigurationRegister = 39;
attribute boolean enableOneTouchLocking = 41;
attribute boolean enableInsideStatusLED = 42;
attribute boolean enablePrivacyModeButton = 43;
diff --git a/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml b/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml
index 0af50b69c7be7f..bd05cae4f1e937 100644
--- a/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml
+++ b/src/app/zap-templates/zcl/data-model/chip/door-lock-cluster.xml
@@ -109,7 +109,7 @@ limitations under the License.
MinRFIDCodeLength
- CredentialRulesSupport
+ CredentialRulesSupport
EnableLogging
@@ -141,8 +141,8 @@ limitations under the License.
- SupportedOperatingModes
- DefaultConfigurationRegister
+ SupportedOperatingModes
+ DefaultConfigurationRegister
EnableLocalProgramming
@@ -163,7 +163,7 @@ limitations under the License.
-
+
LocalProgrammingFeatures
@@ -199,49 +199,49 @@ limitations under the License.
-
+
AlarmMask
-
+
KeypadOperationEventMask
-
+
RemoteOperationEventMask
-
+
ManualOperationEventMask
-
+
RFIDOperationEventMask
-
+
KeypadProgrammingEventMask
-
+
RemoteProgrammingEventMask
-
+
RFIDProgrammingEventMask
@@ -663,6 +663,13 @@ limitations under the License.
+
+
+
+
+
+
+
@@ -882,7 +889,7 @@ limitations under the License.
-
+
diff --git a/src/controller/data_model/controller-clusters.matter b/src/controller/data_model/controller-clusters.matter
index 0ba1b9da8ad16f..f45c0e17f0d0fd 100644
--- a/src/controller/data_model/controller-clusters.matter
+++ b/src/controller/data_model/controller-clusters.matter
@@ -1249,6 +1249,12 @@ client cluster DoorLock = 257 {
kForcedDoorOpenUnderDoorLockedCondition = 0x40;
}
+ bitmap DlCredentialRuleMask : BITMAP8 {
+ kSingle = 0x1;
+ kDual = 0x2;
+ kTri = 0x4;
+ }
+
bitmap DlCredentialRulesSupport : BITMAP8 {
kSingle = 0x1;
kDual = 0x2;
@@ -1440,7 +1446,7 @@ client cluster DoorLock = 257 {
attribute int32u autoRelockTime = 35;
attribute int8u soundVolume = 36;
attribute DlOperatingMode operatingMode = 37;
- readonly attribute bitmap16 supportedOperatingModes = 38;
+ readonly attribute DlSupportedOperatingModes supportedOperatingModes = 38;
attribute boolean enableOneTouchLocking = 41;
attribute boolean enablePrivacyModeButton = 43;
attribute int8u wrongCodeEntryLimit = 48;
diff --git a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
index 0f1188b2e1d185..5a9a0ba4d8ebbc 100644
--- a/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
+++ b/src/controller/java/zap-generated/CHIPAttributeTLVValueDecoder.cpp
@@ -4631,7 +4631,7 @@ jobject DecodeAttributeValue(const app::ConcreteAttributePath & aPath, TLV::TLVR
std::string valueClassName = "java/lang/Integer";
std::string valueCtorSignature = "(I)V";
chip::JniReferences::GetInstance().CreateBoxedObject(valueClassName.c_str(), valueCtorSignature.c_str(),
- cppValue, value);
+ cppValue.Raw(), value);
return value;
}
case Attributes::EnableOneTouchLocking::Id: {
diff --git a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
index 31fc6c2c19cd69..d26a529c668b93 100644
--- a/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
+++ b/src/controller/java/zap-generated/chip/devicecontroller/ChipClusters.java
@@ -21,6 +21,7 @@
import androidx.annotation.Nullable;
import java.util.ArrayList;
+import java.util.Arrays;
import java.util.List;
import java.util.Optional;
@@ -28,69 +29,54 @@ public class ChipClusters {
public interface DefaultClusterCallback {
void onSuccess();
-
void onError(Exception error);
}
public interface CharStringAttributeCallback {
/** Indicates a successful read for a CHAR_STRING attribute. */
void onSuccess(String value);
-
void onError(Exception error);
-
default void onSubscriptionEstablished() {}
}
public interface OctetStringAttributeCallback {
/** Indicates a successful read for an OCTET_STRING attribute. */
void onSuccess(byte[] value);
-
void onError(Exception error);
-
default void onSubscriptionEstablished() {}
}
public interface IntegerAttributeCallback {
void onSuccess(int value);
-
void onError(Exception error);
-
default void onSubscriptionEstablished() {}
}
public interface LongAttributeCallback {
void onSuccess(long value);
-
void onError(Exception error);
-
default void onSubscriptionEstablished() {}
}
public interface BooleanAttributeCallback {
void onSuccess(boolean value);
-
void onError(Exception error);
-
default void onSubscriptionEstablished() {}
}
public interface FloatAttributeCallback {
void onSuccess(float value);
-
void onError(Exception error);
-
default void onSubscriptionEstablished() {}
}
public interface DoubleAttributeCallback {
void onSuccess(double value);
-
void onError(Exception error);
-
default void onSubscriptionEstablished() {}
}
- public abstract static class BaseChipCluster {
+ public static abstract class BaseChipCluster {
protected long chipClusterPtr;
public BaseChipCluster(long devicePtr, int endpointId) {
@@ -100,7 +86,7 @@ public BaseChipCluster(long devicePtr, int endpointId) {
public abstract long initWithDevice(long devicePtr, int endpointId);
public native void deleteCluster(long chipClusterPtr);
-
+
@SuppressWarnings("deprecation")
protected void finalize() throws Throwable {
super.finalize();
@@ -122,185 +108,163 @@ public AccessControlCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public interface AclAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ExtensionAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface AclAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ExtensionAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readAclAttribute(AclAttributeCallback callback) {
+ public void readAclAttribute(
+ AclAttributeCallback callback
+ ) {
readAclAttribute(chipClusterPtr, callback);
}
-
- public void writeAclAttribute(
- DefaultClusterCallback callback,
- ArrayList value) {
+ public void writeAclAttribute(DefaultClusterCallback callback, ArrayList value) {
writeAclAttribute(chipClusterPtr, callback, value, null);
}
- public void writeAclAttribute(
- DefaultClusterCallback callback,
- ArrayList value,
- int timedWriteTimeoutMs) {
+ public void writeAclAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) {
writeAclAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeAclAttribute(
- AclAttributeCallback callback, int minInterval, int maxInterval) {
+ AclAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAclAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readExtensionAttribute(ExtensionAttributeCallback callback) {
+ public void readExtensionAttribute(
+ ExtensionAttributeCallback callback
+ ) {
readExtensionAttribute(chipClusterPtr, callback);
}
-
- public void writeExtensionAttribute(
- DefaultClusterCallback callback,
- ArrayList value) {
+ public void writeExtensionAttribute(DefaultClusterCallback callback, ArrayList value) {
writeExtensionAttribute(chipClusterPtr, callback, value, null);
}
- public void writeExtensionAttribute(
- DefaultClusterCallback callback,
- ArrayList value,
- int timedWriteTimeoutMs) {
+ public void writeExtensionAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) {
writeExtensionAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeExtensionAttribute(
- ExtensionAttributeCallback callback, int minInterval, int maxInterval) {
+ ExtensionAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeExtensionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readAclAttribute(long chipClusterPtr, AclAttributeCallback callback);
-
- private native void writeAclAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- ArrayList value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeAclAttribute(
- long chipClusterPtr, AclAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readExtensionAttribute(
- long chipClusterPtr, ExtensionAttributeCallback callback);
-
- private native void writeExtensionAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- ArrayList value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeExtensionAttribute(
- long chipClusterPtr, ExtensionAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readAclAttribute(long chipClusterPtr,
+ AclAttributeCallback callback
+ );
+
+ private native void writeAclAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeAclAttribute(long chipClusterPtr,
+ AclAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readExtensionAttribute(long chipClusterPtr,
+ ExtensionAttributeCallback callback
+ );
+
+ private native void writeExtensionAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeExtensionAttribute(long chipClusterPtr,
+ ExtensionAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class AccountLoginCluster extends BaseChipCluster {
@@ -313,146 +277,133 @@ public AccountLoginCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void getSetupPIN(
- GetSetupPINResponseCallback callback,
- String tempAccountIdentifier,
- int timedInvokeTimeoutMs) {
+
+ public void getSetupPIN(GetSetupPINResponseCallback callback
+ , String tempAccountIdentifier
+ , int timedInvokeTimeoutMs) {
getSetupPIN(chipClusterPtr, callback, tempAccountIdentifier, timedInvokeTimeoutMs);
}
- public void login(
- DefaultClusterCallback callback,
- String tempAccountIdentifier,
- String setupPIN,
- int timedInvokeTimeoutMs) {
+
+ public void login(DefaultClusterCallback callback
+ , String tempAccountIdentifier, String setupPIN
+ , int timedInvokeTimeoutMs) {
login(chipClusterPtr, callback, tempAccountIdentifier, setupPIN, timedInvokeTimeoutMs);
}
- public void logout(DefaultClusterCallback callback, int timedInvokeTimeoutMs) {
+ public void logout(DefaultClusterCallback callback
+
+ , int timedInvokeTimeoutMs) {
logout(chipClusterPtr, callback, timedInvokeTimeoutMs);
}
-
- private native void getSetupPIN(
- long chipClusterPtr,
- GetSetupPINResponseCallback Callback,
- String tempAccountIdentifier,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void login(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- String tempAccountIdentifier,
- String setupPIN,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void logout(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- @Nullable Integer timedInvokeTimeoutMs);
-
+ private native void getSetupPIN(long chipClusterPtr, GetSetupPINResponseCallback Callback
+ , String tempAccountIdentifier
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void login(long chipClusterPtr, DefaultClusterCallback Callback
+ , String tempAccountIdentifier, String setupPIN
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void logout(long chipClusterPtr, DefaultClusterCallback Callback
+
+ , @Nullable Integer timedInvokeTimeoutMs);
public interface GetSetupPINResponseCallback {
void onSuccess(String setupPIN);
-
+
void onError(Exception error);
}
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class AdministratorCommissioningCluster extends BaseChipCluster {
@@ -465,209 +416,189 @@ public AdministratorCommissioningCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void openBasicCommissioningWindow(
- DefaultClusterCallback callback, Integer commissioningTimeout, int timedInvokeTimeoutMs) {
- openBasicCommissioningWindow(
- chipClusterPtr, callback, commissioningTimeout, timedInvokeTimeoutMs);
- }
-
- public void openCommissioningWindow(
- DefaultClusterCallback callback,
- Integer commissioningTimeout,
- byte[] PAKEVerifier,
- Integer discriminator,
- Long iterations,
- byte[] salt,
- int timedInvokeTimeoutMs) {
- openCommissioningWindow(
- chipClusterPtr,
- callback,
- commissioningTimeout,
- PAKEVerifier,
- discriminator,
- iterations,
- salt,
- timedInvokeTimeoutMs);
- }
-
- public void revokeCommissioning(DefaultClusterCallback callback, int timedInvokeTimeoutMs) {
-
- revokeCommissioning(chipClusterPtr, callback, timedInvokeTimeoutMs);
- }
-
- private native void openBasicCommissioningWindow(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer commissioningTimeout,
- @Nullable Integer timedInvokeTimeoutMs);
- private native void openCommissioningWindow(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer commissioningTimeout,
- byte[] PAKEVerifier,
- Integer discriminator,
- Long iterations,
- byte[] salt,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void revokeCommissioning(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- @Nullable Integer timedInvokeTimeoutMs);
-
- public interface AdminFabricIndexAttributeCallback {
- void onSuccess(Integer value);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
+ public void openBasicCommissioningWindow(DefaultClusterCallback callback
+ , Integer commissioningTimeout
+ , int timedInvokeTimeoutMs) {
+ openBasicCommissioningWindow(chipClusterPtr, callback, commissioningTimeout, timedInvokeTimeoutMs);
}
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
+ public void openCommissioningWindow(DefaultClusterCallback callback
+ , Integer commissioningTimeout, byte[] PAKEVerifier, Integer discriminator, Long iterations, byte[] salt
+ , int timedInvokeTimeoutMs) {
+ openCommissioningWindow(chipClusterPtr, callback, commissioningTimeout, PAKEVerifier, discriminator, iterations, salt, timedInvokeTimeoutMs);
}
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
- default void onSubscriptionEstablished() {}
+ public void revokeCommissioning(DefaultClusterCallback callback
+
+ , int timedInvokeTimeoutMs) {
+ revokeCommissioning(chipClusterPtr, callback, timedInvokeTimeoutMs);
}
+ private native void openBasicCommissioningWindow(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer commissioningTimeout
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void openCommissioningWindow(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer commissioningTimeout, byte[] PAKEVerifier, Integer discriminator, Long iterations, byte[] salt
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void revokeCommissioning(long chipClusterPtr, DefaultClusterCallback Callback
+
+ , @Nullable Integer timedInvokeTimeoutMs);
+
+ public interface AdminFabricIndexAttributeCallback {
+ void onSuccess( Integer value);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readWindowStatusAttribute(IntegerAttributeCallback callback) {
+ public void readWindowStatusAttribute(
+ IntegerAttributeCallback callback
+ ) {
readWindowStatusAttribute(chipClusterPtr, callback);
}
-
public void subscribeWindowStatusAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeWindowStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAdminFabricIndexAttribute(AdminFabricIndexAttributeCallback callback) {
+ public void readAdminFabricIndexAttribute(
+ AdminFabricIndexAttributeCallback callback
+ ) {
readAdminFabricIndexAttribute(chipClusterPtr, callback);
}
-
public void subscribeAdminFabricIndexAttribute(
- AdminFabricIndexAttributeCallback callback, int minInterval, int maxInterval) {
+ AdminFabricIndexAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAdminFabricIndexAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAdminVendorIdAttribute(IntegerAttributeCallback callback) {
+ public void readAdminVendorIdAttribute(
+ IntegerAttributeCallback callback
+ ) {
readAdminVendorIdAttribute(chipClusterPtr, callback);
}
-
public void subscribeAdminVendorIdAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeAdminVendorIdAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readWindowStatusAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeWindowStatusAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readAdminFabricIndexAttribute(
- long chipClusterPtr, AdminFabricIndexAttributeCallback callback);
-
- private native void subscribeAdminFabricIndexAttribute(
- long chipClusterPtr,
- AdminFabricIndexAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAdminVendorIdAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeAdminVendorIdAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readWindowStatusAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeWindowStatusAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readAdminFabricIndexAttribute(long chipClusterPtr,
+ AdminFabricIndexAttributeCallback callback
+ );
+ private native void subscribeAdminFabricIndexAttribute(long chipClusterPtr,
+ AdminFabricIndexAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAdminVendorIdAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeAdminVendorIdAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class ApplicationBasicCluster extends BaseChipCluster {
@@ -680,226 +611,235 @@ public ApplicationBasicCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public interface AllowedVendorListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface AllowedVendorListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readVendorNameAttribute(CharStringAttributeCallback callback) {
+ public void readVendorNameAttribute(
+ CharStringAttributeCallback callback
+ ) {
readVendorNameAttribute(chipClusterPtr, callback);
}
-
public void subscribeVendorNameAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readVendorIDAttribute(IntegerAttributeCallback callback) {
+ public void readVendorIDAttribute(
+ IntegerAttributeCallback callback
+ ) {
readVendorIDAttribute(chipClusterPtr, callback);
}
-
public void subscribeVendorIDAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readApplicationNameAttribute(CharStringAttributeCallback callback) {
+ public void readApplicationNameAttribute(
+ CharStringAttributeCallback callback
+ ) {
readApplicationNameAttribute(chipClusterPtr, callback);
}
-
public void subscribeApplicationNameAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeApplicationNameAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readProductIDAttribute(IntegerAttributeCallback callback) {
+ public void readProductIDAttribute(
+ IntegerAttributeCallback callback
+ ) {
readProductIDAttribute(chipClusterPtr, callback);
}
-
public void subscribeProductIDAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeProductIDAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readStatusAttribute(IntegerAttributeCallback callback) {
+ public void readStatusAttribute(
+ IntegerAttributeCallback callback
+ ) {
readStatusAttribute(chipClusterPtr, callback);
}
-
public void subscribeStatusAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readApplicationVersionAttribute(CharStringAttributeCallback callback) {
+ public void readApplicationVersionAttribute(
+ CharStringAttributeCallback callback
+ ) {
readApplicationVersionAttribute(chipClusterPtr, callback);
}
-
public void subscribeApplicationVersionAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeApplicationVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAllowedVendorListAttribute(AllowedVendorListAttributeCallback callback) {
+ public void readAllowedVendorListAttribute(
+ AllowedVendorListAttributeCallback callback
+ ) {
readAllowedVendorListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAllowedVendorListAttribute(
- AllowedVendorListAttributeCallback callback, int minInterval, int maxInterval) {
+ AllowedVendorListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAllowedVendorListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readVendorNameAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeVendorNameAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readVendorIDAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeVendorIDAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readApplicationNameAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeApplicationNameAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readProductIDAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeProductIDAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readStatusAttribute(long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeStatusAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readApplicationVersionAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeApplicationVersionAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAllowedVendorListAttribute(
- long chipClusterPtr, AllowedVendorListAttributeCallback callback);
-
- private native void subscribeAllowedVendorListAttribute(
- long chipClusterPtr,
- AllowedVendorListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readVendorNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeVendorNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readVendorIDAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeVendorIDAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readApplicationNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeApplicationNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readProductIDAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeProductIDAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readStatusAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeStatusAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readApplicationVersionAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeApplicationVersionAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readAllowedVendorListAttribute(long chipClusterPtr,
+ AllowedVendorListAttributeCallback callback
+ );
+ private native void subscribeAllowedVendorListAttribute(long chipClusterPtr,
+ AllowedVendorListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class ApplicationLauncherCluster extends BaseChipCluster {
@@ -912,194 +852,169 @@ public ApplicationLauncherCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void hideApp(
- LauncherResponseCallback callback,
- ChipStructs.ApplicationLauncherClusterApplication application) {
+ public void hideApp(LauncherResponseCallback callback
+ , ChipStructs.ApplicationLauncherClusterApplication application) {
hideApp(chipClusterPtr, callback, application, null);
}
- public void hideApp(
- LauncherResponseCallback callback,
- ChipStructs.ApplicationLauncherClusterApplication application,
- int timedInvokeTimeoutMs) {
+ public void hideApp(LauncherResponseCallback callback
+ , ChipStructs.ApplicationLauncherClusterApplication application
+ , int timedInvokeTimeoutMs) {
hideApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs);
}
- public void launchApp(
- LauncherResponseCallback callback,
- ChipStructs.ApplicationLauncherClusterApplication application,
- Optional data) {
+ public void launchApp(LauncherResponseCallback callback
+ , ChipStructs.ApplicationLauncherClusterApplication application, Optional data) {
launchApp(chipClusterPtr, callback, application, data, null);
}
- public void launchApp(
- LauncherResponseCallback callback,
- ChipStructs.ApplicationLauncherClusterApplication application,
- Optional data,
- int timedInvokeTimeoutMs) {
+ public void launchApp(LauncherResponseCallback callback
+ , ChipStructs.ApplicationLauncherClusterApplication application, Optional data
+ , int timedInvokeTimeoutMs) {
launchApp(chipClusterPtr, callback, application, data, timedInvokeTimeoutMs);
}
- public void stopApp(
- LauncherResponseCallback callback,
- ChipStructs.ApplicationLauncherClusterApplication application) {
+ public void stopApp(LauncherResponseCallback callback
+ , ChipStructs.ApplicationLauncherClusterApplication application) {
stopApp(chipClusterPtr, callback, application, null);
}
- public void stopApp(
- LauncherResponseCallback callback,
- ChipStructs.ApplicationLauncherClusterApplication application,
- int timedInvokeTimeoutMs) {
+ public void stopApp(LauncherResponseCallback callback
+ , ChipStructs.ApplicationLauncherClusterApplication application
+ , int timedInvokeTimeoutMs) {
stopApp(chipClusterPtr, callback, application, timedInvokeTimeoutMs);
}
-
- private native void hideApp(
- long chipClusterPtr,
- LauncherResponseCallback Callback,
- ChipStructs.ApplicationLauncherClusterApplication application,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void launchApp(
- long chipClusterPtr,
- LauncherResponseCallback Callback,
- ChipStructs.ApplicationLauncherClusterApplication application,
- Optional data,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void stopApp(
- long chipClusterPtr,
- LauncherResponseCallback Callback,
- ChipStructs.ApplicationLauncherClusterApplication application,
- @Nullable Integer timedInvokeTimeoutMs);
-
+ private native void hideApp(long chipClusterPtr, LauncherResponseCallback Callback
+ , ChipStructs.ApplicationLauncherClusterApplication application
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void launchApp(long chipClusterPtr, LauncherResponseCallback Callback
+ , ChipStructs.ApplicationLauncherClusterApplication application, Optional data
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void stopApp(long chipClusterPtr, LauncherResponseCallback Callback
+ , ChipStructs.ApplicationLauncherClusterApplication application
+ , @Nullable Integer timedInvokeTimeoutMs);
public interface LauncherResponseCallback {
void onSuccess(Integer status, byte[] data);
-
+
void onError(Exception error);
}
- public interface CatalogListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
- default void onSubscriptionEstablished() {}
- }
+ public interface CatalogListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readCatalogListAttribute(CatalogListAttributeCallback callback) {
+ public void readCatalogListAttribute(
+ CatalogListAttributeCallback callback
+ ) {
readCatalogListAttribute(chipClusterPtr, callback);
}
-
public void subscribeCatalogListAttribute(
- CatalogListAttributeCallback callback, int minInterval, int maxInterval) {
+ CatalogListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeCatalogListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readCatalogListAttribute(
- long chipClusterPtr, CatalogListAttributeCallback callback);
-
- private native void subscribeCatalogListAttribute(
- long chipClusterPtr,
- CatalogListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readCatalogListAttribute(long chipClusterPtr,
+ CatalogListAttributeCallback callback
+ );
+ private native void subscribeCatalogListAttribute(long chipClusterPtr,
+ CatalogListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class AudioOutputCluster extends BaseChipCluster {
@@ -1112,371 +1027,375 @@ public AudioOutputCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void renameOutput(DefaultClusterCallback callback, Integer index, String name) {
+ public void renameOutput(DefaultClusterCallback callback
+ , Integer index, String name) {
renameOutput(chipClusterPtr, callback, index, name, null);
}
- public void renameOutput(
- DefaultClusterCallback callback, Integer index, String name, int timedInvokeTimeoutMs) {
+ public void renameOutput(DefaultClusterCallback callback
+ , Integer index, String name
+ , int timedInvokeTimeoutMs) {
renameOutput(chipClusterPtr, callback, index, name, timedInvokeTimeoutMs);
}
- public void selectOutput(DefaultClusterCallback callback, Integer index) {
+ public void selectOutput(DefaultClusterCallback callback
+ , Integer index) {
selectOutput(chipClusterPtr, callback, index, null);
}
- public void selectOutput(
- DefaultClusterCallback callback, Integer index, int timedInvokeTimeoutMs) {
+ public void selectOutput(DefaultClusterCallback callback
+ , Integer index
+ , int timedInvokeTimeoutMs) {
selectOutput(chipClusterPtr, callback, index, timedInvokeTimeoutMs);
}
+ private native void renameOutput(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer index, String name
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void selectOutput(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer index
+ , @Nullable Integer timedInvokeTimeoutMs);
+
+ public interface OutputListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- private native void renameOutput(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer index,
- String name,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void selectOutput(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer index,
- @Nullable Integer timedInvokeTimeoutMs);
-
- public interface OutputListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public void readOutputListAttribute(OutputListAttributeCallback callback) {
+ public void readOutputListAttribute(
+ OutputListAttributeCallback callback
+ ) {
readOutputListAttribute(chipClusterPtr, callback);
}
-
public void subscribeOutputListAttribute(
- OutputListAttributeCallback callback, int minInterval, int maxInterval) {
+ OutputListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeOutputListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readCurrentOutputAttribute(IntegerAttributeCallback callback) {
+ public void readCurrentOutputAttribute(
+ IntegerAttributeCallback callback
+ ) {
readCurrentOutputAttribute(chipClusterPtr, callback);
}
-
public void subscribeCurrentOutputAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeCurrentOutputAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readOutputListAttribute(
- long chipClusterPtr, OutputListAttributeCallback callback);
-
- private native void subscribeOutputListAttribute(
- long chipClusterPtr,
- OutputListAttributeCallback callback,
- int minInterval,
- int maxInterval);
+ private native void readOutputListAttribute(long chipClusterPtr,
+ OutputListAttributeCallback callback
+ );
+ private native void subscribeOutputListAttribute(long chipClusterPtr,
+ OutputListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readCurrentOutputAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeCurrentOutputAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+ }
- private native void readCurrentOutputAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
+ public static class BarrierControlCluster extends BaseChipCluster {
+ public static final long CLUSTER_ID = 259L;
- private native void subscribeCurrentOutputAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ public BarrierControlCluster(long devicePtr, int endpointId) {
+ super(devicePtr, endpointId);
+ }
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
+ @Override
+ public native long initWithDevice(long devicePtr, int endpointId);
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
- }
-
- public static class BarrierControlCluster extends BaseChipCluster {
- public static final long CLUSTER_ID = 259L;
-
- public BarrierControlCluster(long devicePtr, int endpointId) {
- super(devicePtr, endpointId);
- }
-
- @Override
- public native long initWithDevice(long devicePtr, int endpointId);
-
- public void barrierControlGoToPercent(DefaultClusterCallback callback, Integer percentOpen) {
+ public void barrierControlGoToPercent(DefaultClusterCallback callback
+ , Integer percentOpen) {
barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, null);
}
- public void barrierControlGoToPercent(
- DefaultClusterCallback callback, Integer percentOpen, int timedInvokeTimeoutMs) {
+ public void barrierControlGoToPercent(DefaultClusterCallback callback
+ , Integer percentOpen
+ , int timedInvokeTimeoutMs) {
barrierControlGoToPercent(chipClusterPtr, callback, percentOpen, timedInvokeTimeoutMs);
}
- public void barrierControlStop(DefaultClusterCallback callback) {
+ public void barrierControlStop(DefaultClusterCallback callback
+ ) {
barrierControlStop(chipClusterPtr, callback, null);
}
- public void barrierControlStop(DefaultClusterCallback callback, int timedInvokeTimeoutMs) {
-
+ public void barrierControlStop(DefaultClusterCallback callback
+
+ , int timedInvokeTimeoutMs) {
barrierControlStop(chipClusterPtr, callback, timedInvokeTimeoutMs);
}
+ private native void barrierControlGoToPercent(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer percentOpen
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void barrierControlStop(long chipClusterPtr, DefaultClusterCallback Callback
+
+ , @Nullable Integer timedInvokeTimeoutMs);
+
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- private native void barrierControlGoToPercent(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer percentOpen,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void barrierControlStop(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- @Nullable Integer timedInvokeTimeoutMs);
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public void readBarrierMovingStateAttribute(IntegerAttributeCallback callback) {
+ public void readBarrierMovingStateAttribute(
+ IntegerAttributeCallback callback
+ ) {
readBarrierMovingStateAttribute(chipClusterPtr, callback);
}
-
public void subscribeBarrierMovingStateAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeBarrierMovingStateAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readBarrierSafetyStatusAttribute(IntegerAttributeCallback callback) {
+ public void readBarrierSafetyStatusAttribute(
+ IntegerAttributeCallback callback
+ ) {
readBarrierSafetyStatusAttribute(chipClusterPtr, callback);
}
-
public void subscribeBarrierSafetyStatusAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeBarrierSafetyStatusAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readBarrierCapabilitiesAttribute(IntegerAttributeCallback callback) {
+ public void readBarrierCapabilitiesAttribute(
+ IntegerAttributeCallback callback
+ ) {
readBarrierCapabilitiesAttribute(chipClusterPtr, callback);
}
-
public void subscribeBarrierCapabilitiesAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeBarrierCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readBarrierPositionAttribute(IntegerAttributeCallback callback) {
+ public void readBarrierPositionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readBarrierPositionAttribute(chipClusterPtr, callback);
}
-
public void subscribeBarrierPositionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeBarrierPositionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readBarrierMovingStateAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeBarrierMovingStateAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readBarrierSafetyStatusAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeBarrierSafetyStatusAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readBarrierCapabilitiesAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeBarrierCapabilitiesAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readBarrierPositionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeBarrierPositionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readBarrierMovingStateAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeBarrierMovingStateAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readBarrierSafetyStatusAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeBarrierSafetyStatusAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readBarrierCapabilitiesAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeBarrierCapabilitiesAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readBarrierPositionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeBarrierPositionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class BasicCluster extends BaseChipCluster {
@@ -1489,476 +1408,490 @@ public BasicCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public interface VendorIDAttributeCallback {
- void onSuccess(Integer value);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface VendorIDAttributeCallback {
+ void onSuccess( Integer value);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readDataModelRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readDataModelRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readDataModelRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeDataModelRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeDataModelRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readVendorNameAttribute(CharStringAttributeCallback callback) {
+ public void readVendorNameAttribute(
+ CharStringAttributeCallback callback
+ ) {
readVendorNameAttribute(chipClusterPtr, callback);
}
-
public void subscribeVendorNameAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readVendorIDAttribute(VendorIDAttributeCallback callback) {
+ public void readVendorIDAttribute(
+ VendorIDAttributeCallback callback
+ ) {
readVendorIDAttribute(chipClusterPtr, callback);
}
-
public void subscribeVendorIDAttribute(
- VendorIDAttributeCallback callback, int minInterval, int maxInterval) {
+ VendorIDAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readProductNameAttribute(CharStringAttributeCallback callback) {
+ public void readProductNameAttribute(
+ CharStringAttributeCallback callback
+ ) {
readProductNameAttribute(chipClusterPtr, callback);
}
-
public void subscribeProductNameAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readProductIDAttribute(IntegerAttributeCallback callback) {
+ public void readProductIDAttribute(
+ IntegerAttributeCallback callback
+ ) {
readProductIDAttribute(chipClusterPtr, callback);
}
-
public void subscribeProductIDAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeProductIDAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readNodeLabelAttribute(CharStringAttributeCallback callback) {
+ public void readNodeLabelAttribute(
+ CharStringAttributeCallback callback
+ ) {
readNodeLabelAttribute(chipClusterPtr, callback);
}
-
public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value) {
writeNodeLabelAttribute(chipClusterPtr, callback, value, null);
}
- public void writeNodeLabelAttribute(
- DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) {
+ public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) {
writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeNodeLabelAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readLocationAttribute(CharStringAttributeCallback callback) {
+ public void readLocationAttribute(
+ CharStringAttributeCallback callback
+ ) {
readLocationAttribute(chipClusterPtr, callback);
}
-
public void writeLocationAttribute(DefaultClusterCallback callback, String value) {
writeLocationAttribute(chipClusterPtr, callback, value, null);
}
- public void writeLocationAttribute(
- DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) {
+ public void writeLocationAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) {
writeLocationAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeLocationAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeLocationAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readHardwareVersionAttribute(IntegerAttributeCallback callback) {
+ public void readHardwareVersionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readHardwareVersionAttribute(chipClusterPtr, callback);
}
-
public void subscribeHardwareVersionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readHardwareVersionStringAttribute(CharStringAttributeCallback callback) {
+ public void readHardwareVersionStringAttribute(
+ CharStringAttributeCallback callback
+ ) {
readHardwareVersionStringAttribute(chipClusterPtr, callback);
}
-
public void subscribeHardwareVersionStringAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readSoftwareVersionAttribute(LongAttributeCallback callback) {
+ public void readSoftwareVersionAttribute(
+ LongAttributeCallback callback
+ ) {
readSoftwareVersionAttribute(chipClusterPtr, callback);
}
-
public void subscribeSoftwareVersionAttribute(
- LongAttributeCallback callback, int minInterval, int maxInterval) {
+ LongAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readSoftwareVersionStringAttribute(CharStringAttributeCallback callback) {
+ public void readSoftwareVersionStringAttribute(
+ CharStringAttributeCallback callback
+ ) {
readSoftwareVersionStringAttribute(chipClusterPtr, callback);
}
-
public void subscribeSoftwareVersionStringAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readManufacturingDateAttribute(CharStringAttributeCallback callback) {
+ public void readManufacturingDateAttribute(
+ CharStringAttributeCallback callback
+ ) {
readManufacturingDateAttribute(chipClusterPtr, callback);
}
-
public void subscribeManufacturingDateAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeManufacturingDateAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPartNumberAttribute(CharStringAttributeCallback callback) {
+ public void readPartNumberAttribute(
+ CharStringAttributeCallback callback
+ ) {
readPartNumberAttribute(chipClusterPtr, callback);
}
-
public void subscribePartNumberAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePartNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readProductURLAttribute(CharStringAttributeCallback callback) {
+ public void readProductURLAttribute(
+ CharStringAttributeCallback callback
+ ) {
readProductURLAttribute(chipClusterPtr, callback);
}
-
public void subscribeProductURLAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeProductURLAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readProductLabelAttribute(CharStringAttributeCallback callback) {
+ public void readProductLabelAttribute(
+ CharStringAttributeCallback callback
+ ) {
readProductLabelAttribute(chipClusterPtr, callback);
}
-
public void subscribeProductLabelAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeProductLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readSerialNumberAttribute(CharStringAttributeCallback callback) {
+ public void readSerialNumberAttribute(
+ CharStringAttributeCallback callback
+ ) {
readSerialNumberAttribute(chipClusterPtr, callback);
}
-
public void subscribeSerialNumberAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeSerialNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readLocalConfigDisabledAttribute(BooleanAttributeCallback callback) {
+ public void readLocalConfigDisabledAttribute(
+ BooleanAttributeCallback callback
+ ) {
readLocalConfigDisabledAttribute(chipClusterPtr, callback);
}
-
public void writeLocalConfigDisabledAttribute(DefaultClusterCallback callback, Boolean value) {
writeLocalConfigDisabledAttribute(chipClusterPtr, callback, value, null);
}
- public void writeLocalConfigDisabledAttribute(
- DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) {
+ public void writeLocalConfigDisabledAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) {
writeLocalConfigDisabledAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeLocalConfigDisabledAttribute(
- BooleanAttributeCallback callback, int minInterval, int maxInterval) {
+ BooleanAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeLocalConfigDisabledAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readReachableAttribute(BooleanAttributeCallback callback) {
+ public void readReachableAttribute(
+ BooleanAttributeCallback callback
+ ) {
readReachableAttribute(chipClusterPtr, callback);
}
-
public void subscribeReachableAttribute(
- BooleanAttributeCallback callback, int minInterval, int maxInterval) {
+ BooleanAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeReachableAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readUniqueIDAttribute(CharStringAttributeCallback callback) {
+ public void readUniqueIDAttribute(
+ CharStringAttributeCallback callback
+ ) {
readUniqueIDAttribute(chipClusterPtr, callback);
}
-
public void subscribeUniqueIDAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeUniqueIDAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readDataModelRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeDataModelRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readVendorNameAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeVendorNameAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readVendorIDAttribute(
- long chipClusterPtr, VendorIDAttributeCallback callback);
-
- private native void subscribeVendorIDAttribute(
- long chipClusterPtr, VendorIDAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readProductNameAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeProductNameAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readProductIDAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeProductIDAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readNodeLabelAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void writeNodeLabelAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- String value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeNodeLabelAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readLocationAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void writeLocationAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- String value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeLocationAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readHardwareVersionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeHardwareVersionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readHardwareVersionStringAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeHardwareVersionStringAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readSoftwareVersionAttribute(
- long chipClusterPtr, LongAttributeCallback callback);
-
- private native void subscribeSoftwareVersionAttribute(
- long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readSoftwareVersionStringAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeSoftwareVersionStringAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readManufacturingDateAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeManufacturingDateAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readPartNumberAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribePartNumberAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readProductURLAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeProductURLAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readProductLabelAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeProductLabelAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readSerialNumberAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeSerialNumberAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readLocalConfigDisabledAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback);
-
- private native void writeLocalConfigDisabledAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Boolean value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeLocalConfigDisabledAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readReachableAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback);
-
- private native void subscribeReachableAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readUniqueIDAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeUniqueIDAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readDataModelRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeDataModelRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readVendorNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeVendorNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readVendorIDAttribute(long chipClusterPtr,
+ VendorIDAttributeCallback callback
+ );
+ private native void subscribeVendorIDAttribute(long chipClusterPtr,
+ VendorIDAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readProductNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeProductNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readProductIDAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeProductIDAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readNodeLabelAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+
+ private native void writeNodeLabelAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeNodeLabelAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readLocationAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+
+ private native void writeLocationAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeLocationAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readHardwareVersionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeHardwareVersionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readHardwareVersionStringAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeHardwareVersionStringAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readSoftwareVersionAttribute(long chipClusterPtr,
+ LongAttributeCallback callback
+ );
+ private native void subscribeSoftwareVersionAttribute(long chipClusterPtr,
+ LongAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readSoftwareVersionStringAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeSoftwareVersionStringAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readManufacturingDateAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeManufacturingDateAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPartNumberAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribePartNumberAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readProductURLAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeProductURLAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readProductLabelAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeProductLabelAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readSerialNumberAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeSerialNumberAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readLocalConfigDisabledAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+ );
+
+ private native void writeLocalConfigDisabledAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeLocalConfigDisabledAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readReachableAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+ );
+ private native void subscribeReachableAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readUniqueIDAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeUniqueIDAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class BinaryInputBasicCluster extends BaseChipCluster {
@@ -1971,177 +1904,172 @@ public BinaryInputBasicCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readOutOfServiceAttribute(BooleanAttributeCallback callback) {
+ public void readOutOfServiceAttribute(
+ BooleanAttributeCallback callback
+ ) {
readOutOfServiceAttribute(chipClusterPtr, callback);
}
-
public void writeOutOfServiceAttribute(DefaultClusterCallback callback, Boolean value) {
writeOutOfServiceAttribute(chipClusterPtr, callback, value, null);
}
- public void writeOutOfServiceAttribute(
- DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) {
+ public void writeOutOfServiceAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) {
writeOutOfServiceAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeOutOfServiceAttribute(
- BooleanAttributeCallback callback, int minInterval, int maxInterval) {
+ BooleanAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeOutOfServiceAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPresentValueAttribute(BooleanAttributeCallback callback) {
+ public void readPresentValueAttribute(
+ BooleanAttributeCallback callback
+ ) {
readPresentValueAttribute(chipClusterPtr, callback);
}
-
public void writePresentValueAttribute(DefaultClusterCallback callback, Boolean value) {
writePresentValueAttribute(chipClusterPtr, callback, value, null);
}
- public void writePresentValueAttribute(
- DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) {
+ public void writePresentValueAttribute(DefaultClusterCallback callback, Boolean value, int timedWriteTimeoutMs) {
writePresentValueAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribePresentValueAttribute(
- BooleanAttributeCallback callback, int minInterval, int maxInterval) {
+ BooleanAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePresentValueAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readStatusFlagsAttribute(IntegerAttributeCallback callback) {
+ public void readStatusFlagsAttribute(
+ IntegerAttributeCallback callback
+ ) {
readStatusFlagsAttribute(chipClusterPtr, callback);
}
-
public void subscribeStatusFlagsAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeStatusFlagsAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readOutOfServiceAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback);
-
- private native void writeOutOfServiceAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Boolean value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeOutOfServiceAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPresentValueAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback);
-
- private native void writePresentValueAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Boolean value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribePresentValueAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readStatusFlagsAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeStatusFlagsAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readOutOfServiceAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+ );
+
+ private native void writeOutOfServiceAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeOutOfServiceAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPresentValueAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+ );
+
+ private native void writePresentValueAttribute(long chipClusterPtr, DefaultClusterCallback callback, Boolean value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribePresentValueAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readStatusFlagsAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeStatusFlagsAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class BindingCluster extends BaseChipCluster {
@@ -2154,143 +2082,130 @@ public BindingCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public interface BindingAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface BindingAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readBindingAttribute(BindingAttributeCallback callback) {
+ public void readBindingAttribute(
+ BindingAttributeCallback callback
+ ) {
readBindingAttribute(chipClusterPtr, callback);
}
-
- public void writeBindingAttribute(
- DefaultClusterCallback callback, ArrayList value) {
+ public void writeBindingAttribute(DefaultClusterCallback callback, ArrayList value) {
writeBindingAttribute(chipClusterPtr, callback, value, null);
}
- public void writeBindingAttribute(
- DefaultClusterCallback callback,
- ArrayList value,
- int timedWriteTimeoutMs) {
+ public void writeBindingAttribute(DefaultClusterCallback callback, ArrayList value, int timedWriteTimeoutMs) {
writeBindingAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeBindingAttribute(
- BindingAttributeCallback callback, int minInterval, int maxInterval) {
+ BindingAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeBindingAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readBindingAttribute(
- long chipClusterPtr, BindingAttributeCallback callback);
-
- private native void writeBindingAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- ArrayList value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeBindingAttribute(
- long chipClusterPtr, BindingAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readBindingAttribute(long chipClusterPtr,
+ BindingAttributeCallback callback
+ );
+
+ private native void writeBindingAttribute(long chipClusterPtr, DefaultClusterCallback callback, ArrayList value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeBindingAttribute(long chipClusterPtr,
+ BindingAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class BooleanStateCluster extends BaseChipCluster {
@@ -2303,117 +2218,116 @@ public BooleanStateCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readStateValueAttribute(BooleanAttributeCallback callback) {
+ public void readStateValueAttribute(
+ BooleanAttributeCallback callback
+ ) {
readStateValueAttribute(chipClusterPtr, callback);
}
-
public void subscribeStateValueAttribute(
- BooleanAttributeCallback callback, int minInterval, int maxInterval) {
+ BooleanAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeStateValueAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readStateValueAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback);
-
- private native void subscribeStateValueAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readStateValueAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+ );
+ private native void subscribeStateValueAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class BridgedActionsCluster extends BaseChipCluster {
@@ -2426,431 +2340,332 @@ public BridgedActionsCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void disableAction(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID) {
+ public void disableAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID) {
disableAction(chipClusterPtr, callback, actionID, invokeID, null);
}
- public void disableAction(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- int timedInvokeTimeoutMs) {
+ public void disableAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID
+ , int timedInvokeTimeoutMs) {
disableAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs);
}
- public void disableActionWithDuration(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID, Long duration) {
+ public void disableActionWithDuration(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Long duration) {
disableActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, null);
}
- public void disableActionWithDuration(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- Long duration,
- int timedInvokeTimeoutMs) {
- disableActionWithDuration(
- chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs);
+ public void disableActionWithDuration(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Long duration
+ , int timedInvokeTimeoutMs) {
+ disableActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs);
}
- public void enableAction(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID) {
+ public void enableAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID) {
enableAction(chipClusterPtr, callback, actionID, invokeID, null);
}
- public void enableAction(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- int timedInvokeTimeoutMs) {
+ public void enableAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID
+ , int timedInvokeTimeoutMs) {
enableAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs);
}
- public void enableActionWithDuration(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID, Long duration) {
+ public void enableActionWithDuration(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Long duration) {
enableActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, null);
}
- public void enableActionWithDuration(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- Long duration,
- int timedInvokeTimeoutMs) {
- enableActionWithDuration(
- chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs);
+ public void enableActionWithDuration(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Long duration
+ , int timedInvokeTimeoutMs) {
+ enableActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs);
}
- public void instantAction(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID) {
+ public void instantAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID) {
instantAction(chipClusterPtr, callback, actionID, invokeID, null);
}
- public void instantAction(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- int timedInvokeTimeoutMs) {
+ public void instantAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID
+ , int timedInvokeTimeoutMs) {
instantAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs);
}
- public void instantActionWithTransition(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- Integer transitionTime) {
- instantActionWithTransition(
- chipClusterPtr, callback, actionID, invokeID, transitionTime, null);
+ public void instantActionWithTransition(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Integer transitionTime) {
+ instantActionWithTransition(chipClusterPtr, callback, actionID, invokeID, transitionTime, null);
}
- public void instantActionWithTransition(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- Integer transitionTime,
- int timedInvokeTimeoutMs) {
- instantActionWithTransition(
- chipClusterPtr, callback, actionID, invokeID, transitionTime, timedInvokeTimeoutMs);
+ public void instantActionWithTransition(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Integer transitionTime
+ , int timedInvokeTimeoutMs) {
+ instantActionWithTransition(chipClusterPtr, callback, actionID, invokeID, transitionTime, timedInvokeTimeoutMs);
}
- public void pauseAction(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID) {
+ public void pauseAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID) {
pauseAction(chipClusterPtr, callback, actionID, invokeID, null);
}
- public void pauseAction(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- int timedInvokeTimeoutMs) {
+ public void pauseAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID
+ , int timedInvokeTimeoutMs) {
pauseAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs);
}
- public void pauseActionWithDuration(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID, Long duration) {
+ public void pauseActionWithDuration(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Long duration) {
pauseActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, null);
}
- public void pauseActionWithDuration(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- Long duration,
- int timedInvokeTimeoutMs) {
- pauseActionWithDuration(
- chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs);
+ public void pauseActionWithDuration(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Long duration
+ , int timedInvokeTimeoutMs) {
+ pauseActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs);
}
- public void resumeAction(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID) {
+ public void resumeAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID) {
resumeAction(chipClusterPtr, callback, actionID, invokeID, null);
}
- public void resumeAction(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- int timedInvokeTimeoutMs) {
+ public void resumeAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID
+ , int timedInvokeTimeoutMs) {
resumeAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs);
}
- public void startAction(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID) {
+ public void startAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID) {
startAction(chipClusterPtr, callback, actionID, invokeID, null);
}
- public void startAction(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- int timedInvokeTimeoutMs) {
+ public void startAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID
+ , int timedInvokeTimeoutMs) {
startAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs);
}
- public void startActionWithDuration(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID, Long duration) {
+ public void startActionWithDuration(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Long duration) {
startActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, null);
}
- public void startActionWithDuration(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- Long duration,
- int timedInvokeTimeoutMs) {
- startActionWithDuration(
- chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs);
+ public void startActionWithDuration(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID, Long duration
+ , int timedInvokeTimeoutMs) {
+ startActionWithDuration(chipClusterPtr, callback, actionID, invokeID, duration, timedInvokeTimeoutMs);
}
- public void stopAction(
- DefaultClusterCallback callback, Integer actionID, Optional invokeID) {
+ public void stopAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID) {
stopAction(chipClusterPtr, callback, actionID, invokeID, null);
}
- public void stopAction(
- DefaultClusterCallback callback,
- Integer actionID,
- Optional invokeID,
- int timedInvokeTimeoutMs) {
+ public void stopAction(DefaultClusterCallback callback
+ , Integer actionID, Optional invokeID
+ , int timedInvokeTimeoutMs) {
stopAction(chipClusterPtr, callback, actionID, invokeID, timedInvokeTimeoutMs);
}
+ private native void disableAction(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void disableActionWithDuration(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID, Long duration
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void enableAction(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void enableActionWithDuration(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID, Long duration
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void instantAction(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void instantActionWithTransition(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID, Integer transitionTime
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void pauseAction(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void pauseActionWithDuration(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID, Long duration
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void resumeAction(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void startAction(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void startActionWithDuration(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID, Long duration
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void stopAction(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer actionID, Optional invokeID
+ , @Nullable Integer timedInvokeTimeoutMs);
+
+ public interface ActionListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface EndpointListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- private native void disableAction(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void disableActionWithDuration(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- Long duration,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void enableAction(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void enableActionWithDuration(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- Long duration,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void instantAction(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void instantActionWithTransition(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- Integer transitionTime,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void pauseAction(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void pauseActionWithDuration(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- Long duration,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void resumeAction(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void startAction(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void startActionWithDuration(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- Long duration,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void stopAction(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer actionID,
- Optional invokeID,
- @Nullable Integer timedInvokeTimeoutMs);
-
- public interface ActionListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
+ public void readActionListAttribute(
+ ActionListAttributeCallback callback
+ ) {
+ readActionListAttribute(chipClusterPtr, callback);
}
-
- public interface EndpointListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
+ public void subscribeActionListAttribute(
+ ActionListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeActionListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
+ public void readEndpointListAttribute(
+ EndpointListAttributeCallback callback
+ ) {
+ readEndpointListAttribute(chipClusterPtr, callback);
}
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public void readActionListAttribute(ActionListAttributeCallback callback) {
- readActionListAttribute(chipClusterPtr, callback);
- }
-
- public void subscribeActionListAttribute(
- ActionListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeActionListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
- }
-
- public void readEndpointListAttribute(EndpointListAttributeCallback callback) {
- readEndpointListAttribute(chipClusterPtr, callback);
- }
-
public void subscribeEndpointListAttribute(
- EndpointListAttributeCallback callback, int minInterval, int maxInterval) {
+ EndpointListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeEndpointListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readSetupUrlAttribute(CharStringAttributeCallback callback) {
+ public void readSetupUrlAttribute(
+ CharStringAttributeCallback callback
+ ) {
readSetupUrlAttribute(chipClusterPtr, callback);
}
-
public void subscribeSetupUrlAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeSetupUrlAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readActionListAttribute(
- long chipClusterPtr, ActionListAttributeCallback callback);
-
- private native void subscribeActionListAttribute(
- long chipClusterPtr,
- ActionListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readEndpointListAttribute(
- long chipClusterPtr, EndpointListAttributeCallback callback);
-
- private native void subscribeEndpointListAttribute(
- long chipClusterPtr,
- EndpointListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readSetupUrlAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeSetupUrlAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readActionListAttribute(long chipClusterPtr,
+ ActionListAttributeCallback callback
+ );
+ private native void subscribeActionListAttribute(long chipClusterPtr,
+ ActionListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readEndpointListAttribute(long chipClusterPtr,
+ EndpointListAttributeCallback callback
+ );
+ private native void subscribeEndpointListAttribute(long chipClusterPtr,
+ EndpointListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readSetupUrlAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeSetupUrlAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class BridgedDeviceBasicCluster extends BaseChipCluster {
@@ -2863,383 +2678,396 @@ public BridgedDeviceBasicCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public interface VendorIDAttributeCallback {
- void onSuccess(Integer value);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface VendorIDAttributeCallback {
+ void onSuccess( Integer value);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readVendorNameAttribute(CharStringAttributeCallback callback) {
+ public void readVendorNameAttribute(
+ CharStringAttributeCallback callback
+ ) {
readVendorNameAttribute(chipClusterPtr, callback);
}
-
public void subscribeVendorNameAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeVendorNameAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readVendorIDAttribute(VendorIDAttributeCallback callback) {
+ public void readVendorIDAttribute(
+ VendorIDAttributeCallback callback
+ ) {
readVendorIDAttribute(chipClusterPtr, callback);
}
-
public void subscribeVendorIDAttribute(
- VendorIDAttributeCallback callback, int minInterval, int maxInterval) {
+ VendorIDAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeVendorIDAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readProductNameAttribute(CharStringAttributeCallback callback) {
+ public void readProductNameAttribute(
+ CharStringAttributeCallback callback
+ ) {
readProductNameAttribute(chipClusterPtr, callback);
}
-
public void subscribeProductNameAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeProductNameAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readNodeLabelAttribute(CharStringAttributeCallback callback) {
+ public void readNodeLabelAttribute(
+ CharStringAttributeCallback callback
+ ) {
readNodeLabelAttribute(chipClusterPtr, callback);
}
-
public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value) {
writeNodeLabelAttribute(chipClusterPtr, callback, value, null);
}
- public void writeNodeLabelAttribute(
- DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) {
+ public void writeNodeLabelAttribute(DefaultClusterCallback callback, String value, int timedWriteTimeoutMs) {
writeNodeLabelAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeNodeLabelAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeNodeLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readHardwareVersionAttribute(IntegerAttributeCallback callback) {
+ public void readHardwareVersionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readHardwareVersionAttribute(chipClusterPtr, callback);
}
-
public void subscribeHardwareVersionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeHardwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readHardwareVersionStringAttribute(CharStringAttributeCallback callback) {
+ public void readHardwareVersionStringAttribute(
+ CharStringAttributeCallback callback
+ ) {
readHardwareVersionStringAttribute(chipClusterPtr, callback);
}
-
public void subscribeHardwareVersionStringAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeHardwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readSoftwareVersionAttribute(LongAttributeCallback callback) {
+ public void readSoftwareVersionAttribute(
+ LongAttributeCallback callback
+ ) {
readSoftwareVersionAttribute(chipClusterPtr, callback);
}
-
public void subscribeSoftwareVersionAttribute(
- LongAttributeCallback callback, int minInterval, int maxInterval) {
+ LongAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeSoftwareVersionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readSoftwareVersionStringAttribute(CharStringAttributeCallback callback) {
+ public void readSoftwareVersionStringAttribute(
+ CharStringAttributeCallback callback
+ ) {
readSoftwareVersionStringAttribute(chipClusterPtr, callback);
}
-
public void subscribeSoftwareVersionStringAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeSoftwareVersionStringAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readManufacturingDateAttribute(CharStringAttributeCallback callback) {
+ public void readManufacturingDateAttribute(
+ CharStringAttributeCallback callback
+ ) {
readManufacturingDateAttribute(chipClusterPtr, callback);
}
-
public void subscribeManufacturingDateAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeManufacturingDateAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPartNumberAttribute(CharStringAttributeCallback callback) {
+ public void readPartNumberAttribute(
+ CharStringAttributeCallback callback
+ ) {
readPartNumberAttribute(chipClusterPtr, callback);
}
-
public void subscribePartNumberAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePartNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readProductURLAttribute(CharStringAttributeCallback callback) {
+ public void readProductURLAttribute(
+ CharStringAttributeCallback callback
+ ) {
readProductURLAttribute(chipClusterPtr, callback);
}
-
public void subscribeProductURLAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeProductURLAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readProductLabelAttribute(CharStringAttributeCallback callback) {
+ public void readProductLabelAttribute(
+ CharStringAttributeCallback callback
+ ) {
readProductLabelAttribute(chipClusterPtr, callback);
}
-
public void subscribeProductLabelAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeProductLabelAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readSerialNumberAttribute(CharStringAttributeCallback callback) {
+ public void readSerialNumberAttribute(
+ CharStringAttributeCallback callback
+ ) {
readSerialNumberAttribute(chipClusterPtr, callback);
}
-
public void subscribeSerialNumberAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeSerialNumberAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readReachableAttribute(BooleanAttributeCallback callback) {
+ public void readReachableAttribute(
+ BooleanAttributeCallback callback
+ ) {
readReachableAttribute(chipClusterPtr, callback);
}
-
public void subscribeReachableAttribute(
- BooleanAttributeCallback callback, int minInterval, int maxInterval) {
+ BooleanAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeReachableAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readUniqueIDAttribute(CharStringAttributeCallback callback) {
+ public void readUniqueIDAttribute(
+ CharStringAttributeCallback callback
+ ) {
readUniqueIDAttribute(chipClusterPtr, callback);
}
-
public void subscribeUniqueIDAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeUniqueIDAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readVendorNameAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeVendorNameAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readVendorIDAttribute(
- long chipClusterPtr, VendorIDAttributeCallback callback);
-
- private native void subscribeVendorIDAttribute(
- long chipClusterPtr, VendorIDAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readProductNameAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeProductNameAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readNodeLabelAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void writeNodeLabelAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- String value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeNodeLabelAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readHardwareVersionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeHardwareVersionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readHardwareVersionStringAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeHardwareVersionStringAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readSoftwareVersionAttribute(
- long chipClusterPtr, LongAttributeCallback callback);
-
- private native void subscribeSoftwareVersionAttribute(
- long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readSoftwareVersionStringAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeSoftwareVersionStringAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readManufacturingDateAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeManufacturingDateAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readPartNumberAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribePartNumberAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readProductURLAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeProductURLAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readProductLabelAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeProductLabelAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readSerialNumberAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeSerialNumberAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readReachableAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback);
-
- private native void subscribeReachableAttribute(
- long chipClusterPtr, BooleanAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readUniqueIDAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeUniqueIDAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readVendorNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeVendorNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readVendorIDAttribute(long chipClusterPtr,
+ VendorIDAttributeCallback callback
+ );
+ private native void subscribeVendorIDAttribute(long chipClusterPtr,
+ VendorIDAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readProductNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeProductNameAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readNodeLabelAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+
+ private native void writeNodeLabelAttribute(long chipClusterPtr, DefaultClusterCallback callback, String value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeNodeLabelAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readHardwareVersionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeHardwareVersionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readHardwareVersionStringAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeHardwareVersionStringAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readSoftwareVersionAttribute(long chipClusterPtr,
+ LongAttributeCallback callback
+ );
+ private native void subscribeSoftwareVersionAttribute(long chipClusterPtr,
+ LongAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readSoftwareVersionStringAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeSoftwareVersionStringAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readManufacturingDateAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeManufacturingDateAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPartNumberAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribePartNumberAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readProductURLAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeProductURLAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readProductLabelAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeProductLabelAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readSerialNumberAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeSerialNumberAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readReachableAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+ );
+ private native void subscribeReachableAttribute(long chipClusterPtr,
+ BooleanAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readUniqueIDAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeUniqueIDAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class ChannelCluster extends BaseChipCluster {
@@ -3252,2104 +3080,1643 @@ public ChannelCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void changeChannel(ChangeChannelResponseCallback callback, String match) {
+ public void changeChannel(ChangeChannelResponseCallback callback
+ , String match) {
changeChannel(chipClusterPtr, callback, match, null);
}
- public void changeChannel(
- ChangeChannelResponseCallback callback, String match, int timedInvokeTimeoutMs) {
+ public void changeChannel(ChangeChannelResponseCallback callback
+ , String match
+ , int timedInvokeTimeoutMs) {
changeChannel(chipClusterPtr, callback, match, timedInvokeTimeoutMs);
}
- public void changeChannelByNumber(
- DefaultClusterCallback callback, Integer majorNumber, Integer minorNumber) {
+ public void changeChannelByNumber(DefaultClusterCallback callback
+ , Integer majorNumber, Integer minorNumber) {
changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, null);
}
- public void changeChannelByNumber(
- DefaultClusterCallback callback,
- Integer majorNumber,
- Integer minorNumber,
- int timedInvokeTimeoutMs) {
- changeChannelByNumber(
- chipClusterPtr, callback, majorNumber, minorNumber, timedInvokeTimeoutMs);
+ public void changeChannelByNumber(DefaultClusterCallback callback
+ , Integer majorNumber, Integer minorNumber
+ , int timedInvokeTimeoutMs) {
+ changeChannelByNumber(chipClusterPtr, callback, majorNumber, minorNumber, timedInvokeTimeoutMs);
}
- public void skipChannel(DefaultClusterCallback callback, Integer count) {
+ public void skipChannel(DefaultClusterCallback callback
+ , Integer count) {
skipChannel(chipClusterPtr, callback, count, null);
}
- public void skipChannel(
- DefaultClusterCallback callback, Integer count, int timedInvokeTimeoutMs) {
+ public void skipChannel(DefaultClusterCallback callback
+ , Integer count
+ , int timedInvokeTimeoutMs) {
skipChannel(chipClusterPtr, callback, count, timedInvokeTimeoutMs);
}
+ private native void changeChannel(long chipClusterPtr, ChangeChannelResponseCallback Callback
+ , String match
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void changeChannelByNumber(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer majorNumber, Integer minorNumber
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void skipChannel(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer count
+ , @Nullable Integer timedInvokeTimeoutMs);
+ public interface ChangeChannelResponseCallback {
+ void onSuccess(Integer status, Optional data);
+
+ void onError(Exception error);
+ }
- private native void changeChannel(
- long chipClusterPtr,
- ChangeChannelResponseCallback Callback,
- String match,
- @Nullable Integer timedInvokeTimeoutMs);
- private native void changeChannelByNumber(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer majorNumber,
- Integer minorNumber,
- @Nullable Integer timedInvokeTimeoutMs);
+ public interface ChannelListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- private native void skipChannel(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer count,
- @Nullable Integer timedInvokeTimeoutMs);
+ public void readChannelListAttribute(
+ ChannelListAttributeCallback callback
+ ) {
+ readChannelListAttribute(chipClusterPtr, callback);
+ }
+ public void subscribeChannelListAttribute(
+ ChannelListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeChannelListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
+ }
- public interface ChangeChannelResponseCallback {
- void onSuccess(Integer status, Optional data);
+ public void readServerGeneratedCommandListAttribute(
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
+ readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
+ }
+ public void subscribeServerGeneratedCommandListAttribute(
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
+ }
- void onError(Exception error);
+ public void readClientGeneratedCommandListAttribute(
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
+ readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
+ }
+ public void subscribeClientGeneratedCommandListAttribute(
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
+ }
+
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
+ readAttributeListAttribute(chipClusterPtr, callback);
+ }
+ public void subscribeAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
+ }
+
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
+ readClusterRevisionAttribute(chipClusterPtr, callback);
+ }
+ public void subscribeClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
+ subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public interface ChannelListAttributeCallback {
- void onSuccess(List valueList);
+ private native void readChannelListAttribute(long chipClusterPtr,
+ ChannelListAttributeCallback callback
+ );
+ private native void subscribeChannelListAttribute(long chipClusterPtr,
+ ChannelListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+ }
- void onError(Exception ex);
+ public static class ColorControlCluster extends BaseChipCluster {
+ public static final long CLUSTER_ID = 768L;
- default void onSubscriptionEstablished() {}
+ public ColorControlCluster(long devicePtr, int endpointId) {
+ super(devicePtr, endpointId);
}
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
+ @Override
+ public native long initWithDevice(long devicePtr, int endpointId);
- void onError(Exception ex);
+ public void colorLoopSet(DefaultClusterCallback callback
+ , Integer updateFlags, Integer action, Integer direction, Integer time, Integer startHue, Integer optionsMask, Integer optionsOverride) {
+ colorLoopSet(chipClusterPtr, callback, updateFlags, action, direction, time, startHue, optionsMask, optionsOverride, null);
+ }
- default void onSubscriptionEstablished() {}
+ public void colorLoopSet(DefaultClusterCallback callback
+ , Integer updateFlags, Integer action, Integer direction, Integer time, Integer startHue, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ colorLoopSet(chipClusterPtr, callback, updateFlags, action, direction, time, startHue, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
+ public void enhancedMoveHue(DefaultClusterCallback callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) {
+ enhancedMoveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null);
+ }
- void onError(Exception ex);
+ public void enhancedMoveHue(DefaultClusterCallback callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ enhancedMoveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs);
+ }
- default void onSubscriptionEstablished() {}
+ public void enhancedMoveToHue(DefaultClusterCallback callback
+ , Integer enhancedHue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ enhancedMoveToHue(chipClusterPtr, callback, enhancedHue, direction, transitionTime, optionsMask, optionsOverride, null);
}
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
+ public void enhancedMoveToHue(DefaultClusterCallback callback
+ , Integer enhancedHue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ enhancedMoveToHue(chipClusterPtr, callback, enhancedHue, direction, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
+ }
- void onError(Exception ex);
+ public void enhancedMoveToHueAndSaturation(DefaultClusterCallback callback
+ , Integer enhancedHue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ enhancedMoveToHueAndSaturation(chipClusterPtr, callback, enhancedHue, saturation, transitionTime, optionsMask, optionsOverride, null);
+ }
- default void onSubscriptionEstablished() {}
+ public void enhancedMoveToHueAndSaturation(DefaultClusterCallback callback
+ , Integer enhancedHue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ enhancedMoveToHueAndSaturation(chipClusterPtr, callback, enhancedHue, saturation, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public void readChannelListAttribute(ChannelListAttributeCallback callback) {
- readChannelListAttribute(chipClusterPtr, callback);
+ public void enhancedStepHue(DefaultClusterCallback callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ enhancedStepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null);
}
- public void subscribeChannelListAttribute(
- ChannelListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeChannelListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
+ public void enhancedStepHue(DefaultClusterCallback callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ enhancedStepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
- readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
+ public void moveColor(DefaultClusterCallback callback
+ , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride) {
+ moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, null);
}
- public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ public void moveColor(DefaultClusterCallback callback
+ , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
- readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
+ public void moveColorTemperature(DefaultClusterCallback callback
+ , Integer moveMode, Integer rate, Integer colorTemperatureMinimum, Integer colorTemperatureMaximum, Integer optionsMask, Integer optionsOverride) {
+ moveColorTemperature(chipClusterPtr, callback, moveMode, rate, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride, null);
}
- public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ public void moveColorTemperature(DefaultClusterCallback callback
+ , Integer moveMode, Integer rate, Integer colorTemperatureMinimum, Integer colorTemperatureMaximum, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveColorTemperature(chipClusterPtr, callback, moveMode, rate, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
- readAttributeListAttribute(chipClusterPtr, callback);
+ public void moveHue(DefaultClusterCallback callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) {
+ moveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null);
}
- public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
+ public void moveHue(DefaultClusterCallback callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
- readClusterRevisionAttribute(chipClusterPtr, callback);
+ public void moveSaturation(DefaultClusterCallback callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride) {
+ moveSaturation(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null);
}
- public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
+ public void moveSaturation(DefaultClusterCallback callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveSaturation(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- private native void readChannelListAttribute(
- long chipClusterPtr, ChannelListAttributeCallback callback);
+ public void moveToColor(DefaultClusterCallback callback
+ , Integer colorX, Integer colorY, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ moveToColor(chipClusterPtr, callback, colorX, colorY, transitionTime, optionsMask, optionsOverride, null);
+ }
- private native void subscribeChannelListAttribute(
- long chipClusterPtr,
- ChannelListAttributeCallback callback,
- int minInterval,
- int maxInterval);
+ public void moveToColor(DefaultClusterCallback callback
+ , Integer colorX, Integer colorY, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveToColor(chipClusterPtr, callback, colorX, colorY, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
+ }
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
+ public void moveToColorTemperature(DefaultClusterCallback callback
+ , Integer colorTemperature, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ moveToColorTemperature(chipClusterPtr, callback, colorTemperature, transitionTime, optionsMask, optionsOverride, null);
+ }
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
+ public void moveToColorTemperature(DefaultClusterCallback callback
+ , Integer colorTemperature, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveToColorTemperature(chipClusterPtr, callback, colorTemperature, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
+ }
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
+ public void moveToHue(DefaultClusterCallback callback
+ , Integer hue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ moveToHue(chipClusterPtr, callback, hue, direction, transitionTime, optionsMask, optionsOverride, null);
+ }
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
+ public void moveToHue(DefaultClusterCallback callback
+ , Integer hue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveToHue(chipClusterPtr, callback, hue, direction, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
+ }
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
+ public void moveToHueAndSaturation(DefaultClusterCallback callback
+ , Integer hue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ moveToHueAndSaturation(chipClusterPtr, callback, hue, saturation, transitionTime, optionsMask, optionsOverride, null);
+ }
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
+ public void moveToHueAndSaturation(DefaultClusterCallback callback
+ , Integer hue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveToHueAndSaturation(chipClusterPtr, callback, hue, saturation, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
+ }
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
+ public void moveToSaturation(DefaultClusterCallback callback
+ , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ moveToSaturation(chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, null);
+ }
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
- }
+ public void moveToSaturation(DefaultClusterCallback callback
+ , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ moveToSaturation(chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
+ }
- public static class ColorControlCluster extends BaseChipCluster {
- public static final long CLUSTER_ID = 768L;
+ public void stepColor(DefaultClusterCallback callback
+ , Integer stepX, Integer stepY, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ stepColor(chipClusterPtr, callback, stepX, stepY, transitionTime, optionsMask, optionsOverride, null);
+ }
- public ColorControlCluster(long devicePtr, int endpointId) {
- super(devicePtr, endpointId);
+ public void stepColor(DefaultClusterCallback callback
+ , Integer stepX, Integer stepY, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ stepColor(chipClusterPtr, callback, stepX, stepY, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- @Override
- public native long initWithDevice(long devicePtr, int endpointId);
+ public void stepColorTemperature(DefaultClusterCallback callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer colorTemperatureMinimum, Integer colorTemperatureMaximum, Integer optionsMask, Integer optionsOverride) {
+ stepColorTemperature(chipClusterPtr, callback, stepMode, stepSize, transitionTime, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride, null);
+ }
- public void colorLoopSet(
- DefaultClusterCallback callback,
- Integer updateFlags,
- Integer action,
- Integer direction,
- Integer time,
- Integer startHue,
- Integer optionsMask,
- Integer optionsOverride) {
- colorLoopSet(
- chipClusterPtr,
- callback,
- updateFlags,
- action,
- direction,
- time,
- startHue,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void colorLoopSet(
- DefaultClusterCallback callback,
- Integer updateFlags,
- Integer action,
- Integer direction,
- Integer time,
- Integer startHue,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- colorLoopSet(
- chipClusterPtr,
- callback,
- updateFlags,
- action,
- direction,
- time,
- startHue,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void enhancedMoveHue(
- DefaultClusterCallback callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride) {
- enhancedMoveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null);
+ public void stepColorTemperature(DefaultClusterCallback callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer colorTemperatureMinimum, Integer colorTemperatureMaximum, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ stepColorTemperature(chipClusterPtr, callback, stepMode, stepSize, transitionTime, colorTemperatureMinimum, colorTemperatureMaximum, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public void enhancedMoveHue(
- DefaultClusterCallback callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- enhancedMoveHue(
- chipClusterPtr,
- callback,
- moveMode,
- rate,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void enhancedMoveToHue(
- DefaultClusterCallback callback,
- Integer enhancedHue,
- Integer direction,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- enhancedMoveToHue(
- chipClusterPtr,
- callback,
- enhancedHue,
- direction,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void enhancedMoveToHue(
- DefaultClusterCallback callback,
- Integer enhancedHue,
- Integer direction,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- enhancedMoveToHue(
- chipClusterPtr,
- callback,
- enhancedHue,
- direction,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void enhancedMoveToHueAndSaturation(
- DefaultClusterCallback callback,
- Integer enhancedHue,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- enhancedMoveToHueAndSaturation(
- chipClusterPtr,
- callback,
- enhancedHue,
- saturation,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void enhancedMoveToHueAndSaturation(
- DefaultClusterCallback callback,
- Integer enhancedHue,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- enhancedMoveToHueAndSaturation(
- chipClusterPtr,
- callback,
- enhancedHue,
- saturation,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void enhancedStepHue(
- DefaultClusterCallback callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- enhancedStepHue(
- chipClusterPtr,
- callback,
- stepMode,
- stepSize,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void enhancedStepHue(
- DefaultClusterCallback callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- enhancedStepHue(
- chipClusterPtr,
- callback,
- stepMode,
- stepSize,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveColor(
- DefaultClusterCallback callback,
- Integer rateX,
- Integer rateY,
- Integer optionsMask,
- Integer optionsOverride) {
- moveColor(chipClusterPtr, callback, rateX, rateY, optionsMask, optionsOverride, null);
+ public void stepHue(DefaultClusterCallback callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ stepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null);
}
- public void moveColor(
- DefaultClusterCallback callback,
- Integer rateX,
- Integer rateY,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveColor(
- chipClusterPtr,
- callback,
- rateX,
- rateY,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveColorTemperature(
- DefaultClusterCallback callback,
- Integer moveMode,
- Integer rate,
- Integer colorTemperatureMinimum,
- Integer colorTemperatureMaximum,
- Integer optionsMask,
- Integer optionsOverride) {
- moveColorTemperature(
- chipClusterPtr,
- callback,
- moveMode,
- rate,
- colorTemperatureMinimum,
- colorTemperatureMaximum,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void moveColorTemperature(
- DefaultClusterCallback callback,
- Integer moveMode,
- Integer rate,
- Integer colorTemperatureMinimum,
- Integer colorTemperatureMaximum,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveColorTemperature(
- chipClusterPtr,
- callback,
- moveMode,
- rate,
- colorTemperatureMinimum,
- colorTemperatureMaximum,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveHue(
- DefaultClusterCallback callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride) {
- moveHue(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null);
+ public void stepHue(DefaultClusterCallback callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ stepHue(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public void moveHue(
- DefaultClusterCallback callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveHue(
- chipClusterPtr,
- callback,
- moveMode,
- rate,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveSaturation(
- DefaultClusterCallback callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride) {
- moveSaturation(chipClusterPtr, callback, moveMode, rate, optionsMask, optionsOverride, null);
+ public void stepSaturation(DefaultClusterCallback callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride) {
+ stepSaturation(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, null);
+ }
+
+ public void stepSaturation(DefaultClusterCallback callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
+ stepSaturation(chipClusterPtr, callback, stepMode, stepSize, transitionTime, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
- public void moveSaturation(
- DefaultClusterCallback callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveSaturation(
- chipClusterPtr,
- callback,
- moveMode,
- rate,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveToColor(
- DefaultClusterCallback callback,
- Integer colorX,
- Integer colorY,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- moveToColor(
- chipClusterPtr,
- callback,
- colorX,
- colorY,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void moveToColor(
- DefaultClusterCallback callback,
- Integer colorX,
- Integer colorY,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveToColor(
- chipClusterPtr,
- callback,
- colorX,
- colorY,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveToColorTemperature(
- DefaultClusterCallback callback,
- Integer colorTemperature,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- moveToColorTemperature(
- chipClusterPtr,
- callback,
- colorTemperature,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void moveToColorTemperature(
- DefaultClusterCallback callback,
- Integer colorTemperature,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveToColorTemperature(
- chipClusterPtr,
- callback,
- colorTemperature,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveToHue(
- DefaultClusterCallback callback,
- Integer hue,
- Integer direction,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- moveToHue(
- chipClusterPtr,
- callback,
- hue,
- direction,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void moveToHue(
- DefaultClusterCallback callback,
- Integer hue,
- Integer direction,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveToHue(
- chipClusterPtr,
- callback,
- hue,
- direction,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveToHueAndSaturation(
- DefaultClusterCallback callback,
- Integer hue,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- moveToHueAndSaturation(
- chipClusterPtr,
- callback,
- hue,
- saturation,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void moveToHueAndSaturation(
- DefaultClusterCallback callback,
- Integer hue,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveToHueAndSaturation(
- chipClusterPtr,
- callback,
- hue,
- saturation,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void moveToSaturation(
- DefaultClusterCallback callback,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- moveToSaturation(
- chipClusterPtr, callback, saturation, transitionTime, optionsMask, optionsOverride, null);
- }
-
- public void moveToSaturation(
- DefaultClusterCallback callback,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- moveToSaturation(
- chipClusterPtr,
- callback,
- saturation,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void stepColor(
- DefaultClusterCallback callback,
- Integer stepX,
- Integer stepY,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- stepColor(
- chipClusterPtr,
- callback,
- stepX,
- stepY,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void stepColor(
- DefaultClusterCallback callback,
- Integer stepX,
- Integer stepY,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- stepColor(
- chipClusterPtr,
- callback,
- stepX,
- stepY,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void stepColorTemperature(
- DefaultClusterCallback callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer colorTemperatureMinimum,
- Integer colorTemperatureMaximum,
- Integer optionsMask,
- Integer optionsOverride) {
- stepColorTemperature(
- chipClusterPtr,
- callback,
- stepMode,
- stepSize,
- transitionTime,
- colorTemperatureMinimum,
- colorTemperatureMaximum,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void stepColorTemperature(
- DefaultClusterCallback callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer colorTemperatureMinimum,
- Integer colorTemperatureMaximum,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- stepColorTemperature(
- chipClusterPtr,
- callback,
- stepMode,
- stepSize,
- transitionTime,
- colorTemperatureMinimum,
- colorTemperatureMaximum,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void stepHue(
- DefaultClusterCallback callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- stepHue(
- chipClusterPtr,
- callback,
- stepMode,
- stepSize,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void stepHue(
- DefaultClusterCallback callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- stepHue(
- chipClusterPtr,
- callback,
- stepMode,
- stepSize,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void stepSaturation(
- DefaultClusterCallback callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride) {
- stepSaturation(
- chipClusterPtr,
- callback,
- stepMode,
- stepSize,
- transitionTime,
- optionsMask,
- optionsOverride,
- null);
- }
-
- public void stepSaturation(
- DefaultClusterCallback callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
- stepSaturation(
- chipClusterPtr,
- callback,
- stepMode,
- stepSize,
- transitionTime,
- optionsMask,
- optionsOverride,
- timedInvokeTimeoutMs);
- }
-
- public void stopMoveStep(
- DefaultClusterCallback callback, Integer optionsMask, Integer optionsOverride) {
+ public void stopMoveStep(DefaultClusterCallback callback
+ , Integer optionsMask, Integer optionsOverride) {
stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, null);
}
- public void stopMoveStep(
- DefaultClusterCallback callback,
- Integer optionsMask,
- Integer optionsOverride,
- int timedInvokeTimeoutMs) {
+ public void stopMoveStep(DefaultClusterCallback callback
+ , Integer optionsMask, Integer optionsOverride
+ , int timedInvokeTimeoutMs) {
stopMoveStep(chipClusterPtr, callback, optionsMask, optionsOverride, timedInvokeTimeoutMs);
}
+ private native void colorLoopSet(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer updateFlags, Integer action, Integer direction, Integer time, Integer startHue, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void enhancedMoveHue(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void enhancedMoveToHue(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer enhancedHue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void enhancedMoveToHueAndSaturation(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer enhancedHue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void enhancedStepHue(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveColor(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer rateX, Integer rateY, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveColorTemperature(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer moveMode, Integer rate, Integer colorTemperatureMinimum, Integer colorTemperatureMaximum, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveHue(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveSaturation(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer moveMode, Integer rate, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveToColor(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer colorX, Integer colorY, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveToColorTemperature(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer colorTemperature, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveToHue(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer hue, Integer direction, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveToHueAndSaturation(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer hue, Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void moveToSaturation(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer saturation, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void stepColor(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer stepX, Integer stepY, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void stepColorTemperature(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer colorTemperatureMinimum, Integer colorTemperatureMaximum, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void stepHue(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void stepSaturation(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer stepMode, Integer stepSize, Integer transitionTime, Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void stopMoveStep(long chipClusterPtr, DefaultClusterCallback Callback
+ , Integer optionsMask, Integer optionsOverride
+ , @Nullable Integer timedInvokeTimeoutMs);
+
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- private native void colorLoopSet(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer updateFlags,
- Integer action,
- Integer direction,
- Integer time,
- Integer startHue,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void enhancedMoveHue(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void enhancedMoveToHue(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer enhancedHue,
- Integer direction,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void enhancedMoveToHueAndSaturation(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer enhancedHue,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void enhancedStepHue(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveColor(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer rateX,
- Integer rateY,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveColorTemperature(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer moveMode,
- Integer rate,
- Integer colorTemperatureMinimum,
- Integer colorTemperatureMaximum,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveHue(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveSaturation(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer moveMode,
- Integer rate,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveToColor(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer colorX,
- Integer colorY,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveToColorTemperature(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer colorTemperature,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveToHue(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer hue,
- Integer direction,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveToHueAndSaturation(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer hue,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void moveToSaturation(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer saturation,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void stepColor(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer stepX,
- Integer stepY,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void stepColorTemperature(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer colorTemperatureMinimum,
- Integer colorTemperatureMaximum,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void stepHue(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void stepSaturation(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer stepMode,
- Integer stepSize,
- Integer transitionTime,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void stopMoveStep(
- long chipClusterPtr,
- DefaultClusterCallback Callback,
- Integer optionsMask,
- Integer optionsOverride,
- @Nullable Integer timedInvokeTimeoutMs);
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public void readCurrentHueAttribute(IntegerAttributeCallback callback) {
+ public void readCurrentHueAttribute(
+ IntegerAttributeCallback callback
+ ) {
readCurrentHueAttribute(chipClusterPtr, callback);
}
-
public void subscribeCurrentHueAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readCurrentSaturationAttribute(IntegerAttributeCallback callback) {
+ public void readCurrentSaturationAttribute(
+ IntegerAttributeCallback callback
+ ) {
readCurrentSaturationAttribute(chipClusterPtr, callback);
}
-
public void subscribeCurrentSaturationAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeCurrentSaturationAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readRemainingTimeAttribute(IntegerAttributeCallback callback) {
+ public void readRemainingTimeAttribute(
+ IntegerAttributeCallback callback
+ ) {
readRemainingTimeAttribute(chipClusterPtr, callback);
}
-
public void subscribeRemainingTimeAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeRemainingTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readCurrentXAttribute(IntegerAttributeCallback callback) {
+ public void readCurrentXAttribute(
+ IntegerAttributeCallback callback
+ ) {
readCurrentXAttribute(chipClusterPtr, callback);
}
-
public void subscribeCurrentXAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeCurrentXAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readCurrentYAttribute(IntegerAttributeCallback callback) {
+ public void readCurrentYAttribute(
+ IntegerAttributeCallback callback
+ ) {
readCurrentYAttribute(chipClusterPtr, callback);
}
-
public void subscribeCurrentYAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeCurrentYAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readDriftCompensationAttribute(IntegerAttributeCallback callback) {
+ public void readDriftCompensationAttribute(
+ IntegerAttributeCallback callback
+ ) {
readDriftCompensationAttribute(chipClusterPtr, callback);
}
-
public void subscribeDriftCompensationAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeDriftCompensationAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readCompensationTextAttribute(CharStringAttributeCallback callback) {
+ public void readCompensationTextAttribute(
+ CharStringAttributeCallback callback
+ ) {
readCompensationTextAttribute(chipClusterPtr, callback);
}
-
public void subscribeCompensationTextAttribute(
- CharStringAttributeCallback callback, int minInterval, int maxInterval) {
+ CharStringAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeCompensationTextAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorTemperatureAttribute(IntegerAttributeCallback callback) {
+ public void readColorTemperatureAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorTemperatureAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorTemperatureAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorTemperatureAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorModeAttribute(IntegerAttributeCallback callback) {
+ public void readColorModeAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorModeAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorModeAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorControlOptionsAttribute(IntegerAttributeCallback callback) {
+ public void readColorControlOptionsAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorControlOptionsAttribute(chipClusterPtr, callback);
}
-
public void writeColorControlOptionsAttribute(DefaultClusterCallback callback, Integer value) {
writeColorControlOptionsAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorControlOptionsAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorControlOptionsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorControlOptionsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorControlOptionsAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorControlOptionsAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readNumberOfPrimariesAttribute(IntegerAttributeCallback callback) {
+ public void readNumberOfPrimariesAttribute(
+ IntegerAttributeCallback callback
+ ) {
readNumberOfPrimariesAttribute(chipClusterPtr, callback);
}
-
public void subscribeNumberOfPrimariesAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeNumberOfPrimariesAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary1XAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary1XAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary1XAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary1XAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary1XAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary1YAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary1YAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary1YAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary1YAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary1YAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary1IntensityAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary1IntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary1IntensityAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary1IntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary1IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary2XAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary2XAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary2XAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary2XAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary2XAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary2YAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary2YAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary2YAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary2YAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary2YAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary2IntensityAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary2IntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary2IntensityAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary2IntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary2IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary3XAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary3XAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary3XAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary3XAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary3XAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary3YAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary3YAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary3YAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary3YAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary3YAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary3IntensityAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary3IntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary3IntensityAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary3IntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary3IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary4XAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary4XAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary4XAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary4XAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary4XAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary4YAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary4YAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary4YAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary4YAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary4YAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary4IntensityAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary4IntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary4IntensityAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary4IntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary4IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary5XAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary5XAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary5XAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary5XAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary5XAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary5YAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary5YAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary5YAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary5YAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary5YAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary5IntensityAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary5IntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary5IntensityAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary5IntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary5IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary6XAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary6XAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary6XAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary6XAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary6XAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary6YAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary6YAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary6YAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary6YAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary6YAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readPrimary6IntensityAttribute(IntegerAttributeCallback callback) {
+ public void readPrimary6IntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readPrimary6IntensityAttribute(chipClusterPtr, callback);
}
-
public void subscribePrimary6IntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribePrimary6IntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readWhitePointXAttribute(IntegerAttributeCallback callback) {
+ public void readWhitePointXAttribute(
+ IntegerAttributeCallback callback
+ ) {
readWhitePointXAttribute(chipClusterPtr, callback);
}
-
public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value) {
writeWhitePointXAttribute(chipClusterPtr, callback, value, null);
}
- public void writeWhitePointXAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeWhitePointXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeWhitePointXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeWhitePointXAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeWhitePointXAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readWhitePointYAttribute(IntegerAttributeCallback callback) {
+ public void readWhitePointYAttribute(
+ IntegerAttributeCallback callback
+ ) {
readWhitePointYAttribute(chipClusterPtr, callback);
}
-
public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value) {
writeWhitePointYAttribute(chipClusterPtr, callback, value, null);
}
- public void writeWhitePointYAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeWhitePointYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeWhitePointYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeWhitePointYAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeWhitePointYAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointRXAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointRXAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointRXAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointRXAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointRXAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointRXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointRXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointRXAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointRXAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointRYAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointRYAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointRYAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointRYAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointRYAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointRYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointRYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointRYAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointRYAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointRIntensityAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointRIntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointRIntensityAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointRIntensityAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointRIntensityAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointRIntensityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointRIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointRIntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointRIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointGXAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointGXAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointGXAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointGXAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointGXAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointGXAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointGXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointGXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointGXAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointGXAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointGYAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointGYAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointGYAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointGYAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointGYAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointGYAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointGYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointGYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointGYAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointGYAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointGIntensityAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointGIntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointGIntensityAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointGIntensityAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointGIntensityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointGIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointGIntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointGIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointBXAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointBXAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointBXAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointBXAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointBXAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointBXAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointBXAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointBXAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointBXAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointBXAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointBYAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointBYAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointBYAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointBYAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointBYAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointBYAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointBYAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointBYAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointBYAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointBYAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorPointBIntensityAttribute(IntegerAttributeCallback callback) {
+ public void readColorPointBIntensityAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorPointBIntensityAttribute(chipClusterPtr, callback);
}
-
public void writeColorPointBIntensityAttribute(DefaultClusterCallback callback, Integer value) {
writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, null);
}
- public void writeColorPointBIntensityAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ public void writeColorPointBIntensityAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
writeColorPointBIntensityAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeColorPointBIntensityAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorPointBIntensityAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readEnhancedCurrentHueAttribute(IntegerAttributeCallback callback) {
+ public void readEnhancedCurrentHueAttribute(
+ IntegerAttributeCallback callback
+ ) {
readEnhancedCurrentHueAttribute(chipClusterPtr, callback);
}
-
public void subscribeEnhancedCurrentHueAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeEnhancedCurrentHueAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readEnhancedColorModeAttribute(IntegerAttributeCallback callback) {
+ public void readEnhancedColorModeAttribute(
+ IntegerAttributeCallback callback
+ ) {
readEnhancedColorModeAttribute(chipClusterPtr, callback);
}
-
public void subscribeEnhancedColorModeAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeEnhancedColorModeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorLoopActiveAttribute(IntegerAttributeCallback callback) {
+ public void readColorLoopActiveAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorLoopActiveAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorLoopActiveAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorLoopActiveAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorLoopDirectionAttribute(IntegerAttributeCallback callback) {
+ public void readColorLoopDirectionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorLoopDirectionAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorLoopDirectionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorLoopDirectionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorLoopTimeAttribute(IntegerAttributeCallback callback) {
+ public void readColorLoopTimeAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorLoopTimeAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorLoopTimeAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorLoopTimeAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorLoopStartEnhancedHueAttribute(IntegerAttributeCallback callback) {
+ public void readColorLoopStartEnhancedHueAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorLoopStartEnhancedHueAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeColorLoopStartEnhancedHueAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
+ subscribeColorLoopStartEnhancedHueAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorLoopStoredEnhancedHueAttribute(IntegerAttributeCallback callback) {
+ public void readColorLoopStoredEnhancedHueAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorLoopStoredEnhancedHueAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeColorLoopStoredEnhancedHueAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
+ subscribeColorLoopStoredEnhancedHueAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorCapabilitiesAttribute(IntegerAttributeCallback callback) {
+ public void readColorCapabilitiesAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorCapabilitiesAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorCapabilitiesAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorCapabilitiesAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorTempPhysicalMinAttribute(IntegerAttributeCallback callback) {
+ public void readColorTempPhysicalMinAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorTempPhysicalMinAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorTempPhysicalMinAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorTempPhysicalMinAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readColorTempPhysicalMaxAttribute(IntegerAttributeCallback callback) {
+ public void readColorTempPhysicalMaxAttribute(
+ IntegerAttributeCallback callback
+ ) {
readColorTempPhysicalMaxAttribute(chipClusterPtr, callback);
}
-
public void subscribeColorTempPhysicalMaxAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeColorTempPhysicalMaxAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readCoupleColorTempToLevelMinMiredsAttribute(IntegerAttributeCallback callback) {
+ public void readCoupleColorTempToLevelMinMiredsAttribute(
+ IntegerAttributeCallback callback
+ ) {
readCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback);
}
-
public void subscribeCoupleColorTempToLevelMinMiredsAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeCoupleColorTempToLevelMinMiredsAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
+ subscribeCoupleColorTempToLevelMinMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readStartUpColorTemperatureMiredsAttribute(IntegerAttributeCallback callback) {
+ public void readStartUpColorTemperatureMiredsAttribute(
+ IntegerAttributeCallback callback
+ ) {
readStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback);
}
-
- public void writeStartUpColorTemperatureMiredsAttribute(
- DefaultClusterCallback callback, Integer value) {
+ public void writeStartUpColorTemperatureMiredsAttribute(DefaultClusterCallback callback, Integer value) {
writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, null);
}
- public void writeStartUpColorTemperatureMiredsAttribute(
- DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
- writeStartUpColorTemperatureMiredsAttribute(
- chipClusterPtr, callback, value, timedWriteTimeoutMs);
+ public void writeStartUpColorTemperatureMiredsAttribute(DefaultClusterCallback callback, Integer value, int timedWriteTimeoutMs) {
+ writeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeStartUpColorTemperatureMiredsAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeStartUpColorTemperatureMiredsAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
+ subscribeStartUpColorTemperatureMiredsAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readCurrentHueAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeCurrentHueAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readCurrentSaturationAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeCurrentSaturationAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readRemainingTimeAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeRemainingTimeAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readCurrentXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeCurrentXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readCurrentYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeCurrentYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readDriftCompensationAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeDriftCompensationAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readCompensationTextAttribute(
- long chipClusterPtr, CharStringAttributeCallback callback);
-
- private native void subscribeCompensationTextAttribute(
- long chipClusterPtr,
- CharStringAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readColorTemperatureAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorTemperatureAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorModeAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorModeAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorControlOptionsAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorControlOptionsAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorControlOptionsAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readNumberOfPrimariesAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeNumberOfPrimariesAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary1XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary1XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary1YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary1YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary1IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary1IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary2XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary2XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary2YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary2YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary2IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary2IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary3XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary3XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary3YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary3YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary3IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary3IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary4XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary4XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary4YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary4YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary4IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary4IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary5XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary5XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary5YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary5YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary5IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary5IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary6XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary6XAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary6YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary6YAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readPrimary6IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribePrimary6IntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readWhitePointXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeWhitePointXAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeWhitePointXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readWhitePointYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeWhitePointYAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeWhitePointYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointRXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointRXAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointRXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointRYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointRYAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointRYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointRIntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointRIntensityAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointRIntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointGXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointGXAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointGXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointGYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointGYAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointGYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointGIntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointGIntensityAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointGIntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointBXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointBXAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointBXAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointBYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointBYAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointBYAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorPointBIntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeColorPointBIntensityAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeColorPointBIntensityAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readEnhancedCurrentHueAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeEnhancedCurrentHueAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readEnhancedColorModeAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeEnhancedColorModeAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorLoopActiveAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorLoopActiveAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorLoopDirectionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorLoopDirectionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorLoopTimeAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorLoopTimeAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorLoopStartEnhancedHueAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorLoopStartEnhancedHueAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorLoopStoredEnhancedHueAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorLoopStoredEnhancedHueAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorCapabilitiesAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorCapabilitiesAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorTempPhysicalMinAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorTempPhysicalMinAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readColorTempPhysicalMaxAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeColorTempPhysicalMaxAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readCoupleColorTempToLevelMinMiredsAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeCoupleColorTempToLevelMinMiredsAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readStartUpColorTemperatureMiredsAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void writeStartUpColorTemperatureMiredsAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Integer value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeStartUpColorTemperatureMiredsAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readCurrentHueAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeCurrentHueAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readCurrentSaturationAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeCurrentSaturationAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readRemainingTimeAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeRemainingTimeAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readCurrentXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeCurrentXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readCurrentYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeCurrentYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readDriftCompensationAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeDriftCompensationAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readCompensationTextAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+ );
+ private native void subscribeCompensationTextAttribute(long chipClusterPtr,
+ CharStringAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorTemperatureAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorTemperatureAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorModeAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorModeAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorControlOptionsAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorControlOptionsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorControlOptionsAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readNumberOfPrimariesAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeNumberOfPrimariesAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary1XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary1XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary1YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary1YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary1IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary1IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary2XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary2XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary2YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary2YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary2IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary2IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary3XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary3XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary3YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary3YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary3IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary3IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary4XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary4XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary4YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary4YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary4IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary4IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary5XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary5XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary5YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary5YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary5IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary5IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary6XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary6XAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary6YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary6YAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readPrimary6IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribePrimary6IntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readWhitePointXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeWhitePointXAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeWhitePointXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readWhitePointYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeWhitePointYAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeWhitePointYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointRXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointRXAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointRXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointRYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointRYAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointRYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointRIntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointRIntensityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointRIntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointGXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointGXAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointGXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointGYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointGYAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointGYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointGIntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointGIntensityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointGIntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointBXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointBXAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointBXAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointBYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointBYAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointBYAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorPointBIntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeColorPointBIntensityAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeColorPointBIntensityAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readEnhancedCurrentHueAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeEnhancedCurrentHueAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readEnhancedColorModeAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeEnhancedColorModeAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorLoopActiveAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorLoopActiveAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorLoopDirectionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorLoopDirectionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorLoopTimeAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorLoopTimeAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorLoopStartEnhancedHueAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorLoopStartEnhancedHueAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorLoopStoredEnhancedHueAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorLoopStoredEnhancedHueAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorCapabilitiesAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorCapabilitiesAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorTempPhysicalMinAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorTempPhysicalMinAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readColorTempPhysicalMaxAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeColorTempPhysicalMaxAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readCoupleColorTempToLevelMinMiredsAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeCoupleColorTempToLevelMinMiredsAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readStartUpColorTemperatureMiredsAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+
+ private native void writeStartUpColorTemperatureMiredsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Integer value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeStartUpColorTemperatureMiredsAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class ContentLauncherCluster extends BaseChipCluster {
@@ -5362,223 +4729,183 @@ public ContentLauncherCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public void launchContent(
- LaunchResponseCallback callback,
- ChipStructs.ContentLauncherClusterContentSearch search,
- Boolean autoPlay,
- Optional data) {
+ public void launchContent(LaunchResponseCallback callback
+ , ChipStructs.ContentLauncherClusterContentSearch search, Boolean autoPlay, Optional data) {
launchContent(chipClusterPtr, callback, search, autoPlay, data, null);
}
- public void launchContent(
- LaunchResponseCallback callback,
- ChipStructs.ContentLauncherClusterContentSearch search,
- Boolean autoPlay,
- Optional data,
- int timedInvokeTimeoutMs) {
+ public void launchContent(LaunchResponseCallback callback
+ , ChipStructs.ContentLauncherClusterContentSearch search, Boolean autoPlay, Optional data
+ , int timedInvokeTimeoutMs) {
launchContent(chipClusterPtr, callback, search, autoPlay, data, timedInvokeTimeoutMs);
}
- public void launchURL(
- LaunchResponseCallback callback,
- String contentURL,
- Optional displayString,
- Optional brandingInformation) {
+ public void launchURL(LaunchResponseCallback callback
+ , String contentURL, Optional displayString, Optional brandingInformation) {
launchURL(chipClusterPtr, callback, contentURL, displayString, brandingInformation, null);
}
- public void launchURL(
- LaunchResponseCallback callback,
- String contentURL,
- Optional displayString,
- Optional brandingInformation,
- int timedInvokeTimeoutMs) {
- launchURL(
- chipClusterPtr,
- callback,
- contentURL,
- displayString,
- brandingInformation,
- timedInvokeTimeoutMs);
- }
-
- private native void launchContent(
- long chipClusterPtr,
- LaunchResponseCallback Callback,
- ChipStructs.ContentLauncherClusterContentSearch search,
- Boolean autoPlay,
- Optional data,
- @Nullable Integer timedInvokeTimeoutMs);
-
- private native void launchURL(
- long chipClusterPtr,
- LaunchResponseCallback Callback,
- String contentURL,
- Optional displayString,
- Optional brandingInformation,
- @Nullable Integer timedInvokeTimeoutMs);
-
+ public void launchURL(LaunchResponseCallback callback
+ , String contentURL, Optional displayString, Optional brandingInformation
+ , int timedInvokeTimeoutMs) {
+ launchURL(chipClusterPtr, callback, contentURL, displayString, brandingInformation, timedInvokeTimeoutMs);
+ }
+ private native void launchContent(long chipClusterPtr, LaunchResponseCallback Callback
+ , ChipStructs.ContentLauncherClusterContentSearch search, Boolean autoPlay, Optional data
+ , @Nullable Integer timedInvokeTimeoutMs);
+ private native void launchURL(long chipClusterPtr, LaunchResponseCallback Callback
+ , String contentURL, Optional displayString, Optional brandingInformation
+ , @Nullable Integer timedInvokeTimeoutMs);
public interface LaunchResponseCallback {
void onSuccess(Integer status, Optional data);
-
+
void onError(Exception error);
}
- public interface AcceptHeaderAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface AcceptHeaderAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ClientGeneratedCommandListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface AttributeListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
- public void readAcceptHeaderAttribute(AcceptHeaderAttributeCallback callback) {
+ public void readAcceptHeaderAttribute(
+ AcceptHeaderAttributeCallback callback
+ ) {
readAcceptHeaderAttribute(chipClusterPtr, callback);
}
-
public void subscribeAcceptHeaderAttribute(
- AcceptHeaderAttributeCallback callback, int minInterval, int maxInterval) {
+ AcceptHeaderAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAcceptHeaderAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readSupportedStreamingProtocolsAttribute(LongAttributeCallback callback) {
+ public void readSupportedStreamingProtocolsAttribute(
+ LongAttributeCallback callback
+ ) {
readSupportedStreamingProtocolsAttribute(chipClusterPtr, callback);
}
-
- public void writeSupportedStreamingProtocolsAttribute(
- DefaultClusterCallback callback, Long value) {
+ public void writeSupportedStreamingProtocolsAttribute(DefaultClusterCallback callback, Long value) {
writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, null);
}
- public void writeSupportedStreamingProtocolsAttribute(
- DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) {
- writeSupportedStreamingProtocolsAttribute(
- chipClusterPtr, callback, value, timedWriteTimeoutMs);
+ public void writeSupportedStreamingProtocolsAttribute(DefaultClusterCallback callback, Long value, int timedWriteTimeoutMs) {
+ writeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, value, timedWriteTimeoutMs);
}
-
public void subscribeSupportedStreamingProtocolsAttribute(
- LongAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeSupportedStreamingProtocolsAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ LongAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
+ subscribeSupportedStreamingProtocolsAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback) {
+ ServerGeneratedCommandListAttributeCallback callback
+ ) {
readServerGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeServerGeneratedCommandListAttribute(
- ServerGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeServerGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ServerGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeServerGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
public void readClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback) {
+ ClientGeneratedCommandListAttributeCallback callback
+ ) {
readClientGeneratedCommandListAttribute(chipClusterPtr, callback);
}
-
public void subscribeClientGeneratedCommandListAttribute(
- ClientGeneratedCommandListAttributeCallback callback, int minInterval, int maxInterval) {
- subscribeClientGeneratedCommandListAttribute(
- chipClusterPtr, callback, minInterval, maxInterval);
+ ClientGeneratedCommandListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
+ subscribeClientGeneratedCommandListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readAttributeListAttribute(AttributeListAttributeCallback callback) {
+ public void readAttributeListAttribute(
+ AttributeListAttributeCallback callback
+ ) {
readAttributeListAttribute(chipClusterPtr, callback);
}
-
public void subscribeAttributeListAttribute(
- AttributeListAttributeCallback callback, int minInterval, int maxInterval) {
+ AttributeListAttributeCallback callback
+ ,
+ int minInterval, int maxInterval) {
subscribeAttributeListAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- public void readClusterRevisionAttribute(IntegerAttributeCallback callback) {
+ public void readClusterRevisionAttribute(
+ IntegerAttributeCallback callback
+ ) {
readClusterRevisionAttribute(chipClusterPtr, callback);
}
-
public void subscribeClusterRevisionAttribute(
- IntegerAttributeCallback callback, int minInterval, int maxInterval) {
+ IntegerAttributeCallback callback
+,
+ int minInterval, int maxInterval) {
subscribeClusterRevisionAttribute(chipClusterPtr, callback, minInterval, maxInterval);
}
- private native void readAcceptHeaderAttribute(
- long chipClusterPtr, AcceptHeaderAttributeCallback callback);
-
- private native void subscribeAcceptHeaderAttribute(
- long chipClusterPtr,
- AcceptHeaderAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readSupportedStreamingProtocolsAttribute(
- long chipClusterPtr, LongAttributeCallback callback);
-
- private native void writeSupportedStreamingProtocolsAttribute(
- long chipClusterPtr,
- DefaultClusterCallback callback,
- Long value,
- @Nullable Integer timedWriteTimeoutMs);
-
- private native void subscribeSupportedStreamingProtocolsAttribute(
- long chipClusterPtr, LongAttributeCallback callback, int minInterval, int maxInterval);
-
- private native void readServerGeneratedCommandListAttribute(
- long chipClusterPtr, ServerGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeServerGeneratedCommandListAttribute(
- long chipClusterPtr,
- ServerGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClientGeneratedCommandListAttribute(
- long chipClusterPtr, ClientGeneratedCommandListAttributeCallback callback);
-
- private native void subscribeClientGeneratedCommandListAttribute(
- long chipClusterPtr,
- ClientGeneratedCommandListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readAttributeListAttribute(
- long chipClusterPtr, AttributeListAttributeCallback callback);
-
- private native void subscribeAttributeListAttribute(
- long chipClusterPtr,
- AttributeListAttributeCallback callback,
- int minInterval,
- int maxInterval);
-
- private native void readClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback);
-
- private native void subscribeClusterRevisionAttribute(
- long chipClusterPtr, IntegerAttributeCallback callback, int minInterval, int maxInterval);
+ private native void readAcceptHeaderAttribute(long chipClusterPtr,
+ AcceptHeaderAttributeCallback callback
+ );
+ private native void subscribeAcceptHeaderAttribute(long chipClusterPtr,
+ AcceptHeaderAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readSupportedStreamingProtocolsAttribute(long chipClusterPtr,
+ LongAttributeCallback callback
+ );
+
+ private native void writeSupportedStreamingProtocolsAttribute(long chipClusterPtr, DefaultClusterCallback callback, Long value, @Nullable Integer timedWriteTimeoutMs);
+ private native void subscribeSupportedStreamingProtocolsAttribute(long chipClusterPtr,
+ LongAttributeCallback callback
+, int minInterval, int maxInterval);
+
+ private native void readServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeServerGeneratedCommandListAttribute(long chipClusterPtr,
+ ServerGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ );
+ private native void subscribeClientGeneratedCommandListAttribute(long chipClusterPtr,
+ ClientGeneratedCommandListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ );
+ private native void subscribeAttributeListAttribute(long chipClusterPtr,
+ AttributeListAttributeCallback callback
+ , int minInterval, int maxInterval);
+
+ private native void readClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+ );
+ private native void subscribeClusterRevisionAttribute(long chipClusterPtr,
+ IntegerAttributeCallback callback
+, int minInterval, int maxInterval);
}
public static class DescriptorCluster extends BaseChipCluster {
@@ -5591,203 +4918,193 @@ public DescriptorCluster(long devicePtr, int endpointId) {
@Override
public native long initWithDevice(long devicePtr, int endpointId);
- public interface DeviceListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface PartsListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ServerGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface ClientGeneratedCommandListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
-
- public interface AttributeListAttributeCallback {
- void onSuccess(List valueList);
-
- void onError(Exception ex);
-
- default void onSubscriptionEstablished() {}
- }
+ public interface DeviceListAttributeCallback {
+ void onSuccess( List valueList);
+ void onError(Exception ex);
+ default void onSubscriptionEstablished() {}
+ }
+ public interface ServerListAttributeCallback {
+ void onSuccess( List