Interface HMCameraSnapshotControlDelegate


  • public interface HMCameraSnapshotControlDelegate
    This delegate receives updates on the camera snapshot.
    • Method Detail

      • cameraSnapshotControlDidTakeSnapshotError

        default void cameraSnapshotControlDidTakeSnapshotError​(HMCameraSnapshotControl cameraSnapshotControl,
                                                               HMCameraSnapshot snapshot,
                                                               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​(HMCameraSnapshotControl cameraSnapshotControl)
        Informs the delegate that the mostRecentSnapshot was updated.
        Parameters:
        cameraSnapshotControl - Sender of this message.