VMDAssetFileCollection

This class contains a collection of VMDFiles that are located in the "assets" folder of an Android project. It also assumes that the files have the default file names.

Since

1.1

Constructors

Link copied to clipboard
constructor(assetManager: AssetManager?, baseDirectory: String)

Constructor

constructor(assetManager: AssetManager, venueId: String, baseDirectory: String = String.format("venue_map_%s/", venueId), mapProvider: MapProvider?, destinationDirectory: String)

Constructor

Functions

Link copied to clipboard
Link copied to clipboard
open override fun listFiles(baseDirectory: String): Array<String>?
Link copied to clipboard
fun load(venueId: String?, baseDirectory: String = String.format("venue_map_%s/", venueId), mapProvider: MapProvider?, destinationDirectory: String)
Link copied to clipboard
open override fun openFile(fileName: String): InputStream?
Link copied to clipboard
fun setMapGeojsonFile(mapGeojsonFile: VMDFile?)
Link copied to clipboard
open fun unzipFiles()

An instance of this class will not have any zip files to unzip. This method's logic is implemented in a subclass. NOTE: It might be a better practice to create an interface for the file collection. This was added instead, so that the method signatures didn't have to change for the existing sdk methods.

Properties

Link copied to clipboard
Link copied to clipboard

Building XML files for legacy VMDs

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