-
- All Implemented Interfaces:
public class MutableLocationSharingConfiguration extends LocationSharingConfiguration
-
-
Method Summary
Modifier and Type Method Description void
setOnlineLocationPollFrequencyInSeconds(float arg)
Set onlineLocationPollFrequencyInSeconds. void
setPositionUploadIntervalInSeconds(float arg)
Set positionUploadIntervalInSeconds. void
setPositionUploadIntervalBackgroundInSeconds(float arg)
Set positionUploadIntervalBackgroundInSeconds. void
setMaxAgeOnlineLocationsInSeconds(float arg)
Set maxAgeOnlineLocationsInSeconds. void
setMaxAgeAssetLocationsInSeconds(float arg)
Set maxAgeAssetLocationsInSeconds. void
setIsSeeOtherPeopleOnlineEnabled(boolean arg)
Set isSeeOtherPeopleOnlineEnabled. void
setShouldUploadLocationDataOnSite(boolean arg)
Set shouldUploadLocationDataOnSite. void
setShouldUploadLocationDataOffSite(boolean arg)
Set shouldUploadLocationDataOffSite. -
Methods inherited from class com.pointrlabs.core.configuration.LocationSharingConfiguration
getIsSeeOtherPeopleOnlineEnabled, getMaxAgeAssetLocationsInSeconds, getMaxAgeOnlineLocationsInSeconds, getOnlineLocationPollFrequencyInSeconds, getPositionUploadIntervalBackgroundInSeconds, getPositionUploadIntervalInSeconds, getShouldUploadLocationDataOffSite, getShouldUploadLocationDataOnSite
-
Methods inherited from class com.pointrlabs.core.configuration.ConfigurationSection
isValid
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setOnlineLocationPollFrequencyInSeconds
void setOnlineLocationPollFrequencyInSeconds(float arg)
Set onlineLocationPollFrequencyInSeconds. How often to poll for shared locations in seconds Default is 10.0
-
setPositionUploadIntervalInSeconds
void setPositionUploadIntervalInSeconds(float arg)
Set positionUploadIntervalInSeconds. How often to upload locations in seconds while the app is the foreground Default is 20.0
-
setPositionUploadIntervalBackgroundInSeconds
void setPositionUploadIntervalBackgroundInSeconds(float arg)
Set positionUploadIntervalBackgroundInSeconds. How often to upload locations in seconds while the app is the background Default is 900.0
-
setMaxAgeOnlineLocationsInSeconds
void setMaxAgeOnlineLocationsInSeconds(float arg)
Set maxAgeOnlineLocationsInSeconds. Max age of online locations, supplied as a parameter to polling location requests in seconds Default is 60 * 60
-
setMaxAgeAssetLocationsInSeconds
void setMaxAgeAssetLocationsInSeconds(float arg)
Set maxAgeAssetLocationsInSeconds. Max age of asset locations, supplied as a parameter to polling location requests in seconds Default is 60 * 60
-
setIsSeeOtherPeopleOnlineEnabled
void setIsSeeOtherPeopleOnlineEnabled(boolean arg)
Set isSeeOtherPeopleOnlineEnabled. Whether receiving locations from online is enabled Default is false
-
setShouldUploadLocationDataOnSite
void setShouldUploadLocationDataOnSite(boolean arg)
Set shouldUploadLocationDataOnSite. Whether user locations that are on-site should be uploaded Default is false
-
setShouldUploadLocationDataOffSite
void setShouldUploadLocationDataOffSite(boolean arg)
Set shouldUploadLocationDataOffSite. Whether user locations that are off-site (only have GPS information) should be uploaded Default is false
-
-
-
-