Contains detailed information about why a result was canceled.
public class CancellationDetails
Explicitly frees any external resource attached to the object
Creates an instance of CancellationDetails object for the canceled RecognitionResult.
The error code in case of an unsuccessful recognition (when getReason() returns Error). Added in version 1.1.0.
The error message in case of an unsuccessful recognition (when getReason() returns Error).
The reason the recognition was canceled.
Returns a String that represents the cancellation details.