EILRequestFetchPublicLocations Class Reference

Inherits from NSObject
Declared in EILRequestFetchPublicLocations.h
EILRequestFetchPublicLocations.m

Overview

Request to fetch public nearby locations and parsing response. In order to determine nearby public locations, scan for nearby beacons. All the locations that contain at least one of the given beacons (identified by their identifiers) will be fetched.

– initWithBeaconIdentifiers:

Returns a new request object for fetching public locations for given beacons.

- (instancetype)initWithBeaconIdentifiers:(NSArray<NSString*> *)identifiers

Parameters

identifiers

An array containing identifiers of beacons that are used for fetching nearby public locations.

Return Value

A request initialized with identifiers of beacons.

Declared In

EILRequestFetchPublicLocations.h

– sendRequestWithCompletion:

Sends request to Estimote Cloud with completion block.

- (void)sendRequestWithCompletion:(EILRequestFetchPublicLocationsBlock)completion

Discussion

param completion Completion block to be executed when the request finishes.

Declared In

EILRequestFetchPublicLocations.h