cancel

open fun cancel()

Cancel the current snapshot operation. Cancel the current snapshot operation, if any. The callback passed to the start method is called with error parameter set.