class CompletionCallbackWithParam
interface CompletionCallbackWithParam <T>
Package: dji.open.pilot.server.common
Description:
The callback which carries a return message from an asynchronous operation.
Class Members:
method onSuccess
Package: dji.open.pilot.server.common
Description:
The callback means the asynchronous operation is done without any errors.
method onFailure
void onFailure (@NonNull ErrorImp error)
Package: dji.open.pilot.server.common
Description:
The callback will return and carry an “error” object when the asynchronous operation is done. If the operation is done without any errors, the “error” object isnull.
@NonNull ErrorImp error Error code