Class YMKLocationSimulator

Simulates the device location.

Instance Methods

- subscribeForSimulatorEventsWithSimulatorListener:

Subscribes to simulation events.

- unsubscribeFromSimulatorEventsWithSimulatorListener:

Unsubscribes from simulation events.

Properties

active

True if simulator is not suspended.

geometry

The polyline describing the location.

polylinePosition

The position of the polyline.

speed

Movement speed.

Method Detail

-subscribeForSimulatorEventsWithSimulatorListener:

- (void)subscribeForSimulatorEventsWithSimulatorListener:(nonnull id< YMKLocationSimulatorListener >)simulatorListener 

Subscribes to simulation events.

-unsubscribeFromSimulatorEventsWithSimulatorListener:

- (void)unsubscribeFromSimulatorEventsWithSimulatorListener:(nonnull id< YMKLocationSimulatorListener >)simulatorListener 

Unsubscribes from simulation events.

Property Detail

active

(assign, readonly, getter=isActive) BOOL active

True if simulator is not suspended.

geometry

(assign, readwrite) YMKPolyline * geometry

The polyline describing the location.

polylinePosition

(assign, readonly) YMKPolylinePosition * polylinePosition

The position of the polyline.

speed

(assign, readwrite) double speed

Movement speed.