Argument passed to the dialog callback when a dialog is completed or canceled.
The success
and cancelled
properties may not be reliable for dialogs. In the event
that the user canceled the dialog, the result
field is undefined
.
NOTE This is an abstract type. Any object meeting this description can be used where this type is used.
Indicates if the user canceled the dialog.
Indicates if the user canceled the dialog.
Error code. Returns 0 if success
is true
.
Error code will be 0 if success
is true
, nonzero otherwise. If the error
was generated by the operating system, that system's error value is used.
Otherwise, this value will be -1.
Error message, if any returned.
Will be undefined if success
is true
.
Will be undefined if success
is true
.
Overrides: ErrorResponse.error
Indicates if successful
Indicates if successful
Returns true
if request succeeded, false
otherwise.
Overrides: ErrorResponse.success