-
- All Implemented Interfaces:
public class MutablePositionManagerConfiguration extends PositionManagerConfiguration
-
-
Method Summary
Modifier and Type Method Description void
setIsCoreBluetoothEnabled(boolean arg)
Set isCoreBluetoothEnabled. void
setIsCoreLocationEnabled(boolean arg)
Set isCoreLocationEnabled. void
setThresholdForFadingPositionInSeconds(float arg)
Set thresholdForFadingPositionInSeconds. void
setThresholdForLosingPositionInSeconds(float arg)
Set thresholdForLosingPositionInSeconds. void
setThresholdForInvalidatingPosition(float arg)
Set thresholdForInvalidatingPosition. void
setIsGpsTrackingEnabledInForeground(boolean arg)
Set isGpsTrackingEnabledInForeground. void
setIsGpsTrackingEnabledInBackground(boolean arg)
Set isGpsTrackingEnabledInBackground. void
setShouldRestartBleWhenCorrupted(boolean arg)
Set shouldRestartBleWhenCorrupted. void
setIsFusionEnabled(boolean arg)
Set isFusionEnabled. void
setHeadingOffset(float arg)
Set headingOffset. void
setBeaconPowerLevel(int arg)
Set beaconPowerLevel. void
setBeaconSilenceTimeInSeconds(float arg)
Set beaconSilenceTimeInSeconds. void
setGpsSilenceTimeInSeconds(float arg)
Set gpsSilenceTimeInSeconds. void
setGpsAccuracyModeInForeground(int arg)
Set gpsAccuracyModeInForeground. void
setGpsAccuracyModeInBackground(int arg)
Set gpsAccuracyModeInBackground. void
setActivityType(int arg)
Set activityType. void
setGpsUpdateIntervalInSecondsInForeground(float arg)
Set gpsUpdateIntervalInSecondsInForeground. void
setGpsUpdateIntervalInSecondsInBackground(float arg)
Set gpsUpdateIntervalInSecondsInBackground. void
setGpsFastestUpdateIntervalInSecondsInForeground(float arg)
Set gpsFastestUpdateIntervalInSecondsInForeground. void
setGpsFastestUpdateIntervalInSecondsInBackground(float arg)
Set gpsFastestUpdateIntervalInSecondsInBackground. void
setShouldAllowLandscapeDeviceOrientations(boolean arg)
Set shouldAllowLandscapeDeviceOrientations. void
setIsGpsTrackingEnabled(boolean arg)
Set isGpsTrackingEnabled. void
setIsGpsEnabled(boolean arg)
Set isGpsEnabled. -
Methods inherited from class com.pointrlabs.core.configuration.PositionManagerConfiguration
getActivityType, getBeaconPowerLevel, getBeaconSilenceTimeInSeconds, getGpsAccuracyModeInBackground, getGpsAccuracyModeInForeground, getGpsDistanceFilter, getGpsFastestUpdateIntervalInSecondsInBackground, getGpsFastestUpdateIntervalInSecondsInForeground, getGpsSilenceTimeInSeconds, getGpsUpdateIntervalInSecondsInBackground, getGpsUpdateIntervalInSecondsInForeground, getHeadingOffset, getIsBackgroundPositioningEnabled, getIsCoreBluetoothEnabled, getIsCoreLocationEnabled, getIsFusionEnabled, getIsGpsEnabled, getIsGpsTrackingEnabled, getIsGpsTrackingEnabledInBackground, getIsGpsTrackingEnabledInForeground, getOutdoorFacilityInternalIdentifier, getOutdoorLevelIndex, getSensorSamplingPeriodInSeconds, getShouldAllowLandscapeDeviceOrientations, getShouldEnablePositioningInBackground, getShouldRestartBleWhenCorrupted, getThresholdForFadingPositionInSeconds, getThresholdForInvalidatingPosition, getThresholdForLosingPositionInSeconds
-
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
-
setIsCoreBluetoothEnabled
void setIsCoreBluetoothEnabled(boolean arg)
Set isCoreBluetoothEnabled. Whether CoreBluetooth is enabled for beacon input Default is false
-
setIsCoreLocationEnabled
void setIsCoreLocationEnabled(boolean arg)
Set isCoreLocationEnabled. Whether CoreLocation is enabled for beacon input Default is true
-
setThresholdForFadingPositionInSeconds
void setThresholdForFadingPositionInSeconds(float arg)
Set thresholdForFadingPositionInSeconds. Time to spend in beacon/GPS silence before fading location (in seconds) Default is 5.0
-
setThresholdForLosingPositionInSeconds
void setThresholdForLosingPositionInSeconds(float arg)
Set thresholdForLosingPositionInSeconds. Time to spend in beacon/GPS silence before losing location (in seconds) Default is 30.0
-
setThresholdForInvalidatingPosition
void setThresholdForInvalidatingPosition(float arg)
Set thresholdForInvalidatingPosition. Time required to pass after last valid location to produce an invalid location output (in seconds) Default is 5.0
-
setIsGpsTrackingEnabledInForeground
void setIsGpsTrackingEnabledInForeground(boolean arg)
Set isGpsTrackingEnabledInForeground. Whether GPS is enabled in the app foreground state Default is true
-
setIsGpsTrackingEnabledInBackground
void setIsGpsTrackingEnabledInBackground(boolean arg)
Set isGpsTrackingEnabledInBackground. Whether GPS is enabled in the app background state Default is false
-
setShouldRestartBleWhenCorrupted
void setShouldRestartBleWhenCorrupted(boolean arg)
Set shouldRestartBleWhenCorrupted. Whether to try restarting BLE automatically, when BLE stack gets corrupted. Default is false
-
setIsFusionEnabled
void setIsFusionEnabled(boolean arg)
Set isFusionEnabled. Whether sensor fusion is enabled (for improved location accuracy) Default is true
-
setHeadingOffset
void setHeadingOffset(float arg)
Set headingOffset. Heading offset of the map relative to true north in degrees
-
setBeaconPowerLevel
void setBeaconPowerLevel(int arg)
Set beaconPowerLevel. Configured Bluetooth beacon transmission power level (between 1-9) Default is 4
-
setBeaconSilenceTimeInSeconds
void setBeaconSilenceTimeInSeconds(float arg)
Set beaconSilenceTimeInSeconds. Time to spend in beacon silence before stopping positioning (in seconds) Default is 60.0
-
setGpsSilenceTimeInSeconds
void setGpsSilenceTimeInSeconds(float arg)
Set gpsSilenceTimeInSeconds. Time to spend in GPS silence before stopping positioning (in seconds) Default is 120.0
-
setGpsAccuracyModeInForeground
void setGpsAccuracyModeInForeground(int arg)
Set gpsAccuracyModeInForeground. Preferred GPS accuracy in app foreground state
-
setGpsAccuracyModeInBackground
void setGpsAccuracyModeInBackground(int arg)
Set gpsAccuracyModeInBackground. Preferred GPS accuracy in app background state
-
setActivityType
void setActivityType(int arg)
Set activityType. Preferred activity type for OS location services
-
setGpsUpdateIntervalInSecondsInForeground
void setGpsUpdateIntervalInSecondsInForeground(float arg)
Set gpsUpdateIntervalInSecondsInForeground. Typical GPS location update interval in app foreground state (in seconds) Default is 3.0
-
setGpsUpdateIntervalInSecondsInBackground
void setGpsUpdateIntervalInSecondsInBackground(float arg)
Set gpsUpdateIntervalInSecondsInBackground. Typical GPS location update interval in app background state (in seconds) Default is 6.0
-
setGpsFastestUpdateIntervalInSecondsInForeground
void setGpsFastestUpdateIntervalInSecondsInForeground(float arg)
Set gpsFastestUpdateIntervalInSecondsInForeground. Fastest GPS location update interval in app foreground state (in seconds) Default is 1.0
-
setGpsFastestUpdateIntervalInSecondsInBackground
void setGpsFastestUpdateIntervalInSecondsInBackground(float arg)
Set gpsFastestUpdateIntervalInSecondsInBackground. Fastest GPS location update interval in app background state (in seconds) Default is 2.0
-
setShouldAllowLandscapeDeviceOrientations
void setShouldAllowLandscapeDeviceOrientations(boolean arg)
Set shouldAllowLandscapeDeviceOrientations. Whether to allow and consider landscape orientations for heading calculation. Disabling this will assume portrait orientation always. Default is false
-
setIsGpsTrackingEnabled
void setIsGpsTrackingEnabled(boolean arg)
Set isGpsTrackingEnabled. Alias of isGpsTrackingEnabledInForeground. Whether GPS is enabled in the app foreground state Default is true
-
setIsGpsEnabled
void setIsGpsEnabled(boolean arg)
Set isGpsEnabled. Alias of isGpsTrackingEnabledInForeground. Whether GPS is enabled in the app foreground state Default is true
-
-
-
-