| java.lang.Object | |
| ↳ | com.mapsted.positioning.CoreParams.Builder<M extends com.mapsted.positioning.CoreParams, B extends com.mapsted.positioning.CoreParams.Builder<M, B>> |
Known Indirect Subclasses
|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| CoreParams |
build()
Building the Core Params will initialize the SDK variables.
| ||||||||||
| B |
setAutoWakeFromDeepSleep(boolean enable)
Set whether the SDK should auto-restart itself if the system clears it from memory
due to user inactivity
| ||||||||||
| B |
setBlueDotCriteria(BlueDotCriteria criteria)
Sets the blue dot criteria that should be used for deciding when to offer blue dot
| ||||||||||
| B |
setForegroundServiceDetails(MapstedForegroundServiceDetails details)
Set customized foreground service details (can be updated later)
| ||||||||||
| B |
setPrefetchMapData(boolean enable)
Set whether the SDK should prefetch (download) map data
| ||||||||||
| B |
setSimulatorPath(CoreParams.SimulatorPath simulatorPath)
Force the blue dot to follow a simulator path.
| ||||||||||
| B |
setWasAwokenFromDeepSleep(boolean awoken)
Sets whether or not this initialization was due being awoken from a deep sleep
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Building the Core Params will initialize the SDK variables. This must be called prior to initializing the SDK or the behaviour may be undefined.
Set whether the SDK should auto-restart itself if the system clears it from memory due to user inactivity
| enable | whether or not to auto wake up (default: false) |
|---|
Sets the blue dot criteria that should be used for deciding when to offer blue dot
| criteria | the criteria |
|---|
Set customized foreground service details (can be updated later)
| details | Foreground service details |
|---|
Set whether the SDK should prefetch (download) map data
| enable | whether or not to prefetch map data (default: false) |
|---|
Force the blue dot to follow a simulator path. Note that this is for developer/debug purposes
| simulatorPath | Simulator path to follow |
|---|
Sets whether or not this initialization was due being awoken from a deep sleep
| awoken | whether or not it was awoken (default false) |
|---|