Argument passed to the dialog callback when a dialog is completed or canceled.
This class has been removed since 4.0.0
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.
Error message, if any returned.
Will be undefined if success
is true
.
If successful, returns the JSON response containing the post_id
of the new post.
If the user canceled the dialog, the results is undefined.
Indicates if the operation succeeded.
Indicates if the operation succeeded.
Returns true
if request succeeded, false
otherwise.