Warning

This feature is available in the Full MapKit SDK version

MMKVehicleRawData

@interface MMKVehicleRawData : NSObject <MMKBaseMetadata>

Represents a mass transport unit on the map

Summary

Class methods

+ (nonnull MMKVehicleRawData *)vehicleRawDataWithId:(nonnull NSString *)id
                                           threadId:(nonnull NSString *)threadId
                                               line:(nonnull MMKMasstransitLine *)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) MMKMasstransitLine *line;
Stores the vehicle's public transport line info

Class methods

vehicleRawDataWithId:threadId:line:

+ (nonnull MMKVehicleRawData *)vehicleRawDataWithId:(nonnull NSString *)id
                                           threadId:(nonnull NSString *)threadId
                                               line:(nonnull MMKMasstransitLine *)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) MMKMasstransitLine *line;

Stores the vehicle's public transport line info