IExpoFpPlanPresenter

Presenter for managing a specific plan.

Properties

Link copied to clipboard

Parameters that were applied to the plan.

Link copied to clipboard
abstract val id: UUID

Presenter unique id.

Link copied to clipboard

Location provider that is currently in use.

Link copied to clipboard
abstract val planLink: ExpoFpLinkType

Link from which the plan was loaded.

Link copied to clipboard
abstract val planStatusFlow: Flow<ExpoFpPlanStatus>

A flow that notifies about plan loading statuses and navigation errors.

Functions

Link copied to clipboard
abstract fun activateFloor(floor: ExpoFpFloor)

Switch to the specified floor.

Link copied to clipboard

New parameters will be applied immediately and saved in additionalParams.

Link copied to clipboard
abstract suspend fun boothsList(): ExpoFpResult<List<ExpoFpBooth>>

Request plan booths (suspend version).

abstract fun boothsList(completion: (ExpoFpResult<List<ExpoFpBooth>>) -> Unit)

Request plan booths (callback version).

Link copied to clipboard

Request plan categories (suspend version).

Request plan categories (callback version).

Link copied to clipboard
abstract suspend fun evaluateCustomScript(script: String): ExpoFpResult<Any?>

Execute custom script for DEBUG purposes (suspend version).

abstract fun evaluateCustomScript(script: String, completion: (ExpoFpResult<Any?>) -> Unit)

Execute custom script for DEBUG purposes (callback version).

Link copied to clipboard

Request plan exhibitors (suspend version).

Request plan exhibitors (callback version).

Link copied to clipboard
abstract fun findLocation()

Location search if location is enabled.

Link copied to clipboard
abstract fun fitBounds()

Display the plan within its boundaries.

Link copied to clipboard

Request elements visibility info (suspend version).

Request elements visibility info (callback version).

Link copied to clipboard
abstract suspend fun getFloors(): ExpoFpResult<List<ExpoFpFloor>>

Request information about floors in a plan (suspend version).

abstract fun getFloors(completion: (ExpoFpResult<List<ExpoFpFloor>>) -> Unit)

Request information about floors in a plan (callback version).

Link copied to clipboard

Optimize the constructed route (suspend version).

Optimize the constructed route (callback version).

Link copied to clipboard
abstract fun getView(): View

Returns a View for displaying the plan.

Link copied to clipboard
abstract fun highlightBooths(externalIds: List<String>)

Highlight the specified Booths by external IDs.

Link copied to clipboard
abstract fun highlightExhibitors(externalIds: List<String>)

Highlight the specified Exhibitors by external IDs.

Link copied to clipboard
abstract fun reloadPlan(planLink: ExpoFpLinkType? = null, additionalParams: List<URLQueryItem>? = null, locationProvider: IExpoFpLocationProvider? = null, messageListener: IExpoFpPlanMessageListener? = null)

Clear cache and reload the plan.

Link copied to clipboard
abstract fun removeAdditionalParams(keys: List<String>)

Parameters will be removed immediately for the given keys.

Link copied to clipboard
abstract fun removeLocationProvider()

Removes current location provider from the plan and enables GPS.

Link copied to clipboard
abstract fun removeMessageListener()

Removes current message listener from the plan.

Link copied to clipboard
abstract suspend fun search(text: String): ExpoFpResult<List<ExpoFpSearchModel>>

Text search (suspend version).

abstract fun search(text: String, completion: (ExpoFpResult<List<ExpoFpSearchModel>>) -> Unit)

Text search (callback version).

Link copied to clipboard
abstract fun selectBooth(nameOrExternalId: String)

Select the specified Booth by name or external ID.

Link copied to clipboard
abstract fun selectCategory(name: String?)

Select the specified Category by name.

Link copied to clipboard
abstract fun selectCurrentPosition(position: ExpoFpPosition?, focus: Boolean = true)

Select the specified position and optionally focus on it.

Link copied to clipboard
abstract fun selectExhibitor(nameOrExternalId: String)

Select the specified Exhibitor by name or external ID.

Link copied to clipboard
abstract fun selectRoute(waypoints: List<ExpoFpRouteWaypoint>, onlyAccessible: Boolean = false)

Build the specified route.

Link copied to clipboard
abstract fun setBookmarks(bookmarks: List<ExpoFpBookmark>)

Add or remove bookmarks.

Link copied to clipboard

Enable or disable elements visibility in the plan.

Link copied to clipboard

New location provider will be applied immediately.

Link copied to clipboard

Sets a new message listener for the plan. Note: IExpoFpPlanMessageListener is not retained.

Link copied to clipboard
abstract fun switchView()

Switch between 2D and 3D.

Link copied to clipboard
abstract fun zoomIn()

Zoom in the plan.

Link copied to clipboard
abstract fun zoomOut()

Zoom out the plan.