# class KeyListener

    interface KeyListener<T>

Package: | dji.v5.common.callback

##### Description:

It is used to listen the change from a key value.

##### Class Members:

method
onValueChange

###### method onValueChange

    void onValueChange(@Nullable T oldValue, @Nullable T newValue)

Package: | dji.v5.common.callback

##### Description:

It will be called when a key value is changed.

##### Input Parameters:

@Nullable T oldValue | Return a old value. Return`null`if there is no old value.
@Nullable T newValue | Return a new value. Return`null`if there is no new value.

×

## Search Mobile SDK Document

{{searchCount}} Results

- ### {{{(item.highlights && item.highlights.title) || item.title}}}

  {{{(item.highlights && item.highlights.content[0]) || item.title}}}

Load More
Loading...
Not Found