SYPlacesManager Class Reference

Represents a set of data about a physical place. More...

#import <SYPlacesManager.h>

Inheritance diagram for SYPlacesManager:
Collaboration diagram for SYPlacesManager:

Public Types

typedef void(^ SYPlacesManagerLoadPlacesBlock) (NSArray< SYPlace * > *_Nullable places, NSError *_Nullable error)
 Type of completion block for asynchronous loading places. More...
 

Instance Methods

((unavailable("Use +[SYPlaces sharedPlaces] instead.") - __attribute__
 SYPlaces is singleton, use [SYPlaces sharedPlaces] to access singleton instance. More...
 
(nonnull SYTask *) - loadPlace:withCompletion:
 Load place detail information about map POI object. More...
 
(nonnull SYTask *) - loadPlaces:withCompletion:
 Load places detail information about map POI objects. More...
 
(nonnull SYTask *) - loadCity:withCompletion:
 Load detail information about map city object. More...
 
(nonnull SYTask *) - loadExternalPlaceId:withCompletion:
 Load external place id. More...
 
(nonnull SYTask *) - loadExternalPlaceIds:withCompletion:
 Load external place ids. More...
 
(nonnull SYTask *) - loadEVConnector:withCompletion:
 Load ev connector detail informations about map POI EV Station object. More...
 

Class Methods

(nonnull SYPlacesManager *) + sharedPlaces
 Returns SYPlaces singleton instance. More...
 
((unavailable("Use +[SYPlaces sharedPlaces] instead.") + __attribute__
 

Detailed Description

Represents a set of data about a physical place.

Member Typedef Documentation

◆ SYPlacesManagerLoadPlacesBlock

- (typedef void(^ SYPlacesManagerLoadPlacesBlock) (NSArray< SYPlace * > *_Nullable places, NSError *_Nullable error))

Type of completion block for asynchronous loading places.

Method Documentation

◆ sharedPlaces

+ (nonnull SYPlacesManager*) sharedPlaces

Returns SYPlaces singleton instance.

◆ __attribute__ [1/2]

- ((unavailable("Use +[SYPlaces sharedPlaces] instead.") __attribute__

SYPlaces is singleton, use [SYPlaces sharedPlaces] to access singleton instance.

◆ __attribute__ [2/2]

+ ((unavailable("Use +[SYPlaces sharedPlaces] instead.") __attribute__

◆ loadPlace:withCompletion:

- (nonnull SYTask*) loadPlace: (nonnull SYPlaceLink *)  link
withCompletion: (nonnull void(^)(SYPlace *_Nullable place, NSError *_Nullable error))  completion 

Load place detail information about map POI object.

◆ loadPlaces:withCompletion:

- (nonnull SYTask*) loadPlaces: (nonnull NSArray< SYPlaceLink * > *)  links
withCompletion: (nonnull SYPlacesManagerLoadPlacesBlock completion 

Load places detail information about map POI objects.

◆ loadCity:withCompletion:

- (nonnull SYTask*) loadCity: (nonnull SYCityLink *)  link
withCompletion: (nonnull void(^)(SYCity *_Nullable city, NSError *_Nullable error))  completion 

Load detail information about map city object.

◆ loadExternalPlaceId:withCompletion:

- (nonnull SYTask*) loadExternalPlaceId: (nonnull SYPlaceLink *)  link
withCompletion: (nonnull void(^)(NSData *_Nullable id, NSError *_Nullable error))  completion 

Load external place id.

◆ loadExternalPlaceIds:withCompletion:

- (nonnull SYTask*) loadExternalPlaceIds: (nonnull NSArray< SYPlaceLink * > *)  links
withCompletion: (nonnull void(^)(NSArray< NSData * > *_Nullable id, NSError *_Nullable error))  completion 

Load external place ids.

◆ loadEVConnector:withCompletion:

- (nonnull SYTask*) loadEVConnector: (nonnull SYPlaceLink *)  link
withCompletion: (nonnull void(^)(NSArray< SYEVConnector * > *_Nullable connectors, NSError *_Nullable error))  completion 

Load ev connector detail informations about map POI EV Station object.


The documentation for this class was generated from the following file: