GMSAddressComponent Class Reference

GMSAddressComponent Class Reference

Overview

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

Public Member Functions

(NSString *type) type
 Type of the address component.

Properties

NSArray< NSString * > * types
 Types associated with the address component.
NSString * name
 Name of the address component.
NSString *_Nullable shortName
 Short name of the address component.

Member Function Documentation

- (NSString* type) type

Deprecated: this property is deprecated in favor of types

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.


Property Documentation

- (NSArray<NSString *>*) types [read, assign]

Types associated with the address component.

For a list of supported types, see https://developers.google.com/places/ios-sdk/supported_types#table2. This array will contain one or more of the constants strings 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"

다음에 대한 의견 보내기...