class ISimulatorManager
interface ISimulatorManager
|
Package: | dji.v5.manager.interfaces |
Description:
Class that is used for managing simulator. It can be used to enable/disable, set up parameters/listeners for simulator.
Supported since MSDK 5.0.0
Class Members:
method isSimulatorEnabled
boolean isSimulatorEnabled()
|
Package: | dji.v5.manager.interfaces |
Description:
To get whether the simulator is turned on.
Supported since MSDK 5.0.0
Return:
boolean | true means that the simulator is turned on. |
method enableSimulator
void enableSimulator(@NonNull final InitializationSettings settings, @Nullable final CommonCallbacks.CompletionCallback callback)
|
Package: | dji.v5.manager.interfaces |
Description:
Turn on the simulator.
Supported since MSDK 5.0.0
method disableSimulator
void disableSimulator(@Nullable final CommonCallbacks.CompletionCallback callback)
|
Package: | dji.v5.manager.interfaces |
Description:
Turn off the simulator.
Supported since MSDK 5.0.0
method addSimulatorStateListener
void addSimulatorStateListener(@NonNull SimulatorStatusListener listener)
|
Package: | dji.v5.manager.interfaces |
Description:
To set the listener of the simulator status.
Supported since MSDK 5.0.0
method removeSimulatorStateListener
void removeSimulatorStateListener(@NonNull SimulatorStatusListener listener)
|
Package: | dji.v5.manager.interfaces |
Description:
Remove the listener of the simulator status.
Supported since MSDK 5.0.0
method clearAllSimulatorStateListener
void clearAllSimulatorStateListener()
|
Package: | dji.v5.manager.interfaces |
Description:
Clear all listeners of the simulator status.
Supported since MSDK 5.0.0