Package 

Interface PictureRecorder.PictureResultListener

    • Method Summary

      Modifier and Type Method Description
      abstract void onPictureShutter(boolean didPlaySound) The shutter was activated.
      abstract void onPictureResult(@Nullable() PictureResult.Stub result, @Nullable() Exception error) Picture was taken or there was some error, ifthe result is null.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onPictureShutter

         abstract void onPictureShutter(boolean didPlaySound)

        The shutter was activated.

        Parameters:
        didPlaySound - whether a sound was played
      • onPictureResult

         abstract void onPictureResult(@Nullable() PictureResult.Stub result, @Nullable() Exception error)

        Picture was taken or there was some error, ifthe result is null.

        Parameters:
        result - the result or null if there was some error
        error - the error or null if there wasn't any