Warning

This feature is available in the Full MapKit SDK version

MMKSearchFuelMetadata

@interface MMKSearchFuelMetadata : NSObject <MMKBaseMetadata>

Fuel snippet.

Summary

Class methods

+ (nonnull MMKSearchFuelMetadata *)fuelMetadataWithTimestamp:(nullable NSNumber *)timestamp
                                                       fuels:(nonnull NSArray<MMKSearchFuelType *> *)fuels
                                                 attribution:(nullable MMKAttribution *)attribution;

Properties

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

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

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

Class methods

fuelMetadataWithTimestamp:fuels:attribution:

+ (nonnull MMKSearchFuelMetadata *)fuelMetadataWithTimestamp:(nullable NSNumber *)timestamp
                                                       fuels:(nonnull NSArray<MMKSearchFuelType *> *)fuels
                                                 attribution:(nullable MMKAttribution *)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<MMKSearchFuelType *> *fuels;

Fuel list.


attribution

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

Attribution information.

Optional field, can be nil.