Interface | Description |
---|---|
ConnectionErrorHandler |
Invoked when there is a problem connecting to LotaData API server
|
LocationCallback<T> |
Interface for receiving location
|
LocationErrorHandler<T> |
Called when there is a problem obtaining location
|
Moments |
This interface exposes Moments location services.
|
MomentsClient.ConnectionCallback | |
TrackingModeCallback |
Created on 4/4/16.
|
Class | Description |
---|---|
ConnectionResult |
Status of the connection request
|
LocatorConfig |
Location specific configuration options
|
MomentsClient |
Use this class to obtain a connection to the MomentsService.
|
MomentsConfig |
Configuration options available to you for controlling how Moments SDK operates.
|
Enum | Description |
---|---|
LocationError |
Describes error conditions returned by this API when there is a problem obtaining location
|
TrackingMode |
Created on 2/26/16.
|
See Moments
for interface definition.
public class HomeActivity extends Activity{
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
...
Moments client = MomentsClient.getInstance(this);
}
}
Inside of your AndroidManifest.xml please include:
<service android:name="com.lotadata.moments.MomentsService"
android:exported="false"/>
<meta-data android:name="com.lotadata.moments.API_KEY"
android:value="_your_key_here_" />
Moments