PWMockLocationManager Class Reference

Inherits from NSObject
Conforms to PWLocationManager
Declared in PWMockLocationManager.h

Overview

The PWMockLocationManager class allows you to implement a mock location provider for testing and validation. This is extremely useful for location testing outside of a venue with a proper location provider.

It’s important to note that the floorIDMapping property does not need to be specified for the PWMockLocationManager. The location floor IDs in the JSON must be equivalent to the building floor IDs.

This class conforms to the PWLocationManager protocol.

  location

The latest indoor location received from the location service.

@property (nonatomic, readonly) PWIndoorLocation *location

Declared In

PWMockLocationManager.h

– initWithMockLocationManagerWithConfiguration:

Initializes a mock location manager with the specified PWMockLocationManagerConfiguration.

- (instancetype)initWithMockLocationManagerWithConfiguration:(PWMockLocationManagerConfiguration *)configuration

Parameters

configuration

The PWMockLocationManagerConfiguration object to initialize the manager with.

Return Value

Returns a PWMockLocationManager object.

Declared In

PWMockLocationManager.h