-
- All Implemented Interfaces:
public class LocationSharingConfiguration extends ConfigurationSection
-
-
Method Summary
Modifier and Type Method Description float
getOnlineLocationPollFrequencyInSeconds()
Get onlineLocationPollFrequencyInSeconds. float
getPositionUploadIntervalInSeconds()
Get positionUploadIntervalInSeconds. float
getPositionUploadIntervalBackgroundInSeconds()
Get positionUploadIntervalBackgroundInSeconds. float
getMaxAgeOnlineLocationsInSeconds()
Get maxAgeOnlineLocationsInSeconds. float
getMaxAgeAssetLocationsInSeconds()
Get maxAgeAssetLocationsInSeconds. boolean
getIsSeeOtherPeopleOnlineEnabled()
Get isSeeOtherPeopleOnlineEnabled. boolean
getShouldUploadLocationDataOnSite()
Get shouldUploadLocationDataOnSite. boolean
getShouldUploadLocationDataOffSite()
Get shouldUploadLocationDataOffSite. -
-
Method Detail
-
getOnlineLocationPollFrequencyInSeconds
float getOnlineLocationPollFrequencyInSeconds()
Get onlineLocationPollFrequencyInSeconds. How often to poll for shared locations in seconds Default is 10.0
-
getPositionUploadIntervalInSeconds
float getPositionUploadIntervalInSeconds()
Get positionUploadIntervalInSeconds. How often to upload locations in seconds while the app is the foreground Default is 20.0
-
getPositionUploadIntervalBackgroundInSeconds
float getPositionUploadIntervalBackgroundInSeconds()
Get positionUploadIntervalBackgroundInSeconds. How often to upload locations in seconds while the app is the background Default is 900.0
-
getMaxAgeOnlineLocationsInSeconds
float getMaxAgeOnlineLocationsInSeconds()
Get maxAgeOnlineLocationsInSeconds. Max age of online locations, supplied as a parameter to polling location requests in seconds Default is 60 * 60
-
getMaxAgeAssetLocationsInSeconds
float getMaxAgeAssetLocationsInSeconds()
Get maxAgeAssetLocationsInSeconds. Max age of asset locations, supplied as a parameter to polling location requests in seconds Default is 60 * 60
-
getIsSeeOtherPeopleOnlineEnabled
boolean getIsSeeOtherPeopleOnlineEnabled()
Get isSeeOtherPeopleOnlineEnabled. Whether receiving locations from online is enabled Default is false
-
getShouldUploadLocationDataOnSite
boolean getShouldUploadLocationDataOnSite()
Get shouldUploadLocationDataOnSite. Whether user locations that are on-site should be uploaded Default is false
-
getShouldUploadLocationDataOffSite
boolean getShouldUploadLocationDataOffSite()
Get shouldUploadLocationDataOffSite. Whether user locations that are off-site (only have GPS information) should be uploaded Default is false
-
-
-
-