moveCamera

fun moveCamera(update: CameraUpdate, callback: OnCameraDidChange? = null)

Repositions the camera according to the instructions defined in the update. The move is instantaneous. Only properties specified within CameraUpdate will change.

Parameters

update

The change that should be applied to the camera

callback

An optional callback to be notified from the main thread when the animation stops. The callback will be called with one parameter of type CameraCallbackStatus indicating if the animation was complete or canceled.