Package apple.homekit.protocol
Interface HMCameraSnapshotControlDelegate
-
public interface HMCameraSnapshotControlDelegateThis delegate receives updates on the camera snapshot.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default voidcameraSnapshotControlDidTakeSnapshotError(HMCameraSnapshotControl cameraSnapshotControl, HMCameraSnapshot snapshot, NSError error)Informs the delegate that the snapshot was taken.default voidcameraSnapshotControlDidUpdateMostRecentSnapshot(HMCameraSnapshotControl cameraSnapshotControl)Informs the delegate that the mostRecentSnapshot was updated.
-
-
-
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.
-
-