Geocaching Game Plugin
A simple plugin that provides geolocation data to a Unity game, even when the screen is off
com.deovolentegames.geocachingunityplugin.GeocachingGamePlugin Class Reference

Classes

interface  LocationPluginListener
 

Public Member Functions

void StartLocationCacheService (Activity unityActivity, LocationPluginListener callback)
 
void SetConfiguration (float locationAccuracy, float minSpeed, float maxSpeed)
 
void SetConfiguration (float locationAccuracy, float minSpeed, float maxSpeed, int locationInterval, int locationFastestInterval)
 
void ActivateReporting (boolean isActive)
 

Static Public Attributes

static final String TAG = GeocachingGamePlugin.class.getSimpleName()
 

Detailed Description

Geocaching Game Plugin

Executing methods from an instance of this object is the main way for external applications (namely Unity) to interface with the GeocachingGameService that runs in the background.

More information about the project can be found in GeocachingGameService, which contains the bulk of this library's function.

Author
Rory
Version
1.0
Since
2017-01-21
See also
GeocachingGameService
deovolente.games

Member Function Documentation

◆ ActivateReporting()

void com.deovolentegames.geocachingunityplugin.GeocachingGamePlugin.ActivateReporting ( boolean  isActive)

◆ SetConfiguration() [1/2]

void com.deovolentegames.geocachingunityplugin.GeocachingGamePlugin.SetConfiguration ( float  locationAccuracy,
float  minSpeed,
float  maxSpeed 
)

◆ SetConfiguration() [2/2]

void com.deovolentegames.geocachingunityplugin.GeocachingGamePlugin.SetConfiguration ( float  locationAccuracy,
float  minSpeed,
float  maxSpeed,
int  locationInterval,
int  locationFastestInterval 
)

◆ StartLocationCacheService()

void com.deovolentegames.geocachingunityplugin.GeocachingGamePlugin.StartLocationCacheService ( Activity  unityActivity,
LocationPluginListener  callback 
)

Member Data Documentation

◆ TAG

final String com.deovolentegames.geocachingunityplugin.GeocachingGamePlugin.TAG = GeocachingGamePlugin.class.getSimpleName()
static

The documentation for this class was generated from the following file: