Warning

This feature is available in the Full MapKit SDK version

YMKSearchFuelMetadata

@interface YMKSearchFuelMetadata : NSObject <YMKBaseMetadata>

Fuel snippet.

Summary

Class methods

+ (nonnull YMKSearchFuelMetadata *)fuelMetadataWithTimestamp:(nullable NSNumber *)timestamp
                                                       fuels:(nonnull NSArray<YMKSearchFuelType *> *)fuels
                                                 attribution:(nullable YMKAttribution *)attribution;

Properties

@property (nonatomic, readonly, nullable) NSNumber *timestamp;
Snippet update time as UNIX timestamp

@property (nonatomic, readonly, nonnull) NSArray<YMKSearchFuelType *> *fuels;
Fuel list

@property (nonatomic, readonly, nullable) YMKAttribution *attribution;
Attribution information

Class methods

fuelMetadataWithTimestamp:fuels:attribution:

+ (nonnull YMKSearchFuelMetadata *)fuelMetadataWithTimestamp:(nullable NSNumber *)timestamp
                                                       fuels:(nonnull NSArray<YMKSearchFuelType *> *)fuels
                                                 attribution:(nullable YMKAttribution *)attribution;


Properties

timestamp

@property (nonatomic, readonly, nullable) NSNumber *timestamp;

Snippet update time as UNIX timestamp.

Optional field, can be nil.


fuels

@property (nonatomic, readonly, nonnull) NSArray<YMKSearchFuelType *> *fuels;

Fuel list.


attribution

@property (nonatomic, readonly, nullable) YMKAttribution *attribution;

Attribution information.

Optional field, can be nil.