dji.sdk.base.DJIBaseComponent.DJICompletionCallback |
Completion callback for asynchronous operations. This completion block is used for methods that return at an unknown future time.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void | onResult(DJIError error) Invoked with execution result when the asynchronous call completes. |
Invoked with execution result when the asynchronous call completes. Override to handle in your own code. If the asynchronous call completes successfully, it will return null
.
error | The DJI error result |
---|