initialize

fun initialize(refreshIntervalSeconds: Int = DEFAULT_REFRESH_INTERVAL_SECONDS.toInt())(source)

Initializes the service by checking for BlueMap and registering lifecycle hooks if present.

When BlueMap is installed, registers BlueMapBridge callbacks that fire when BlueMap's API becomes available. When BlueMap is not installed, logs a message and returns immediately.

Parameters

refreshIntervalSeconds

how often to re-read markers from BlueMap (in seconds)