HereSDKDemandLocation
@interface HereSDKDemandLocation : NSObject
A class representing a ride’s location
-
Geographical coordinates of the ride
Declaration
Objective-C
@property (assign, readwrite, nonatomic) CLLocation *_Nonnull point;Swift
var point: CLLocation { get set } -
Address of the location (if available)
Declaration
Objective-C
@property (assign, readwrite, nonatomic, nullable) int *address;Swift
var address: UnsafeMutablePointer<Int32>? { get set } -
Free text for specific information of location
Declaration
Objective-C
@property (assign, readwrite, nonatomic, nullable) NSString *freeText;Swift
var freeText: String? { get set } -
Returns HereSDKDemandLocation
Declaration
Objective-C
- (nonnull instancetype)initWithLocation:(nonnull CLLocation *)location address:(id)address freeText:(nullable NSString *)freeText;Swift
init(location: CLLocation, address: Any!, freeText: String?)Parameters
locationCoordinate object for location
addressOptional address object for location
Return Value
HereSDKDemandLocation
HereSDKDemandLocation Class Reference