The class to manage the MSDK keys, MSDK provides a series of methods to access and control the parameters and behaviors of the hardware module which include the set and get method of a DJIKeyvalue. Also they include the listener and action of theDJIKeyvalue. You can use createKey method fromKeyToolsclass to create an instance of DJIKey more easily.
Obtain the DJIValue value of the DJIKey synchronously, which is the value obtained from the MSDK cache. To get the value asynchronously from the hardware device, please call getValue.
@NonNull <R> R getValue(DJIKey<R> key, @NonNull R defaultValue)
Package:
dji.v5.manager.interfaces
Description:
Obtain the DJIValue value of the DJIKey synchronously, which is the value obtained from the MSDK cache. If the value cannot be read, the set defaultValue will be returned. To get the value asynchronously from the hardware device, please call getValue.
Get the DJIValue value of DJIKey asynchronously, which is the value obtained from the hardware device. To read the value from the MSDK cache, please call getValue.