isUserAwayFromSelectedVenue

open fun isUserAwayFromSelectedVenue(coreSelectedPropertyId: Int, mapSelectedPropertyId: Int, userPropertyId: Int): Boolean

Return

true when a venue is selected or being plotted and the user is not inside it

Parameters

coreSelectedPropertyId

property the app asked for (core selection), or <= 0

mapSelectedPropertyId

property selected on the map, or <= 0

userPropertyId

property the user is in, or <= 0 when outside every venue


open fun isUserAwayFromSelectedVenue(@Nullable mapApi: MapApi, @Nullable coreApi: CoreApi, userPropertyId: Int): Boolean

Same rule, reading both selections from the live APIs. Missing APIs or selections count as "nothing selected".