public class SnapToPlaceSDK
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SnapToPlaceSDK.Builder
Build an instance of SnapToPlaceSDK
|
static interface |
SnapToPlaceSDK.CurrentPlaceResult
An interface to handle responses from the fetching of the current place.
|
static interface |
SnapToPlaceSDK.ImageLoader
A simple interface to be implemented in order to provide image loading support to the picker for place icons.
|
| Modifier and Type | Method and Description |
|---|---|
static SnapToPlaceSDK |
get() |
protected java.lang.String |
getAdvertiserId() |
void |
getCurrentPlace(SnapToPlaceSDK.CurrentPlaceResult callback)
The method to call to fetch the current place of the device.
|
static void |
with(SnapToPlaceSDK sdk)
Initialize the SnapToPlace SDK with an instance created from
SnapToPlaceSDK.Builder |
public static void with(SnapToPlaceSDK sdk)
SnapToPlaceSDK.Buildersdk - public static SnapToPlaceSDK get()
public void getCurrentPlace(SnapToPlaceSDK.CurrentPlaceResult callback)
SnapToPlaceSDK.CurrentPlaceResult on
the main thread.callback - protected java.lang.String getAdvertiserId()