TKReference
@interface TKReference : NSObject <NSCopying>
Entity handling basic information about additional linked content. References are entities that represent places’ relations to other websites, articles, social networks, rental options, passes, tickets, tours, accomodation providers, parkings, transfers and other services. For more information please see Sygic Travel API
-
Reference identifier.
Declaration
Objective-C
@property (readonly, atomic) NSUInteger ID;
Swift
var ID: UInt { get }
-
Reference title.
Declaration
Objective-C
@property (readonly, copy, nonatomic) NSString *_Nonnull title;
Swift
var title: String { get }
-
Reference type.
Note
For a complete list of nested reference types see References sheet .Declaration
Objective-C
@property (readonly, copy, nonatomic) NSString *_Nonnull type;
Swift
var type: String { get }
-
Reference supplier.
Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSString *supplier;
Swift
var supplier: String? { get }
-
Potential price of the Reference if applicable. Value in
USD
.Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSNumber *price;
Swift
@NSCopying var price: NSNumber? { get }
-
Reference language. See list of availabkle language IDs:
language
.Note
May benil
if generic.Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSString *languageID;
Swift
var languageID: String? { get }
-
Online
NSURL
of the Reference.Declaration
Objective-C
@property (readonly, copy, nonatomic) NSURL *_Nonnull onlineURL;
Swift
var onlineURL: URL { get }
-
Additional flags.
Declaration
Objective-C
@property (readonly, copy, nonatomic, nullable) NSArray<NSString *> *flags;
Swift
var flags: [String]? { get }
-
Reference priority. Higher means more important.
Declaration
Objective-C
@property (readonly, atomic) NSInteger priority;
Swift
var priority: Int { get }
-
Name of a proposed icon for the Reference.
Declaration
Objective-C
@property (readonly, copy, nonatomic) NSString *_Nonnull iconName;
Swift
var iconName: String { get }