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