POIViewModel
open class POIViewModel(coreApi: CoreApi, propertyId: Int, coroutineDispatcherProvider: CoroutineDispatcherProvider) : ViewModel
Constructors
Link copied to clipboard
constructor(coreApi: CoreApi, propertyId: Int, coroutineDispatcherProvider: CoroutineDispatcherProvider)
Functions
Link copied to clipboard
Link copied to clipboard
Composes the legacy POI detail-card title from its CMS long and short names by delegating to SearchDisplayNames.formatDisplayName. This is the seam that pins the POI card onto the same parenthetical rule as the search rows and the selected-entity detail card (EntityDetailViewModel.composeTitle): a distinct short name renders as "Long (Short)", while a blank short name (or one equal to the long name) yields the long name alone — never an empty "()".
Link copied to clipboard
Link copied to clipboard
fun getLocationMarketingEventFeed(propertyId: Int, campaignId: String, marketingProvider: CoreApi.FeedProvider)
Link copied to clipboard
Link copied to clipboard
fun getPoiView(poiType: Constants.POIType, buildingId: Int, propertyId: Int, entityId: Int, context: Context)
Link copied to clipboard
Link copied to clipboard
fun performLocationEventFeedAction(propertyId: Int, campaignId: String, marketingProvider: CoreApi.FeedProvider, navigateToMap: Consumer<Entity>)
Link copied to clipboard