public abstract class IntentBuilder
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected android.content.Intent |
intent
The intent being worked on
|
| Constructor and Description |
|---|
IntentBuilder(android.content.Intent intent)
A constructor for an intent builder that will adjust the given Intent
|
| Modifier and Type | Method and Description |
|---|---|
android.content.Intent |
build()
Constructs the intent with the specific parameters set
|
protected java.lang.String |
getPackage()
Returns the package id of the target intent receiver (navigator).
|
void |
setIntentTarget(java.lang.Boolean localionNavigatorStoreVersion)
Set whether the target that the intent should have.
|
void |
setLoginCredentials(java.lang.String username,
java.lang.String password)
Set the login credentials that should be used to login a user
|
public IntentBuilder(android.content.Intent intent)
intent - the intent to adjustprotected java.lang.String getPackage()
public android.content.Intent build()
public void setLoginCredentials(java.lang.String username,
java.lang.String password)
username - the usernamepassword - the passwordpublic void setIntentTarget(java.lang.Boolean localionNavigatorStoreVersion)
localionNavigatorStoreVersion - Flag that indicates which version to target:
null: The intent should not target a specific app (if package is not set otherwise the app chooser maybe shown by Android)false: The intent will target the "normal" localion navigator (non-play-store version)true: The intent will target the play-store localion navigator