public class LNUrlIntentBuilder extends IntentBuilder
intent| Constructor and Description |
|---|
LNUrlIntentBuilder()
Constructor that constructs the base intent
|
LNUrlIntentBuilder(android.content.Intent intent)
Constructor that sets the base intent
|
| Modifier and Type | Method and Description |
|---|---|
android.content.Intent |
build()
Constructs the intent with the specific parameters set
|
java.lang.String |
constructUrl()
Constructs the encoded url that can be passed to the navigator
|
java.lang.String |
constructUrl(java.lang.String protocol,
java.lang.String host)
Constructs the encoded url that can be passed to the navigator
|
LNUrlIntentBuilder |
setDescription(java.lang.String description)
Sets the location's description that will be shown in the lb navigator
|
LNUrlIntentBuilder |
setLocation(double latitude,
double longitude)
Sets the location's coordinate that will be shown
|
LNUrlIntentBuilder |
setTitle(java.lang.String title)
Sets the location's title that will be shown in the lb navigator
|
getPackage, setIntentTarget, setLoginCredentialspublic LNUrlIntentBuilder()
public LNUrlIntentBuilder(android.content.Intent intent)
intent - The base intent to modifypublic LNUrlIntentBuilder setLocation(double latitude, double longitude)
latitude - The latitude of the location to show in the lb navigatorlongitude - The longitude of the location to show in the lb navigatorpublic LNUrlIntentBuilder setTitle(java.lang.String title)
title - The title to setpublic LNUrlIntentBuilder setDescription(java.lang.String description)
description - The description to setpublic java.lang.String constructUrl()
public java.lang.String constructUrl(java.lang.String protocol,
java.lang.String host)
protocol - The protocol used for the URL (e.g. IntentConstants.INTENT_SCHEME_HTTPS)host - the host part in the url (e.g. IntentConstants.INTENT_HOST_LOGIBALL_DE)public android.content.Intent build()
throws java.security.InvalidParameterException
IntentBuilderbuild in class IntentBuilderjava.security.InvalidParameterException