◆ GeoLocationPipelineBuilder() [1/2]
fiftyone.geolocation.GeoLocationPipelineBuilder.GeoLocationPipelineBuilder | ( | ILoggerFactory | loggerFactory | ) |
Constructor.
- Parameters
-
- loggerFactory - the factory to use for creating loggers within the pipeline
◆ GeoLocationPipelineBuilder() [2/2]
fiftyone.geolocation.GeoLocationPipelineBuilder.GeoLocationPipelineBuilder ( ILoggerFactory loggerFactory, HttpClient httpClient ) Constructor.
- Parameters
-
- loggerFactory - the factory to use for creating loggers within the pipeline
- httpClient - the HTTP client to use within the pipeline
Member Function Documentation
◆ useCloud() [1/2]
GeoLocationCloudPipelineBuilder fiftyone.geolocation.GeoLocationPipelineBuilder.useCloud ( String resourceKey, Enums.GeoLocationProvider provider ) Use the 51Degrees cloud service to perform Geo Location.
- Parameters
-
- resourceKey - the resource key to use when querying the service. Obtain one from https://configure.51degrees.com
- provider - the Geo Location provider to use
- Returns
- builder that can be used to configure and build a pipeline that will use the cloud Geo Location engine
◆ useCloud() [2/2]
GeoLocationCloudPipelineBuilder fiftyone.geolocation.GeoLocationPipelineBuilder.useCloud ( String resourceKey, String endpoint, Enums.GeoLocationProvider provider ) Use the 51Degrees cloud service to perform Geo Location.
- Parameters
-
- resourceKey - the resource to use when querying the cloud service. Obtain one from https://configure.51degrees.com
- endpoint - the 51Degrees cloud URL
- provider - the Geo Location provider to use
- Returns
- a builder that can be used to configure and build a pipeline that will use the cloud Geo Location engine