public class

LatLngPair

extends
java.lang.Object
   ↳
     ↳ com.usebutton.sdk.util.LatLngPair

Class Overview

Class representing a coordinate (latitude and longitude) for use in PlacementContext that can be used to specify to/from locations for a ButtonDropin, see prepareForDisplayWithContext(PlacementContext) and willDisplayPromotion(String, PlacementContext, ButtonDropin.Listener)

Summary

Public Constructors
LatLngPair(Double latitude, Double longitude)
LatLngPair(Location location)
Public Methods
double getLatitude()
double getLongitude()
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public LatLngPair (Double latitude, Double longitude)

public LatLngPair (Location location)

Public Methods

public double getLatitude ()

public double getLongitude ()