EILRequestAddLocation Class Reference

Inherits from NSObject
Declared in EILRequestAddLocation.h
EILRequestAddLocation.m

Overview

Request for saving new location in Estimote Cloud.

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/.

– initWithLocation:

Returns a new request object for saving location in Estimote Cloud.

- (instancetype)initWithLocation:(EILLocation *)location

Parameters

location

Location to be saved in Estimote Cloud.

Return Value

A request initialized with location.

Declared In

EILRequestAddLocation.h

– sendRequestWithCompletion:

Sends request to Estimote Cloud with completion block.

- (void)sendRequestWithCompletion:(EILRequestAddLocationBlock)completion

Discussion

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

Declared In

EILRequestAddLocation.h