GMSAddressComponent Class Reference

GMSAddressComponent Class Reference

Overview

Represents a component of an address, e.g., street number, postcode, city, etc.

Properties

NSString * type
 Type of the address component.
NSString * name
 Name of the address component, e.g.
NSString *_Nullable shortName
 Short name of the address component, e.g.

Property Documentation

- (NSString*) type [read, copy]

Type of the address component.

For a list of supported types, see https://developers.google.com/places/ios-sdk/supported_types#table2. This string will be one of the constants defined in GMSPlaceTypes.h.

- (NSString*) name [read, copy]

Name of the address component, e.g.

"Sydney"

- (NSString* _Nullable) shortName [read, copy]

Short name of the address component, e.g.

"AU"

Envoyer des commentaires concernant…