public static class

ServiceRequestResult.Builder

extends Object
java.lang.Object
   ↳ cyanogenmod.weatherservice.ServiceRequestResult.Builder

Class Overview

Builder class for ServiceRequestResult

Summary

Public Constructors
ServiceRequestResult.Builder()
ServiceRequestResult.Builder(WeatherInfo weatherInfo)
ServiceRequestResult.Builder(List<WeatherLocation> locations)
Public Methods
ServiceRequestResult build()
Creates a ServiceRequestResult with the arguments supplied to this builder
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ServiceRequestResult.Builder ()

Added in API level 5

public ServiceRequestResult.Builder (WeatherInfo weatherInfo)

Added in API level 5

Parameters
weatherInfo The WeatherInfo object holding the data that will be used to update the weather content provider

public ServiceRequestResult.Builder (List<WeatherLocation> locations)

Added in API level 5

Parameters
locations The list of WeatherLocation objects. The list should not be null

Public Methods

public ServiceRequestResult build ()

Added in API level 5

Creates a ServiceRequestResult with the arguments supplied to this builder