Warning

This feature is available in the Full MapKit SDK version

YMKVehicleRawData

@interface YMKVehicleRawData : NSObject <YMKBaseMetadata>

Represents a mass transport unit on the map

Summary

Class methods

+ (nonnull YMKVehicleRawData *)vehicleRawDataWithId:(nonnull NSString *)id
                                           threadId:(nonnull NSString *)threadId
                                               line:(nonnull YMKMasstransitLine *)line;

Properties

@property (nonatomic, readonly, nonnull) NSString *id;
Id of a vehicle

@property (nonatomic, readonly, nonnull) NSString *threadId;
Id of the line thread on which the vehicle is running

@property (nonatomic, readonly, nonnull) YMKMasstransitLine *line;
Stores the vehicle's public transport line info

Class methods

vehicleRawDataWithId:threadId:line:

+ (nonnull YMKVehicleRawData *)vehicleRawDataWithId:(nonnull NSString *)id
                                           threadId:(nonnull NSString *)threadId
                                               line:(nonnull YMKMasstransitLine *)line;


Properties

id

@property (nonatomic, readonly, nonnull) NSString *id;

Id of a vehicle


threadId

@property (nonatomic, readonly, nonnull) NSString *threadId;

Id of the line thread on which the vehicle is running


line

@property (nonatomic, readonly, nonnull) YMKMasstransitLine *line;

Stores the vehicle's public transport line info