Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
iOS Documentation
SDLOasisAddress

SDLOasisAddress Class Reference

Section Contents

Overview

Struct used in SendLocation describing an address

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

Convenience init to describe an oasis address

Objective-C

- (nonnull 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?)

Parameters

subThoroughfare

Portion of thoroughfare (e.g. house number)

thoroughfare

Hypernym for street, road etc

locality

Hypernym for city/village

administrativeArea

Portion of country (e.g. state)

postalCode

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

countryCode

CountryCode of the country(ISO 3166-2)

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

Convenience init to describe an oasis address with all parameters

Objective-C

- (nonnull 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?)

Parameters

subThoroughfare

Portion of thoroughfare (e.g. house number)

thoroughfare

Hypernym for street, road etc

locality

Hypernym for city/village

administrativeArea

Portion of country (e.g. state)

postalCode

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

countryCode

CountryCode of the country(ISO 3166-2)

subAdministrativeArea

Portion of administrativeArea (e.g. county)

subLocality

Hypernym for district

countryName

Name of the country (localized)

Optional, max length = 200

Objective-C

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

Swift

var countryName: String? { get set }

countryCode

countryCode of the country(ISO 3166-2)

Optional, max length = 200

Objective-C

@property (nonatomic, copy, 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 (nonatomic, copy, nullable) NSString *postalCode;

Swift

var postalCode: String? { get set }

administrativeArea

Portion of country (e.g. state)

Optional, max length = 200

Objective-C

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

Swift

var administrativeArea: String? { get set }

subAdministrativeArea

Portion of administrativeArea (e.g. county)

Optional, max length = 200

Objective-C

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

Swift

var subAdministrativeArea: String? { get set }

locality

Hypernym for city/village

Optional, max length = 200

Objective-C

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

Swift

var locality: String? { get set }

subLocality

Hypernym for district

Optional, max length = 200

Objective-C

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

Swift

var subLocality: String? { get set }

thoroughfare

Hypernym for street, road etc.

Optional, max length = 200

Objective-C

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

Swift

var thoroughfare: String? { get set }

subThoroughfare

Portion of thoroughfare (e.g. house number)

Optional, max length = 200

Objective-C

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

Swift

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