IAResourceManager Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | IAResourceManager.h |
Overview
IAResourceManager provides interface for downloading original bitmaps from IndoorAtlas services, and protocol for watching floor plan changes during positioning.
Read-only properties
locationManager
Associated IALocationManager (read-only).
@property (nonatomic, readonly, nullable) IALocationManager *locationManagerDeclared In
IAResourceManager.h
Accessing the Delegate
+ resourceManagerWithLocationManager:
Returns a new
+ (nullable IAResourceManager *)resourceManagerWithLocationManager:(nullable IALocationManager *)locationManagerParameters
locationManager |
Associated IALocationManager. |
|---|
Return Value
IAResourceManager instance.
Declared In
IAResourceManager.h
– fetchFloorPlanWithId:andCompletion:
Fetch floor plan metadata for floor plan id.
- (nullable id<IAFetchTask>)fetchFloorPlanWithId:(nullable NSString *)floorPlanId andCompletion:(nullable void ( ^ ) ( IAFloorPlan *__nullable floorPlan , NSError *__nullable error ))completionBlockParameters
floorPlanId |
Identifier of the floor plan to fetch from server. |
|---|---|
completionBlock |
A block to be called when the floor plan fetch is completed.
|
Return Value
IAFetchTask instance for the request.
Declared In
IAResourceManager.h
– fetchFloorPlanImageWithId:andCompletion:
Fetch image file data for floor plan id
- (nullable id<IAFetchTask>)fetchFloorPlanImageWithId:(nullable NSString *)floorPlanId andCompletion:(nullable void ( ^ ) ( NSData *__nullable imageData , NSError *__nullable error ))completionBlockParameters
floorPlanId |
Identifier of floor plan to fetch image file data for. |
|---|---|
completionBlock |
A block to be called when the image download is completed.
|
Return Value
IAFetchTask instance for the request.
Declared In
IAResourceManager.h
– fetchFloorPlanImageWithUrl:andCompletion:
Fetch image file data for floor plan url
- (nullable id<IAFetchTask>)fetchFloorPlanImageWithUrl:(nonnull NSURL *)floorPlanUrl andCompletion:(nullable void ( ^ ) ( NSData *__nullable imageData , NSError *__nullable error ))completionBlockParameters
floorPlanUrl |
URL of the floor plan to fetch image file data for. |
|---|---|
completionBlock |
A block to be called when image download is completed.
|
Return Value
IAFetchTask instance for the request.
Declared In
IAResourceManager.h