Called to capture a snapshot synchronously.
the snapshot
Called to capture a snapshot asynchronously.
The listener to be invoked when snapshot finishes