public static interface

DJICommonCallbacks.DJICompletionCallbackWithThreeParam

dji.common.util.DJICommonCallbacks.DJICompletionCallbackWithThreeParam<X, Y, Z>

Class Overview

DJI completion callback with parameters X, Y, Z, which will be defined where it is called. Completion callback for asynchronous operations. This callback is used for methods that return at an unknown future time.

Summary

Public Methods
abstract void onFailure(DJIError error)
Invoked with the error code when the asynchronous call fails to complete normally.
abstract void onSuccess(X x, Y y, Z z)
Invoked with the result requested when the asynchronous call completes successfully.

Public Methods

public abstract void onFailure (DJIError error)

Invoked with the error code when the asynchronous call fails to complete normally. Override to handle in your own code.

public abstract void onSuccess (X x, Y y, Z z)

Invoked with the result requested when the asynchronous call completes successfully. Override to handle in your own code.