@since SDL 7.0.0
- (nonnull instancetype)
initWithMenuLength:(nullable NSNumber<SDLInt> *)menuLength
subMenuDepth:(nullable NSNumber<SDLUInt> *)subMenuDepth;
init(menuLength: (NSNumber & SDLInt)?, subMenuDepth: (NSNumber & SDLUInt)?)
- menuLength
- subMenuDepth
A SDLDriverDistractionCapability object
The number of items allowed in a Choice Set or Command menu while the driver is distracted {“default_value”: null, “max_value”: null, “min_value”: null}
@property (nonatomic, strong, nullable) NSNumber<SDLInt> *menuLength;
var menuLength: (NSNumber & SDLInt)? { get set }
The depth of submenus allowed when the driver is distracted. e.g. 3 == top level menu -> submenu -> submenu; 1 == top level menu only {“default_value”: null, “max_value”: null, “min_value”: 1}
@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *subMenuDepth;
var subMenuDepth: (NSNumber & SDLUInt)? { get set }