public static class

ServiceRequestResult.Builder

extends Object
java.lang.Object
   ↳ lineageos.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 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 List: 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

Returns
ServiceRequestResult ServiceRequestResult