EILRequestFetchLocation Class Reference

Inherits from NSObject
Declared in EILRequestFetchLocation.h
EILRequestFetchLocation.m

Overview

Request to fetch location identified by its identifier.

Note that in order to have request working you need to be authenticated in Estimote Cloud. To do that you have to call [ESTConfig setupAppID:andAppToken:] first. You can find your API App ID and API App Token in the Apps: http://cloud.estimote.com/#/apps section of the Estimote Cloud: http://cloud.estimote.com/.

– initWithLocationIdentifier:

Returns a new request object for fetching location identified by its identifier.

- (instancetype)initWithLocationIdentifier:(NSString *)identifier

Parameters

identifier

An identifier of location to be fetched.

Return Value

A request initialized with location identifier.

Declared In

EILRequestFetchLocation.h

– sendRequestWithCompletion:

Sends request to Estimote Cloud with completion block.

- (void)sendRequestWithCompletion:(EILRequestFetchLocationBlock)completion

Discussion

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

Declared In

EILRequestFetchLocation.h