LocationObject

class LocationObject : Parcelable

Type

CREATOR

companion object CREATOR : Creator<LocationObject>

Field to create one or more objects of this type. See companion object functions later on this page.

Constructors

<init>

LocationObject(parcel: Parcel)

LocationObject(lat: Double = 0.0, lon: Double = 0.0)

Properties

lat

var lat: Double

lon

var lon: Double

Functions

describeContents

fun describeContents(): Int

getGeoPoint

fun getGeoPoint(): GeoPoint

getLatLng

fun getLatLng(): LatLng

getLocationByString

fun getLocationByString(): String

parse

fun parse(data: Location?): LocationObject

Convert data from GraphQL

fun parse(data: Location?): LocationObject

fun parse(data: Location1?): LocationObject

writeToParcel

fun writeToParcel(dest: Parcel?, flags: Int): Unit

Companion object functions

createFromParcel

fun createFromParcel(parcel: Parcel): LocationObject

newArray

fun newArray(size: Int): Array<LocationObject?>

Availability

HealthCare Locator 1.0 and higher

Requirements

Platform and requirements: Android