Discards the current recording.
- iOS 9.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
A block that is called when the request is completed.
discard can only be called after the handler block in
stop has been called. Use the
handler block to do any required cleanup, including setting any
RPPreview references to