# class SpotLightTarget

    @Keep
     class SpotLightTarget

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Target of the spotlight function.
`Supported since MSDK 5.14.0`

##### Class Members:

#### Members

method
getTargetType

###### method getTargetType

    TargetType getTargetType()

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Gets the target type of the spotlight function.

##### Return:

TargetType | Returns the target type of the spotlight function.

method
setTargetType

###### method setTargetType

    void setTargetType(TargetType targetType)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Sets target type of spotlight function.

##### Input Parameters:

TargetType targetType | Target type of spotlight function

method
getTargetIndex

###### method getTargetIndex

    Integer getTargetIndex()

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Gets the index of spotlight function.

##### Return:

Integer | Returns the index of spotlight function.

method
setTargetIndex

###### method setTargetIndex

    void setTargetIndex(Integer targetIndex)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Sets the target index of spotlight function.

##### Input Parameters:

Integer targetIndex | Target index of spotlight function.

method
getTargetLocation

###### method getTargetLocation

    LocationCoordinate3D getTargetLocation()

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Gets the target location of spotlight function.

##### Return:

LocationCoordinate3D | Returns the target location of spotlight function.

method
setTargetLocation

###### method setTargetLocation

    void setTargetLocation(LocationCoordinate3D targetLocation)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Sets the target location of SpotLight function.

##### Input Parameters:

LocationCoordinate3D targetLocation | Target location of SpotLight function.

method
getTargetRect

###### method getTargetRect

    DoubleRect getTargetRect()

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Gets the target Rectangle of SpotLight function.

##### Return:

DoubleRect | Returns the target Rectangle of SpotLight function.

method
setTargetRect

###### method setTargetRect

    void setTargetRect(DoubleRect targetRect)

Package: | dji.v5.manager.intelligent.spotlight

##### Description:

Sets the target Rectangle of spotlight function.

##### Input Parameters:

DoubleRect targetRect | Target Rectangle of spotlight function.

×

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