FileDocCategorySizeDatePackage
INetworkLocationProvider.javaAPI DocAndroid 1.5 API3044Wed May 06 22:42:00 BST 2009com.android.internal.location

INetworkLocationProvider

public interface INetworkLocationProvider
Interface for network location provider {@hide}

Fields Summary
Constructors Summary
Methods Summary
public abstract voidaddListener(java.lang.String[] applications)
Adds a list of application clients Only used by the NetworkLocationProvider

param
applications list of package names

public abstract java.lang.StringgetFromLocation(double latitude, double longitude, int maxResults, java.lang.String language, java.lang.String country, java.lang.String variant, java.lang.String appName, java.util.List addrs)

public abstract java.lang.StringgetFromLocationName(java.lang.String locationName, double lowerLeftLatitude, double lowerLeftLongitude, double upperRightLatitude, double upperRightLongitude, int maxResults, java.lang.String language, java.lang.String country, java.lang.String variant, java.lang.String appName, java.util.List addrs)

public abstract voidremoveListener(java.lang.String[] applications)
Removes a list of application clients Only used by the NetworkLocationProvider

param
applications list of package names

public abstract voidupdateCellLockStatus(boolean acquired)
Updates the current cell lock status.

param
acquired true if a cell lock has been acquired

public abstract voidupdateWifiEnabledState(boolean enabled)
Notifies the provider if Wifi has been enabled or disabled by the user

param
enabled true if wifi is enabled; false otherwise

public abstract voidupdateWifiScanResults(java.util.List scanResults)
Notifies the provider that there are scan results available.

param
scanResults list of wifi scan results