onViewportStatusChanged

Called whenever ViewportStatus changes.

Parameters

from

The previous ViewportStatus

to

The current ViewportStatus.

reason

The reason that the ViewportStatus has been changed.