interface
BufferedChannel
Extends: ru.dgis.sdk.Channel
Properties
val value
T?
CameraMoveController
A class that allows you to control the position of the camera for the needs of animation.<p>The class must be thread-safe.</p>
Methods
fun position(time: Duration): CameraPosition
The position of the viewing area at a particular point in time.
The controller must be prepared for the animation times to be passed in any order,
not necessarily non-decreasing.
Parameters
time
Time from the start of the animation in milliseconds.
Returns
CameraPositionThe position of the viewing area at the specified point in time.
fun animationTime(): Duration
Animation duration in milliseconds.
Returns
DurationAnimation duration in milliseconds.
Channel
Methods
@CheckResult
fun connect(executor: Executor, callback: ChannelCallback<T>): AutoCloseable
Parameters
@CheckResult
fun connect(callback: ChannelCallback<T>): AutoCloseable
Parameters
CustomFollowController
An interface that can be implemented on the platform to create your own parameter tracking controller
To add a controller to a camera, you need to implement this interface and create a FollowController object passing
an object that implements this interface as an argument.
Methods
fun availableValues(): EnumSet<FollowValue>
A set of value types that this controller can manage.
Returns
fun requestValues(values: EnumSet<FollowValue>): Unit
This method tells the controller which
values it provides are in use. This frees
resources associated with calculating unused values. The method can
be called multiple times with different values, in which case
the last one is the actual one.
Parameters
fun setNewValuesNotifier(notifier: NewValuesNotifier?): Unit
Installing a notifier that notifies about new values.
The notifier must be stored in the implemented controller
Parameters
Future
Extends: java.lang.AutoCloseable
Methods
fun onComplete(
executor: Executor,
resultCallback: FutureResultCallback<T>,
errorCallback: FutureErrorCallback
): Unit
Parameters
fun onComplete(resultCallback: FutureResultCallback<T>, errorCallback: FutureErrorCallback): Unit
Parameters
fun onResult(executor: Executor, callback: FutureResultCallback<T>): Unit
Parameters
fun onResult(callback: FutureResultCallback<T>): Unit
Parameters
fun onError(executor: Executor, callback: FutureErrorCallback): Unit
Parameters
suspend fun await(): T
Returns
T
LocationChangeListener
Interface for reporting changes in geolocation and its availability.
Methods
fun onLocationChanged(locations: Array<Location>): Unit
Parameters
LocationSource
Methods
fun activate(listener: LocationChangeListener): Unit
Parameters
fun deactivate(): Unit
Returns
LogSink
Logging receiver.
Methods
fun write(message: LogMessage): Unit
Logging.
The method can be called on an arbitrary thread.
Parameters
MagneticHeadingSource
Methods
fun activate(listener: MagneticChangeListener): Unit
Parameters
fun deactivate(): Unit
Returns
MapEventSender
An interface that allows you to send an input event to the map.
MapGestureRecognitionEngine
Interface for gesture recognition.
Extends: java.lang.AutoCloseable
Methods
fun resetRecognitionState(): Unit
Returns
fun setMapEventSender(mapEventSender: MapEventSender): Unit
Parameters
MutableChannel
Extends: ru.dgis.sdk.Channel
Methods
MutableStatefulChannel
Extends: ru.dgis.sdk.StatefulChannel
Properties
var value
T
RoadEventActionButtonModel
Action button model for a traffic event.
Methods
Properties
val icon
Icon?
Icon.
val name
Name, for example, "Confirm".
val countChannel
The number of actions applied to the event by all users.
val highlightChannel
Highlighted.
SimpleClusterRenderer
Class for customizing cluster appearance in IMapObjectManager.
Methods
fun renderCluster(cluster: SimpleClusterObject): SimpleClusterOptions
Getting a token for the cluster.
Parameters
StatefulChannel
Extends: ru.dgis.sdk.Channel
Properties
val value
T
StyleZoomToTiltRelation
Object for describing the dependence of the camera tilt angle on the style zoom level.
TouchEventsObserver
Methods
fun onDragEnd(): Unit
Returns