onViewportStatusChanged

abstract fun onViewportStatusChanged(from: ViewportStatus, to: ViewportStatus, reason: ViewportStatusChangeReason)

Called whenever ViewportStatus changes.

Parameters

from

The previous ViewportStatus

reason

The reason that the ViewportStatus has been changed.

to

The current ViewportStatus.