public static final class ServiceAvailabilityManager.ServiceAvailabilityOptions extends Object
| Constructor and Description |
|---|
ServiceAvailabilityOptions(GeoPoint geoPoint)
Initializes a new instance of the
ServiceAvailabilityManager.ServiceAvailabilityOptions class. |
ServiceAvailabilityOptions(String countryCode)
Initializes a new instance of the
ServiceAvailabilityManager.ServiceAvailabilityOptions class. |
| Modifier and Type | Method and Description |
|---|---|
String |
getCountryCode()
Gets the country where service availability will be checked.
|
GeoPoint |
getLocation()
Get the location.
|
ServiceAvailabilityManager.ServiceAvailabilityOptions |
setCountryCode(String countryCode)
Sets the country the service availability should be checked for.
|
ServiceAvailabilityManager.ServiceAvailabilityOptions |
setLocation(GeoPoint geoPoint)
Sets the location the service availability should be checked for.
|
String |
toString() |
public ServiceAvailabilityOptions(GeoPoint geoPoint)
ServiceAvailabilityManager.ServiceAvailabilityOptions class.geoPoint - In case countryCode is can't be fetched from the telephony managerpublic ServiceAvailabilityOptions(String countryCode)
ServiceAvailabilityManager.ServiceAvailabilityOptions class.countryCode - Get service availability for the specified location.
This is typically the current location.public ServiceAvailabilityManager.ServiceAvailabilityOptions setLocation(GeoPoint geoPoint)
geoPoint - The location where service availability should be checkedpublic GeoPoint getLocation()
public ServiceAvailabilityManager.ServiceAvailabilityOptions setCountryCode(String countryCode)
countryCode - The country where service availability should be checkedpublic String getCountryCode()
Copyright © 2013-2016 INRIX, Inc. All Rights Reserved.