onViewportStatusChanged

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

Called whenever ViewportStatus changes.

Parameters

from

The previous ViewportStatus

to

The current ViewportStatus.

reason

The reason that the ViewportStatus has been changed.