# class DJIProductKey

    class DJIProductKey

Package: | dji.sdk.keyvalue.key

##### Description:

`DJIProductKey` provides a set of methods to get hardware product information，including getting the connection status, product type and firmware version of the hardware product.

##### Class Members:

#### Basic Information

Connected Status
KeyConnection

###### 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)

Package: | dji.sdk.keyvalue.key

##### Description:

Parameter:Boolean
`true` represents hardware product is connected.
`supported since MSDK 5.0`

Product Type
KeyProductType

###### 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)

Package: | dji.sdk.keyvalue.key

##### Description:

Parameter:`ProductType`
To get hareware product type.
`supported since MSDK 5.0`

Firmware Version
KeyFirmwareVersion

###### final KeyFirmwareVersion

    static final DJIKeyInfo<String> KeyFirmwareVersion = new DJIKeyInfo<>(componentType.value(),subComponentType.value(),"FirmwareVersion", SingleValueConverter.StringConverter).canGet(true).canSet(false).canListen(false).canPerformAction(false).setIsEvent(false)

Package: | dji.sdk.keyvalue.key

##### Description:

Parameter:String
To get hareware product firmware version.
`supported since MSDK 5.0`

×

## 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