Template:Sdk callback page
Callback set and handler snippet
vp_callback_set(instance, VP_CALLBACK_UNKNOWN, callback_unknown);
void callback_unknown(VPInstance instance, int reason_code) { }{{{2}}}
Reason code
This callback is passed a return code integer, which indicates whether the request was successful (0) or errored for any of these reasons:
| Return code | Cause |
|---|---|
VP_RC_SUCCESS |
Successful call (for methods that have a registered callback, it only means the request has been sent) |
Return attributes
- No attributes are returned in this callback
Behavior
- There is no special behavior for this callback
Examples
- This callback has no usage examples; please add at least one to this page
Usage
{{sdk callback page|Callback name|Callback description
|reasoncodes=
{{sdk return code row|name|cause}}
|returnattributes=
{{sdk attribute row|type|name|description}}
|behavior=
|caveats=
|examples=
|seealso=
}}