IndoorOfflineVenue

class IndoorOfflineVenue(val mapView: MapView, val venueId: String, val theme: String? = null, val callback: OnIndoorOfflineStatusChanged? = null)

Create an offline Indoor Venue.

This will trigger the app to download and store everything necessary to display an IndoorVenue offline. Once successful this will not redownload anything but just fetch the stored venue info.

    val offlineVenue = IndoorOfflineVenue(mapView, "my_indoor_venue")
val overlay = IndoorRenderer(offlineVenue)

Parameters

mapView

MapView to use as app context.

venueId

The name of your Venue.

theme

An optional theme for your venue.

callback

A callback called once the venue is fully downloaded or if something failed.

Constructors

Link copied to clipboard
constructor(mapView: MapView, venueId: String, theme: String? = null, callback: OnIndoorOfflineStatusChanged? = null)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Current status of this IndoorOfflineVenue.

Link copied to clipboard
val theme: String? = null
Link copied to clipboard

Functions

Link copied to clipboard

Add a callback to be called when this IndoorOfflineVenue change its status.

Link copied to clipboard

Remove a callback to be called when this IndoorOfflineVenue change its status.