-
public interface PictureRecorder.PictureResultListenerListens for picture recorder events.
-
-
Method Summary
Modifier and Type Method Description abstract voidonPictureShutter(boolean didPlaySound)The shutter was activated. abstract voidonPictureResult(@Nullable() PictureResult.Stub result, @Nullable() Exception error)Picture was taken or there was some error, ifthe result is null. -
-
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 errorerror- the error or null if there wasn't any
-
-
-
-