Location | Button SDK for Android v7.0.0

Classes

Annotations

Enums

Location

This class is deprecated.

No replacement.

Class Overview

Entity representing a coordinate (lat/lng) or address and an optional set of provider specific identifiers.

Can be used for example as parameter to setSubjectLocation(Location).

Summary

Constants
String
String

Public Constructors

| | Location(double latitude, double longitude) | | | Location( String name, double latitude, double longitude) | | | Location( String streetAddress, String city, String state, String country) | | | Location( String name) | | | Location(android.location.Location location) |

Public Methods

| --- | | void | putIdentifier( String name, String value) | | Location | setAddress( String streetAddress) | | Location | setCity( String city) | | Location | setCountry( String country) | | Location | setLocation(double latitude, double longitude) | | Location | setName( String name) | | Location | setState( String state) | | Location | setZip( String zip) |

Constants

public static final String KEY_LATITUDE

Constant Value:

"latitude"

public static final String KEY_LONGITUDE

Constant Value:

"longitude"