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() -> SelfReturn 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
queryparameters for request.
completionBlockcallback called when operation finishes
-
Requests metadata for points of interest.
Declaration
Parameters
queryparameters for request. See SPQuery.h for detailed documentation
completionBlockcallback called when operation finishes
-
Requests metadata for assets
Declaration
Parameters
querycontaining parameters for request. See SPQuery.h for detailed documentation
completionBlockcallback called when operation finishes
SPMetaService Class Reference