registerRoutesPreviewObserver

fun registerRoutesPreviewObserver(observer: RoutesPreviewObserver)

Registers RoutesPreviewObserver to be notified when routes preview state changes. observer is immediately called with current preview state

Parameters

observer

to be called on routes preview state changes