class InitializationSettings
final class InitializationSettings
|
Package: | dji.v5.manager.aircraft.simulator |
Description:
Simulator initialization settings class, which is used to initialize simulator parameters.
Supported since MSDK 5.0.0
Class Members:
method createInstance
static InitializationSettings createInstance(LocationCoordinate2D location, @IntRange(from=0,to=20) int satelliteCount)
|
Package: | dji.v5.manager.aircraft.simulator |
Description:
The initialized method of simulator parameter.
Supported since MSDK 5.0.0
LocationCoordinate2D location | The initial coordinates of the aircraft in the simulator. |
@IntRange(from=0,to=20) int satelliteCount | The initial number of satellites of the aircraft in the simulator. The range of satellite numbers is [0, 20]. |
Return:
method getLocation
LocationCoordinate2D getLocation()
|
Package: | dji.v5.manager.aircraft.simulator |
Description:
To get the initial coordinates of the aircraft in the simulator.
Supported since MSDK 5.0.0
Return:
method getSatelliteCount
Package: | dji.v5.manager.aircraft.simulator |
Description:
To get the initial number of satellites of the aircraft in the simulator.
Supported since MSDK 5.0.0
Return:
int | Return the initial number of satellites of the aircraft in the simulator. |