Class MutablePositionManagerConfiguration

    • Constructor Detail

    • Method Detail

      • setActivityType

         void setActivityType(int arg)

        Set activityType. Preferred activity type for OS location services Default is 2

      • 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

      • setGpsAccuracyModeInBackground

         void setGpsAccuracyModeInBackground(int arg)

        Set gpsAccuracyModeInBackground. Preferred GPS accuracy in app background state Default is 4

      • setGpsAccuracyModeInForeground

         void setGpsAccuracyModeInForeground(int arg)

        Set gpsAccuracyModeInForeground. Preferred GPS accuracy in app foreground state Default is 2

      • setGpsFastestUpdateIntervalInSecondsInBackground

         void setGpsFastestUpdateIntervalInSecondsInBackground(float arg)

        Set gpsFastestUpdateIntervalInSecondsInBackground. Fastest GPS location update interval in app background state (in seconds) Default is 2.0

      • setGpsFastestUpdateIntervalInSecondsInForeground

         void setGpsFastestUpdateIntervalInSecondsInForeground(float arg)

        Set gpsFastestUpdateIntervalInSecondsInForeground. Fastest GPS location update interval in app foreground state (in seconds) Default is 1.0

      • setGpsSilenceTimeInSeconds

         void setGpsSilenceTimeInSeconds(float arg)

        Set gpsSilenceTimeInSeconds. Time to spend in GPS silence before stopping positioning (in seconds) Default is 120.0

      • setGpsUpdateIntervalInSecondsInBackground

         void setGpsUpdateIntervalInSecondsInBackground(float arg)

        Set gpsUpdateIntervalInSecondsInBackground. Typical GPS location update interval in app background state (in seconds) Default is 6.0

      • setGpsUpdateIntervalInSecondsInForeground

         void setGpsUpdateIntervalInSecondsInForeground(float arg)

        Set gpsUpdateIntervalInSecondsInForeground. Typical GPS location update interval in app foreground state (in seconds) Default is 3.0

      • setHeadingOffset

         void setHeadingOffset(float arg)

        Set headingOffset. Heading offset of the map relative to true north in degrees Default is -999999.0

      • setIsBackgroundPositioningEnabled

         void setIsBackgroundPositioningEnabled(boolean arg)

        Set isBackgroundPositioningEnabled. Whether beacon-based positioning is enabled in the app background state Default is false

      • setIsCompassEnabled

         void setIsCompassEnabled(boolean arg)

        Set isCompassEnabled. Whether compass heading should be shown before high accuracy heading is available. It is also advised to set `magneticDeclination` parameter for improved compass heading accuracy. Default is true

      • setIsCoreBluetoothEnabled

         void setIsCoreBluetoothEnabled(boolean arg)

        Set isCoreBluetoothEnabled. Whether CoreBluetooth is enabled Default is false

      • setIsCoreLocationEnabled

         void setIsCoreLocationEnabled(boolean arg)

        Set isCoreLocationEnabled. Whether CoreLocation is enabled for location (beacons or GPS) input Default is true

      • setIsCoreMotionEnabled

         void setIsCoreMotionEnabled(boolean arg)

        Set isCoreMotionEnabled. Whether CoreMotion is enabled for motion sensors input Default is true

      • setIsGpsEnabled

         void setIsGpsEnabled(boolean arg)

        Set isGpsEnabled. Whether GPS is enabled in the app foreground state Default is true

      • setIsGpsTrackingEnabled

         void setIsGpsTrackingEnabled(boolean arg)

        Set isGpsTrackingEnabled. 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

      • setIsGpsTrackingEnabledInForeground

         void setIsGpsTrackingEnabledInForeground(boolean arg)

        Set isGpsTrackingEnabledInForeground. Whether GPS is enabled in the app foreground state Default is true

      • 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

      • setShouldEnablePositioningInBackground

         void setShouldEnablePositioningInBackground(boolean arg)

        Set shouldEnablePositioningInBackground. Whether beacon-based positioning 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

      • setThresholdForFadingPositionInSeconds

         void setThresholdForFadingPositionInSeconds(float arg)

        Set thresholdForFadingPositionInSeconds. Time to spend in beacon/GPS silence before fading location (in seconds) Default is 5.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

      • setThresholdForLosingPositionInSeconds

         void setThresholdForLosingPositionInSeconds(float arg)

        Set thresholdForLosingPositionInSeconds. Time to spend in beacon/GPS silence before losing location (in seconds) Default is 30.0