DJI Mobile SDK Documentation
      包:dji.v5.manager.intelligent.spotlight
      classSince MSDK 5.14.0

      SpotLightTarget

      聚焦功能的目标类。

      Package dji.v5.manager.intelligent.spotlightAndroid · Java / Kotlin

      聚焦功能的目标类。

      MSDK 5.14.0开始支持

      成员

      8 个成员

      方法

      8

      Members

      method

      getTargetType

      TargetType getTargetType() 

      获取聚焦功能的目标类型。

      返回值

      类型说明
      TargetType返回聚焦功能的目标类型。
      method

      setTargetType

      void setTargetType(TargetType targetType) 

      设置聚焦功能的目标类型。

      参数

      名称类型说明
      targetTypeTargetType 聚焦功能的目标类型。
      method

      getTargetIndex

      Integer getTargetIndex() 

      获取聚焦功能的目标索引。

      返回值

      类型说明
      Integer返回聚焦功能的目标索引。
      method

      setTargetIndex

      void setTargetIndex(Integer targetIndex) 

      设置聚焦功能的目标索引。

      参数

      名称类型说明
      targetIndexInteger 聚焦功能的目标索引。
      method

      getTargetLocation

      LocationCoordinate3D getTargetLocation() 

      获取聚焦功能的目标位置。

      返回值

      类型说明
      LocationCoordinate3D返回聚焦功能的目标位置。
      method

      setTargetLocation

      void setTargetLocation(LocationCoordinate3D targetLocation) 

      设置聚焦功能的目标位置。

      参数

      名称类型说明
      targetLocationLocationCoordinate3D 聚焦功能的目标位置。
      method

      getTargetRect

      DoubleRect getTargetRect() 

      获取聚焦功能的目标区域。

      返回值

      类型说明
      DoubleRect返回聚焦功能的目标区域。
      method

      setTargetRect

      void setTargetRect(DoubleRect targetRect) 

      设置聚焦功能的目标区域。

      参数

      名称类型说明
      targetRectDoubleRect 聚焦功能的目标区域。