public static interface

DJIBaseComponent.DJICompletionCallback

dji.sdk.base.DJIBaseComponent.DJICompletionCallback

Class Overview

Completion callback for asynchronous operations. This completion block is used for methods that return at an unknown future time.

Summary

Public Methods
abstract void onResult(DJIError error)
Invoked with execution result when the asynchronous call completes.

Public Methods

public abstract void onResult (DJIError error)

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.

Parameters
error The DJI error result