Package apple.matter.protocol
Interface MTRDeviceAttestationDelegate
-
public interface MTRDeviceAttestationDelegateThe protocol definition for the MTRDeviceAttestationDelegate.
-
-
Method Summary
All Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description default voiddeviceAttestationCompletedForControllerOpaqueDeviceHandleAttestationDeviceInfoError(@NotNull MTRDeviceController controller, @NotNull org.moe.natj.general.ptr.VoidPtr opaqueDeviceHandle, @NotNull MTRDeviceAttestationDeviceInfo attestationDeviceInfo, @Nullable NSError error)Notify the delegate when device attestation completed with device info for additional verification.default voiddeviceAttestationCompletedForDeviceAttestationDeviceInfoError(@NotNull MTRDeviceController controller, @NotNull org.moe.natj.general.ptr.VoidPtr device, @NotNull MTRDeviceAttestationDeviceInfo attestationDeviceInfo, @Nullable NSError error)Deprecated.default voiddeviceAttestationFailedForControllerOpaqueDeviceHandleError(@NotNull MTRDeviceController controller, @NotNull org.moe.natj.general.ptr.VoidPtr opaqueDeviceHandle, @NotNull NSError error)Notify the delegate when device attestation fails.default voiddeviceAttestationFailedForDeviceError(@NotNull MTRDeviceController controller, @NotNull org.moe.natj.general.ptr.VoidPtr device, @NotNull NSError error)Deprecated.
-
-
-
Method Detail
-
deviceAttestationCompletedForDeviceAttestationDeviceInfoError
@Deprecated default void deviceAttestationCompletedForDeviceAttestationDeviceInfoError(@NotNull @NotNull MTRDeviceController controller, @NotNull @NotNull org.moe.natj.general.ptr.VoidPtr device, @NotNull @NotNull MTRDeviceAttestationDeviceInfo attestationDeviceInfo, @Nullable @Nullable NSError error)Deprecated.API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please implement deviceAttestationCompletedForController:opaqueDeviceHandle:attestationDeviceInfo:error:
-
deviceAttestationFailedForDeviceError
@Deprecated default void deviceAttestationFailedForDeviceError(@NotNull @NotNull MTRDeviceController controller, @NotNull @NotNull org.moe.natj.general.ptr.VoidPtr device, @NotNull @NotNull NSError error)Deprecated.API-Since: 16.1 Deprecated-Since: 16.4 Deprecated-Message: Please implement deviceAttestationFailedForController:opaqueDeviceHandle:error:
-
deviceAttestationCompletedForControllerOpaqueDeviceHandleAttestationDeviceInfoError
default void deviceAttestationCompletedForControllerOpaqueDeviceHandleAttestationDeviceInfoError(@NotNull @NotNull MTRDeviceController controller, @NotNull @NotNull org.moe.natj.general.ptr.VoidPtr opaqueDeviceHandle, @NotNull @NotNull MTRDeviceAttestationDeviceInfo attestationDeviceInfo, @Nullable @Nullable NSError error)Notify the delegate when device attestation completed with device info for additional verification. If this callback is implemented, continueCommissioningDevice on MTRDeviceController is expected to be called if commisioning should continue. This allows the delegate to stop commissioning after examining the device info (DAC, PAI, CD).- Parameters:
controller- Controller corresponding to the commissioning processopaqueDeviceHandle- Handle of device being commissionedattestationDeviceInfo- Attestation information for the deviceerror- NSError representing the error code on attestation failure. Nil if success. API-Since: 16.4
-
deviceAttestationFailedForControllerOpaqueDeviceHandleError
default void deviceAttestationFailedForControllerOpaqueDeviceHandleError(@NotNull @NotNull MTRDeviceController controller, @NotNull @NotNull org.moe.natj.general.ptr.VoidPtr opaqueDeviceHandle, @NotNull @NotNull NSError error)Notify the delegate when device attestation fails. If this callback is implemented, continueCommissioningDevice on MTRDeviceController is expected to be called if commisioning should continue.- Parameters:
controller- Controller corresponding to the commissioning processopaqueDeviceHandle- Handle of device being commissionederror- NSError representing the error code for the failure API-Since: 16.4
-
-