public class DisableRoadblockIntentBuilder extends IntentBuilder
intent| Constructor and Description |
|---|
DisableRoadblockIntentBuilder(android.content.Intent intent)
Constructor for the intent builder which changes the given intent
|
| Modifier and Type | Method and Description |
|---|---|
DisableRoadblockIntentBuilder |
addRoadblock(RoadblockDescription description)
Add the id of the given roadblock to the id list.
|
DisableRoadblockIntentBuilder |
addRoadblockId(long id)
Add the given roadblock id to the id list.
|
android.content.Intent |
build()
Build the intent
|
long[] |
currentRoadblocksIdsToArray()
Convenience function that creates a long array from the added roadblock ids
|
DisableRoadblockIntentBuilder |
disableAllRoadblocks()
Tells the localion navigator to disable all existing roadblocks.
|
DisableRoadblockIntentBuilder |
requireConfirmation()
Sets the flag that indicates if the user should be asked to confirm the intent execution.
|
DisableRoadblockIntentBuilder |
resetNavigatorVisibility(boolean resetVisibility)
Optional.
|
DisableRoadblockIntentBuilder |
setBringToFront()
Set the flag that the app should be brought to the front
|
getPackage, setIntentTarget, setLoginCredentialspublic DisableRoadblockIntentBuilder(android.content.Intent intent)
intent - the intent that should be modified, should not have anything set before passing to thispublic DisableRoadblockIntentBuilder disableAllRoadblocks()
public DisableRoadblockIntentBuilder requireConfirmation()
public DisableRoadblockIntentBuilder addRoadblock(RoadblockDescription description)
description - the roadblock description to addpublic DisableRoadblockIntentBuilder addRoadblockId(long id)
id - the id of the roadblockpublic DisableRoadblockIntentBuilder setBringToFront()
public DisableRoadblockIntentBuilder resetNavigatorVisibility(boolean resetVisibility)
resetVisibility - True to return to the previous visibility of the navigator, false to keep the navigator visiblepublic android.content.Intent build()
build in class IntentBuilderpublic long[] currentRoadblocksIdsToArray()