Interface CameraController.SnapshotListener

Enclosing interface:
CameraController

public static interface CameraController.SnapshotListener
This class can be used to listen for snapshot events.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    This callback is called if it was not possible to make a snapshot.
    void
    This callback is called after the snapshot is successfully saved to disk.
  • Method Details

    • onSnapshotTaken

      void onSnapshotTaken(@Nullable LibraryItem libraryItem)
      This callback is called after the snapshot is successfully saved to disk.
      Parameters:
      libraryItem - The library item created for this snapshot.
    • onSnapshotFailed

      void onSnapshotFailed()
      This callback is called if it was not possible to make a snapshot.