public class DeleteRoadblockIntentBuilder extends IntentBuilder
intent| Constructor and Description |
|---|
DeleteRoadblockIntentBuilder(android.content.Intent intent)
Constructor for the intent builder which changes the given intent
|
| Modifier and Type | Method and Description |
|---|---|
DeleteRoadblockIntentBuilder |
addRoadblock(RoadblockDescription description)
Add the id of the given roadblock to the id list.
|
DeleteRoadblockIntentBuilder |
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
|
DeleteRoadblockIntentBuilder |
deleteAllRoadblocks()
Tells the localion navigator to delete all existing roadblocks.
|
DeleteRoadblockIntentBuilder |
requireConfirmation()
Sets the flag that indicates if the user should be asked to confirm the intent execution.
|
DeleteRoadblockIntentBuilder |
resetNavigatorVisibility(boolean resetVisibility)
Optional.
|
DeleteRoadblockIntentBuilder |
setBringToFront()
Set the flag that the app should be brought to the front
|
getPackage, setIntentTarget, setLoginCredentialspublic DeleteRoadblockIntentBuilder(android.content.Intent intent)
intent - the intent that should be modified, should not have anything set before passing to thispublic DeleteRoadblockIntentBuilder deleteAllRoadblocks()
public DeleteRoadblockIntentBuilder requireConfirmation()
public DeleteRoadblockIntentBuilder addRoadblock(RoadblockDescription description)
description - the roadblock description to addpublic DeleteRoadblockIntentBuilder addRoadblockId(long id)
id - the id of the roadblockpublic DeleteRoadblockIntentBuilder setBringToFront()
public DeleteRoadblockIntentBuilder 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()