Interface HMCameraSnapshotControlDelegate


  • public interface HMCameraSnapshotControlDelegate
    This delegate receives updates on the camera snapshot. API-Since: 10.0
    • Method Detail

      • cameraSnapshotControlDidTakeSnapshotError

        default void cameraSnapshotControlDidTakeSnapshotError​(@NotNull
                                                               @NotNull HMCameraSnapshotControl cameraSnapshotControl,
                                                               @Nullable
                                                               @Nullable HMCameraSnapshot snapshot,
                                                               @Nullable
                                                               @Nullable NSError error)
        Informs the delegate that the snapshot was taken.
        Parameters:
        cameraSnapshotControl - Sender of this message.
        snapshot - Snapshot will be valid if snapshot was successfully taken.
        error - Error will be populated if the snapshot could not be taken.
      • cameraSnapshotControlDidUpdateMostRecentSnapshot

        default void cameraSnapshotControlDidUpdateMostRecentSnapshot​(@NotNull
                                                                      @NotNull HMCameraSnapshotControl cameraSnapshotControl)
        Informs the delegate that the mostRecentSnapshot was updated.
        Parameters:
        cameraSnapshotControl - Sender of this message.