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

SDLSendLocation Class Reference

Section Contents

Overview

Undocumented

-initWithLongitude:latitude:locationName:locationDescription:address:phoneNumber:image:

Undocumented

Objective-C

- (instancetype)initWithLongitude:(double)longitude latitude:(double)latitude locationName:(nullable NSString *)locationName locationDescription:(nullable NSString *)locationDescription address:(nullable NSArray<NSString *> *)address phoneNumber:(nullable NSString *)phoneNumber image:(nullable SDLImage *)image;

Swift

init(longitude: Double, latitude: Double, locationName: String?, locationDescription: String?, address: [String]?, phoneNumber: String?, image: SDLImage?)

-initWithLongitude:latitude:locationName:locationDescription:displayAddressLines:phoneNumber:image:deliveryMode:timeStamp:address:

Undocumented

Objective-C

- (instancetype)initWithLongitude:(double)longitude latitude:(double)latitude locationName:(nullable NSString *)locationName locationDescription:(nullable NSString *)locationDescription displayAddressLines:(nullable NSArray<NSString *> *)displayAddressLines phoneNumber:(nullable NSString *)phoneNumber image:(nullable SDLImage *)image deliveryMode:(nullable SDLDeliveryMode)deliveryMode timeStamp:(nullable SDLDateTime *)timeStamp address:(nullable SDLOasisAddress *)address;

Swift

init(longitude: Double, latitude: Double, locationName: String?, locationDescription: String?, displayAddressLines: [String]?, phoneNumber: String?, image: SDLImage?, deliveryMode: SDLDeliveryMode?, timeStamp: SDLDateTime?, address: SDLOasisAddress?)

longitudeDegrees

The longitudinal coordinate of the location.

Float, Required, -180.0 - 180.0

Objective-C

@property (readwrite, copy, nonatomic, nullable)
    NSNumber<SDLFloat> *longitudeDegrees;

Swift

@NSCopying var longitudeDegrees: (NSNumber & SDLFloat)? { get set }

latitudeDegrees

The latitudinal coordinate of the location.

Float, Required, -90.0 - 90.0

Objective-C

@property (readwrite, copy, nonatomic, nullable)
    NSNumber<SDLFloat> *latitudeDegrees;

Swift

@NSCopying var latitudeDegrees: (NSNumber & SDLFloat)? { get set }

locationName

Name / title of intended location

Optional, Maxlength = 500 char

Objective-C

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

Swift

var locationName: String? { get set }

locationDescription

Description of the intended location / establishment

Optional, MaxLength = 500 char

Objective-C

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

Swift

var locationDescription: String? { get set }

addressLines

Location address for display purposes only

Contains String, Optional, Max Array Length = 4, Max String Length = 500

Objective-C

@property (readwrite, copy, nonatomic, nullable)
    NSArray<NSString *> *addressLines;

Swift

var addressLines: [String]? { get set }

phoneNumber

Phone number of intended location / establishment

Optional, Max Length = 500

Objective-C

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

Swift

var phoneNumber: String? { get set }

locationImage

Image / icon of intended location

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) SDLImage *locationImage;

Swift

var locationImage: SDLImage? { get set }

deliveryMode

Mode in which the sendLocation request is sent

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) SDLDeliveryMode deliveryMode;

Swift

var deliveryMode: SDLDeliveryMode? { get set }

timeStamp

Arrival time of Location. If multiple SendLocations are sent, this will be used for sorting as well.

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) SDLDateTime *timeStamp;

Swift

var timeStamp: SDLDateTime? { get set }

address

Address to be used for setting destination

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) SDLOasisAddress *address;

Swift

var address: SDLOasisAddress? { get set }
View on GitHub.com
Previous Section Next Section