Package apple.matter

Class MTRCommissioningParameters

  • All Implemented Interfaces:
    NSObject

    public class MTRCommissioningParameters
    extends NSObject
    Information that can be provided to commissionWithNodeID to commision devices.
    • Constructor Detail

      • MTRCommissioningParameters

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

      • CSRNonce

        @Deprecated
        @Nullable
        public @Nullable NSData CSRNonce()
        Deprecated.
        API-Since: 16.1 Deprecated-Since: 16.4
      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • attestationNonce

        @Nullable
        public @Nullable NSData attestationNonce()
        The nonce to use when requesting attestation information from the device. If nil, a random nonce will be generated automatically. If not nil, must be 32 bytes of data.
      • automaticallyNotifiesObserversForKey

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

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

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

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

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

        @Nullable
        public @Nullable java.lang.String countryCode()
        The country code to provide to the device during commissioning. If not nil, this must be a 2-character ISO 3166-1 country code, which the device can use to decide on things like radio communications bands. API-Since: 17.0
      • csrNonce

        @Nullable
        public @Nullable NSData csrNonce()
        The nonce to use when requesting a CSR for the node's operational certificate. If nil, a random nonce will be generated automatically. If not nil, must be 32 bytes of data. API-Since: 16.4
      • debugDescription_static

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

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

        @Nullable
        public @Nullable MTRDeviceAttestationDelegate deviceAttestationDelegate()
        An optional delegate that can be notified upon completion of device attestation. See documentation for MTRDeviceAttestationDelegate for details. The delegate methods will be invoked on an arbitrary thread.
      • failSafeExpiryTimeoutSecs

        @Deprecated
        @Nullable
        public @Nullable NSNumber failSafeExpiryTimeoutSecs()
        Deprecated.
        API-Since: 16.1 Deprecated-Since: 16.4
      • failSafeTimeout

        @Nullable
        public @Nullable NSNumber failSafeTimeout()
        The timeout, in seconds, to set for the fail-safe when calling into the deviceAttestationDelegate and waiting for it to respond. If nil, the fail-safe will not be extended before calling into the deviceAttestationDelegate. API-Since: 16.4
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

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

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

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

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

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

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

        public void setAttestationNonce​(@Nullable
                                        @Nullable NSData value)
        The nonce to use when requesting attestation information from the device. If nil, a random nonce will be generated automatically. If not nil, must be 32 bytes of data.
      • setCSRNonce

        @Deprecated
        public void setCSRNonce​(@Nullable
                                @Nullable NSData value)
        Deprecated.
        API-Since: 16.1 Deprecated-Since: 16.4
      • setCountryCode

        public void setCountryCode​(@Nullable
                                   @Nullable java.lang.String value)
        The country code to provide to the device during commissioning. If not nil, this must be a 2-character ISO 3166-1 country code, which the device can use to decide on things like radio communications bands. API-Since: 17.0
      • setCsrNonce

        public void setCsrNonce​(@Nullable
                                @Nullable NSData value)
        The nonce to use when requesting a CSR for the node's operational certificate. If nil, a random nonce will be generated automatically. If not nil, must be 32 bytes of data. API-Since: 16.4
      • setDeviceAttestationDelegate

        public void setDeviceAttestationDelegate​(@Nullable
                                                 @Nullable MTRDeviceAttestationDelegate value)
        An optional delegate that can be notified upon completion of device attestation. See documentation for MTRDeviceAttestationDelegate for details. The delegate methods will be invoked on an arbitrary thread.
      • setFailSafeExpiryTimeoutSecs

        @Deprecated
        public void setFailSafeExpiryTimeoutSecs​(@Nullable
                                                 @Nullable NSNumber value)
        Deprecated.
        API-Since: 16.1 Deprecated-Since: 16.4
      • setFailSafeTimeout

        public void setFailSafeTimeout​(@Nullable
                                       @Nullable NSNumber value)
        The timeout, in seconds, to set for the fail-safe when calling into the deviceAttestationDelegate and waiting for it to respond. If nil, the fail-safe will not be extended before calling into the deviceAttestationDelegate. API-Since: 16.4
      • setSkipCommissioningComplete

        public void setSkipCommissioningComplete​(boolean value)
        Only perform the PASE steps of commissioning. If set to YES, commissioning will be completed by another admin on the network. Defaults to NO. API-Since: 17.0
      • setThreadOperationalDataset

        public void setThreadOperationalDataset​(@Nullable
                                                @Nullable NSData value)
        The Thread operational dataset, if available.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • setWifiCredentials

        public void setWifiCredentials​(@Nullable
                                       @Nullable NSData value)
        The Wi-Fi Credentials. Allowed to be nil or 0-length data for an open network, as long as wifiSSID is not nil.
      • setWifiSSID

        public void setWifiSSID​(@Nullable
                                @Nullable NSData value)
        The Wi-Fi SSID, if available.
      • skipCommissioningComplete

        public boolean skipCommissioningComplete()
        Only perform the PASE steps of commissioning. If set to YES, commissioning will be completed by another admin on the network. Defaults to NO. API-Since: 17.0
      • superclass_static

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

        @Nullable
        public @Nullable NSData threadOperationalDataset()
        The Thread operational dataset, if available.
      • useStoredAccessor

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

        public static long version_static()
      • wifiCredentials

        @Nullable
        public @Nullable NSData wifiCredentials()
        The Wi-Fi Credentials. Allowed to be nil or 0-length data for an open network, as long as wifiSSID is not nil.
      • wifiSSID

        @Nullable
        public @Nullable NSData wifiSSID()
        The Wi-Fi SSID, if available.