DJI Mobile SDK Documentation

      class AccessoryAggregationKey

      class AccessoryAggregationKey extends DJIKey
      Package:dji.keysdk
      Inherits From:DJIKey
      Description:

      AccessoryAggregationKey provides dedicated access to Accessories related attributes.

      Class Members:
      method
      method create
      static AccessoryAggregationKey create(@AccessoryAggregationParamKey @NonNull String paramKey)
      Package:dji.keysdk
      Description:

      Creates an AccessoryAggregation key.

      Input Parameters:
      @AccessoryAggregationParamKey @NonNull String paramKeyA valid paramKey
      Return:
      static AccessoryAggregationKeyAccessoryAggregation Key
      method
      method create
      static AccessoryAggregationKey create(@AccessoryAggregationParamKey @NonNull String paramKey,
      @IntRange(from = 0, to = MAX_COMPONENT_INDEX) int componentIndex)
      Package:dji.keysdk
      Description:

      Creates an AccessoryAggregation key.

      Input Parameters:
      @AccessoryAggregationParamKey @NonNull String paramKeyA valid paramKey
      @IntRange(from = 0, to = MAX_COMPONENT_INDEX) int componentIndexThe index of the AccessoryAggregation component.
      Return:
      static AccessoryAggregationKeyAccessoryAggregation Key
      method createSpeakerKey
      static AccessoryAggregationKey createSpeakerKey(@SpeakerParamKey @NonNull String paramKey)
      Package:dji.keysdk
      Description:

      Creates a Speaker key.

      Input Parameters:
      @SpeakerParamKey @NonNull String paramKeyA valid paramKey.
      Return:
      static AccessoryAggregationKeySpeaker key.
      method createSpotlightKey
      static AccessoryAggregationKey createSpotlightKey(@SpotlightParamKey @NonNull String paramKey)
      Package:dji.keysdk
      Description:

      Creates a Spotlight key.

      Input Parameters:
      @SpotlightParamKey @NonNull String paramKeyA valid paramKey.
      Return:
      static AccessoryAggregationKeySpeaker key.
      method createBeaconKey
      static AccessoryAggregationKey createBeaconKey(@BeaconParamKey @NonNull String paramKey)
      Package:dji.keysdk
      Description:

      Creates a Beacon key.

      Input Parameters:
      @BeaconParamKey @NonNull String paramKeyA valid paramKey.
      Return:
      static AccessoryAggregationKeyBeacon key.
      Inherited Methods:
      Class Keys:

      SPOTLIGHT_ENABLED

      Access:

      PUSH, SET

      Type:

      Boolean

      API:

      -

      SPOTLIGHT_TEMPERATURE

      Access:

      PUSH

      Type:

      Float

      API:

      -

      PLAY_MODE

      Access:

      PUSH, SET

      Type:

      PlayMode

      API:

      -

      STOP

      Access:

      ACTION

      Type:

      -

      API:

      -

      SPEAKER_VOLUME

      Access:

      PUSH, SET

      Type:

      Integer

      API:

      -

      SPEAKER_STATE

      Access:

      PUSH

      Type:

      SpeakerState

      API:

      -

      BEACON_ENABLED

      Access:

      PUSH, SET

      Type:

      Boolean

      API:

      -

      SPOTLIGHT_BRIGHTNESS

      Access:

      PUSH, SET

      Type:

      Integer

      API:

      -

      PLAY

      Access:

      ACTION

      Type:

      -

      API:

      -