ISLocationRequest Class Reference

Inherits from NSObject
Declared in ISLocationRequest.h

Overview

Class used to compute one unique location.

  locationRequestDelegate

Delegate to notify of location events.

@property (weak) id<ISLocationRequestDelegate> locationRequestDelegate

Declared In

ISLocationRequest.h

– initWithLocationRequestDelegate:

Main constructor.

- (instancetype)initWithLocationRequestDelegate:(id<ISLocationRequestDelegate>)locationRequestDelegate

Parameters

locationRequestDelegate

Delegate to notify of location events.

Declared In

ISLocationRequest.h

– onLocationComputed:

Method called when a new location was computed.

- (void)onLocationComputed:(ISLocation *)location

Parameters

location

New computed location.

Declared In

ISLocationRequest.h

– onLocationFailed:

Method called when an error occurred.

- (void)onLocationFailed:(ISError *)error

Parameters

error

Related error.

Declared In

ISLocationRequest.h