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.
Class Methods
resourceManagerWithLocationManager:
Returns new IAResourceManager associated with IALocationManager.
+ (nullable IAResourceManager *)resourceManagerWithLocationManager:(nullable IALocationManager *)locationManagerParameters
- locationManager
 Associated IALocationManager.
Return Value
IAResourceManager instance.
Declared In
IAResourceManager.hInstance Methods
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 image download is completed.
- data: Image file data. If an error occured, this parameter is nil.
 - error: If an error occured, this object describes the error. If the operation completed successfully, this value is nil.
 
Return Value
IAFetchTask instance for the request.
Declared In
IAResourceManager.hfetchFloorPlanImageWithUrl: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 floor plan to fetch image file data for.
- completionBlock
 A block to be called when image download is completed.
- data: Image file data. If an error occured, this parameter is nil.
 - error: If an error occured, this object describes the error. If the operation completed successfully, this value is nil.
 
Return Value
IAFetchTask instance for the request.
Declared In
IAResourceManager.hfetchFloorPlanWithId: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 floor plan to fetch from server.
- completionBlock
 A block to be called when floor plan fetch is completed.
- floorplan: A object representing fetched floor plan. If an error occured, this parameter is nil.
 - error: If an error occured, this object describes the error. If the operation completed successfully, this value is nil.
 
Return Value
IAFetchTask instance for the request.
Declared In
IAResourceManager.h