| java.lang.Object | |
| ↳ | com.usebutton.sdk.util.LocationProvider |
Convenience class that will check all available (taking available permissions into account)
for the newest location. Provided to quickly provide e.g. transportation to/from the user's location
for use in creating a PlacementContext for
prepareForDisplayWithContext(PlacementContext, ButtonDropin.Listener) or
willDisplayPromotion(String, PlacementContext, ButtonDropin.Listener).
Requires that either ACCESS_COARSE_LOCATION or
ACCESS_FINE_LOCATION is available in this app's AndroidManifest.xml.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||