cameraSnapshotControl(_:didTake:error:)
Tells the delegate that the camera has taken a new snapshot.
Declaration
optional func cameraSnapshotControl(_ cameraSnapshotControl: HMCameraSnapshotControl, didTake snapshot: HMCameraSnapshot?, error: (any Error)?)Parameters
- cameraSnapshotControl:
The camera snapshot control responsible for the new snapshot.
- snapshot:
The snapshot taken by the camera.
nilif there was a problem. - error:
An error that is populated if there was a problem taking the snapshot;
nilotherwise.