public class WindInformationIntentBuilder extends IntentBuilder
intent| Constructor and Description |
|---|
WindInformationIntentBuilder(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
|
WindInformationIntentBuilder |
resetNavigatorVisibility(boolean resetVisibility)
Optional.
|
WindInformationIntentBuilder |
setDirection(int degrees)
Set the wind direction information for the wind
|
WindInformationIntentBuilder |
setSpeed(double speed)
Set the wind speed information for the wind
|
WindInformationIntentBuilder |
setSpeedUnit(java.lang.String speedUnit)
Set the wind speeds unit information for the wind
|
getPackage, setIntentTarget, setLoginCredentialspublic WindInformationIntentBuilder(android.content.Intent intent)
intent - the intent to adjustpublic WindInformationIntentBuilder setSpeed(double speed)
speed - the wind speed that will be displayedpublic WindInformationIntentBuilder setSpeedUnit(java.lang.String speedUnit)
speedUnit - the wind speeds unit that will be displayedpublic WindInformationIntentBuilder setDirection(int degrees)
degrees - the wind direction in degrees (north = 0°, east = 90°,...)public WindInformationIntentBuilder resetNavigatorVisibility(boolean resetVisibility)
resetVisibility - True to return to the previous visibility of the navigator, false to keep the navigator visiblepublic android.content.Intent build()
IntentBuilderbuild in class IntentBuilder