DJI Mobile SDK Documentation

      class DJIProductKey

      class DJIProductKey
      包:dji.sdk.keyvalue.key
      描述:

      DJIProductKey是一个专用于提供对设备产品相关功能的key集合。你可以通过这个key集合获取设备的连接状态,设备产品名,设备固件版本。

      类成员:

      基础信息

      连接状态
      final KeyConnection
      static final DJIKeyInfo<Boolean> KeyConnection = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"Connection", SingleValueConverter.BooleanConverter).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
      包:dji.sdk.keyvalue.key
      描述:

      参数: Boolean

      true表示产品已连接。

      MSDK 5.0开始支持

      final KeyProductType
      static final DJIKeyInfo<ProductType> KeyProductType = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"ProductType", new SingleValueConverter<>(ProductType.class,ProductTypeMsg.class)).canGet(true).canSet(false).canListen(true).canPerformAction(false).setIsEvent(false)
      包:dji.sdk.keyvalue.key
      描述:

      参数: ProductType

      获取产品类型。

      MSDK 5.0开始支持