SPMetaService
Objective-C
@interface SPMetaService : NSObject
Swift
class SPMetaService : NSObject
The purpose of this class is to provide simplified APIs for fetching metadata from the Steerpath Meta Service. To use this class you need to have a Steerpath API access token and provide it to the app according to the instructions in SPAccountManager.h.
Need API access? Contact support@steerpath.com
-
Declaration
Objective-C
+ (nonnull instancetype)sharedInstance;
Swift
class func sharedInstance() -> Self
Return Value
Singleton instance of SPMetaService
-
Unavailable
call sharedInstance instead
unavailable method, do not use
Declaration
Objective-C
- (nonnull instancetype)init;
-
Requests metadata for buildings.
Declaration
Parameters
query
parameters for request.
completionBlock
callback called when operation finishes
-
Requests metadata for points of interest.
Declaration
Parameters
query
parameters for request. See SPQuery.h for detailed documentation
completionBlock
callback called when operation finishes
-
Requests metadata for assets
Declaration
Parameters
query
containing parameters for request. See SPQuery.h for detailed documentation
completionBlock
callback called when operation finishes