snapshot
Called to capture a snapshot synchronously.
Return
the snapshot
Called to capture a snapshot asynchronously. Consecutive requests will return snapshots in the order they were added.
Parameters
listener
The listener to be invoked when snapshot finishes