Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLFuelRange Class Reference

Section Contents

Overview

Describes the distance a vehicle can travel with the current level of fuel.

type

The vehicle’s fuel type

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable) SDLFuelType type;

Swift

var type: SDLFuelType? { get set }

range

The estimate range in KM the vehicle can travel based on fuel level and consumption.

Optional, Float, 0 - 10,000

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLFloat> *range;

Swift

var range: (NSNumber & SDLFloat)? { get set }
View on GitHub.com
Previous Section Next Section