# class FlyToTarget

    @Keep
     class FlyToTarget

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

##### Description:

Target of Fly-To task.
`Supported since MSDK 5.14.0`

##### Class Members:

#### Members

method
getTargetLocation

###### method getTargetLocation

    LocationCoordinate3D getTargetLocation()

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

##### Description:

Gets the location of the target point.

##### Return:

LocationCoordinate3D | Returns the location of the target point.

method
setTargetLocation

###### method setTargetLocation

    void setTargetLocation(LocationCoordinate3D targetLocation)

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

##### Description:

Sets the location of the target point.

##### Input Parameters:

LocationCoordinate3D targetLocation | The location of the target point.

method
getSecurityTakeoffHeight

###### method getSecurityTakeoffHeight

    int getSecurityTakeoffHeight()

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

##### Description:

Gets the aircraft's takeoff altitude.

##### Return:

int | Returns the aircraft's takeoff altitude.

method
setSecurityTakeoffHeight

###### method setSecurityTakeoffHeight

    void setSecurityTakeoffHeight(Integer securityTakeoffHeight)

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

##### Description:

Sets the take-off altitude of the aircraft.

##### Input Parameters:

Integer securityTakeoffHeight | The take-off altitude of the aircraft.

method
getMaxSpeed

###### method getMaxSpeed

    int getMaxSpeed()

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

##### Description:

Gets the flight speed towards the target point.

##### Return:

int | Returns the flight speed towards the target point.

method
setMaxSpeed

###### method setMaxSpeed

    void setMaxSpeed(Integer maxSpeed)

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

##### Description:

Sets the flight speed towards the target point.

##### Input Parameters:

Integer maxSpeed | The flight speed towards the target point.

×

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