(Omit source code)
Location Providers can optionally use this to fine tune location updates, for example when there is a high power slow interval request and a low power fast interval request.
return 0;
StringBuilder s = new StringBuilder(); s.append("ProviderRequest["); if (reportLocation) { s.append("ON"); s.append(" interval="); TimeUtils.formatDuration(interval, s); } else { s.append("OFF"); } s.append(']"); return s.toString();
parcel.writeInt(reportLocation ? 1 : 0); parcel.writeLong(interval); parcel.writeInt(locationRequests.size()); for (LocationRequest request : locationRequests) { request.writeToParcel(parcel, flags); }