Init

data class Init @JvmOverloads() constructor(clientId: String, clientSecret: String, venue: String, perspective: String?, baseUrl: String, noAuth: Boolean, firstMapId: String?, headers: List<MPIHeader>?, useBundle: Boolean?)

This class hold the properties of values to be used when initialzing a map

Constructors

Init
Link copied to clipboard
fun Init(clientId: String = "", clientSecret: String = "", venue: String = "", perspective: String? = "Website", baseUrl: String = "", noAuth: Boolean = false, firstMapId: String? = null, headers: List<MPIHeader>? = null, useBundle: Boolean? = false)

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): String
component3
Link copied to clipboard
operator fun component3(): String
component4
Link copied to clipboard
operator fun component4(): String?
component5
Link copied to clipboard
operator fun component5(): String
component6
Link copied to clipboard
operator fun component6(): Boolean
component7
Link copied to clipboard
operator fun component7(): String?
component8
Link copied to clipboard
operator fun component8(): List<MPIHeader>?
component9
Link copied to clipboard
operator fun component9(): Boolean?
copy
Link copied to clipboard
fun copy(clientId: String = "", clientSecret: String = "", venue: String = "", perspective: String? = "Website", baseUrl: String = "", noAuth: Boolean = false, firstMapId: String? = null, headers: List<MPIHeader>? = null, useBundle: Boolean? = false): MPIOptions.Init
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

baseUrl
Link copied to clipboard
val baseUrl: String
Base url string of the venue
clientId
Link copied to clipboard
val clientId: String
Client id provided to you by Mappedin to access our API- Note: Contact your Mappedin representative if you do not have one.
clientSecret
Link copied to clipboard
val clientSecret: String
Client secret provided to you by Mappedin to access our API- Note: Contact your Mappedin representative if you do not have one.
firstMapId
Link copied to clipboard
val firstMapId: String? = null
Set the first map with first map id when showing the venue
headers
Link copied to clipboard
val headers: List<MPIHeader>? = null
An array of MPIHeader for requests
noAuth
Link copied to clipboard
val noAuth: Boolean = false
Boolean value of whether there is no authorization
perspective
Link copied to clipboard
val perspective: String?
Perspective of the venue
useBundle
Link copied to clipboard
val useBundle: Boolean? = false
Use a bundle for venue loading and cache it for faster subsequent loading
venue
Link copied to clipboard
val venue: String
Name string of your venue