Package apple.matter.protocol
Interface MTRDeviceControllerDelegate
-
public interface MTRDeviceControllerDelegateThe protocol definition for the MTRDeviceControllerDelegate. All delegate methods will be called on the supplied Delegate Queue. API-Since: 16.4
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voidcontrollerCommissioningComplete(@NotNull MTRDeviceController controller, @Nullable NSError error)Deprecated.default voidcontrollerCommissioningCompleteNodeID(@NotNull MTRDeviceController controller, @Nullable NSError error, @Nullable NSNumber nodeID)Notify the delegate when commissioning is completed.default voidcontrollerCommissioningSessionEstablishmentDone(@NotNull MTRDeviceController controller, @Nullable NSError error)Notify the delegate when a commissioning session is established or the establishment has errored out.default voidcontrollerReadCommissioningInfo(@NotNull MTRDeviceController controller, @NotNull MTRProductIdentity info)Notify the delegate when commissioning infomation has been read from the Basic Information cluster of the commissionee.default voidcontrollerStatusUpdate(@NotNull MTRDeviceController controller, long status)Notify the delegate when commissioning status gets updated.
-
-
-
Method Detail
-
controllerCommissioningComplete
@Deprecated default void controllerCommissioningComplete(@NotNull @NotNull MTRDeviceController controller, @Nullable @Nullable NSError error)Deprecated.Notify the delegate when commissioning is completed. API-Since: 16.4 Deprecated-Since: 17.0 Deprecated-Message: Please use controller:commissioningComplete:nodeID:
-
controllerCommissioningCompleteNodeID
default void controllerCommissioningCompleteNodeID(@NotNull @NotNull MTRDeviceController controller, @Nullable @Nullable NSError error, @Nullable @Nullable NSNumber nodeID)Notify the delegate when commissioning is completed. Exactly one of error and nodeID will be nil. If nodeID is not nil, then it represents the node id the node was assigned, as encoded in its operational certificate. API-Since: 17.0
-
controllerCommissioningSessionEstablishmentDone
default void controllerCommissioningSessionEstablishmentDone(@NotNull @NotNull MTRDeviceController controller, @Nullable @Nullable NSError error)Notify the delegate when a commissioning session is established or the establishment has errored out.
-
controllerReadCommissioningInfo
default void controllerReadCommissioningInfo(@NotNull @NotNull MTRDeviceController controller, @NotNull @NotNull MTRProductIdentity info)Notify the delegate when commissioning infomation has been read from the Basic Information cluster of the commissionee. At the point when this notification happens, device attestation has not been performed yet, so the information delivered by this notification should not be trusted. API-Since: 17.0
-
controllerStatusUpdate
default void controllerStatusUpdate(@NotNull @NotNull MTRDeviceController controller, long status)Notify the delegate when commissioning status gets updated.
-
-