Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLOasisAddress Class Reference

Section Contents

Overview

Struct used in SendLocation describing an address

-initWithSubThoroughfare:thoroughfare:locality:administrativeArea:postalCode:countryCode:

Undocumented

Objective-C

- (instancetype)initWithSubThoroughfare:(nullable NSString *)subThoroughfare thoroughfare:(nullable NSString *)thoroughfare locality:(nullable NSString *)locality administrativeArea:(nullable NSString *)administrativeArea postalCode:(nullable NSString *)postalCode countryCode:(nullable NSString *)countryCode;

Swift

init(subThoroughfare: String?, thoroughfare: String?, locality: String?, administrativeArea: String?, postalCode: String?, countryCode: String?)

-initWithSubThoroughfare:thoroughfare:locality:administrativeArea:postalCode:countryCode:countryName:subAdministrativeArea:subLocality:

Undocumented

Objective-C

- (instancetype)initWithSubThoroughfare:(nullable NSString *)subThoroughfare thoroughfare:(nullable NSString *)thoroughfare locality:(nullable NSString *)locality administrativeArea:(nullable NSString *)administrativeArea postalCode:(nullable NSString *)postalCode countryCode:(nullable NSString *)countryCode countryName:(nullable NSString *)countryName subAdministrativeArea:(nullable NSString *)subAdministrativeArea subLocality:(nullable NSString *)subLocality;

Swift

init(subThoroughfare: String?, thoroughfare: String?, locality: String?, administrativeArea: String?, postalCode: String?, countryCode: String?, countryName: String?, subAdministrativeArea: String?, subLocality: String?)

countryName

Name of the country (localized)

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *countryName;

Swift

var countryName: String? { get set }

countryCode

countryCode of the country(ISO 3166-2)

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *countryCode;

Swift

var countryCode: String? { get set }

postalCode

postalCode of location (PLZ, ZIP, PIN, CAP etc.)

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *postalCode;

Swift

var postalCode: String? { get set }

administrativeArea

Portion of country (e.g. state)

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *administrativeArea;

Swift

var administrativeArea: String? { get set }

subAdministrativeArea

Portion of administrativeArea (e.g. county)

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *subAdministrativeArea;

Swift

var subAdministrativeArea: String? { get set }

locality

Hypernym for city/village

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *locality;

Swift

var locality: String? { get set }

subLocality

Hypernym for district

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *subLocality;

Swift

var subLocality: String? { get set }

thoroughfare

Hypernym for street, road etc.

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *thoroughfare;

Swift

var thoroughfare: String? { get set }

subThoroughfare

Portion of thoroughfare (e.g. house number)

Optional, max length = 200

Objective-C

@property (readwrite, copy, nonatomic, nullable) NSString *subThoroughfare;

Swift

var subThoroughfare: String? { get set }
View on GitHub.com
Previous Section Next Section