FileDocCategorySizeDatePackage
ProviderRequestUnbundled.javaAPI DocAndroid 5.1 API1920Thu Mar 12 22:22:30 GMT 2015com.android.location.provider

ProviderRequestUnbundled

public final class ProviderRequestUnbundled extends Object
This class is an interface to Provider Requests for unbundled applications.

IMPORTANT: This class is effectively a public API for unbundled applications, and must remain API stable. See README.txt in the root of this package for more information.

Fields Summary
private final com.android.internal.location.ProviderRequest
mRequest
Constructors Summary
public ProviderRequestUnbundled(com.android.internal.location.ProviderRequest request)

        mRequest = request;
    
Methods Summary
public longgetInterval()

        return mRequest.interval;
    
public java.util.ListgetLocationRequests()
Never null.

        List<LocationRequestUnbundled> result = new ArrayList<LocationRequestUnbundled>(
                mRequest.locationRequests.size());
        for (LocationRequest r : mRequest.locationRequests) {
          result.add(new LocationRequestUnbundled(r));
        }
        return result;
    
public booleangetReportLocation()

        return mRequest.reportLocation;
    
public java.lang.StringtoString()

        return mRequest.toString();