# 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

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

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

##### Input Parameters:

@NonNull final InitializationSettings settings | Initialized parameter of simulator.
@Nullable final CommonCallbacks.CompletionCallback callback | Return the callback of execution result.

method
disableSimulator

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

##### Input Parameters:

@Nullable final CommonCallbacks.CompletionCallback callback | Return the callback of execution result.

method
addSimulatorStateListener

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

##### Input Parameters:

@NonNull SimulatorStatusListener listener | Listener of the simulator status.

method
removeSimulatorStateListener

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

##### Input Parameters:

@NonNull SimulatorStatusListener listener | Listener of the simulator status.

method
clearAllSimulatorStateListener

###### method clearAllSimulatorStateListener

    void clearAllSimulatorStateListener()

Package: | dji.v5.manager.interfaces

##### Description:

Clear all listeners of the simulator status.
`Supported since MSDK 5.0.0`

##### Related:

class
InitializationSettings
class
SimulatorStatusListener
class
SimulatorState
×

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