# class KeyListener

    interface KeyListener<T>

Package: | dji.v5.common.callback

##### Description:

Used to monitor whether the key value is updated.
`Supported since MSDK 5.0.0`

##### Class Members:

method
onValueChange

###### method onValueChange

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

Package: | dji.v5.common.callback

##### Description:

Called every time the key value is updated.
`Supported since MSDK 5.0.0`

##### Input Parameters:

@Nullable T oldValue | Return the old value. Returns `null` if there is no old value.
@Nullable T newValue | Return the new value. Returns `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