| Package: | dji.v5.manager.interfaces |
classSince MSDK 5.0.0
ISimulatorManager
Class that is used for managing simulator.
Description:
method
method
isSimulatorEnabled
boolean isSimulatorEnabled() |
To get whether the simulator is turned on.
Return
| Name | Description |
|---|---|
boolean | true means that the simulator is turned on. |
method
method
enableSimulator
void enableSimulator(@NonNull |
Turn on the simulator.
Parameters
| Name | Type | Description |
|---|---|---|
settings | @NonNull | Initialized parameter of simulator. |
callback | @Nullable | Return the callback of execution result. |
method
method
disableSimulator
void disableSimulator(@Nullable |
Turn off the simulator.
Parameters
| Name | Type | Description |
|---|---|---|
callback | @Nullable | Return the callback of execution result. |
method
addSimulatorStateListener
void addSimulatorStateListener(@NonNull |
To set the listener of the simulator status.
Parameters
| Name | Type | Description |
|---|---|---|
listener | @NonNull | Listener of the simulator status. |
method
removeSimulatorStateListener
void removeSimulatorStateListener(@NonNull |
Remove the listener of the simulator status.
Parameters
| Name | Type | Description |
|---|---|---|
listener | @NonNull | Listener of the simulator status. |
method
clearAllSimulatorStateListener
void clearAllSimulatorStateListener() |
Clear all listeners of the simulator status.
Related:
class
InitializationSettings
Since MSDK 5.0.0final class InitializationSettings |
Simulator initialization settings class, which is used to initialize simulator parameters.
class
SimulatorStatusListener
Since MSDK 5.0.0interface SimulatorStatusListener |
Listener of the simulator status.
class
class
SimulatorState
Since MSDK 5.0.0class SimulatorState |
Simulator status.