| Package: | dji.open.pilot.server.common |
classSince MSDK 5.0.0
KeyListener
Used to monitor whether the key value is updated.
Description:
method
method
onValueChange
void onValueChange(@Nullable |
Called every time the key value is updated.
Parameters
| Name | Type | Description |
|---|---|---|
oldValue | @Nullable | Return the old value. Returns null if there is no old value. |
newValue | @Nullable | Return the new value. Returns null if there is no new value. |