YMKNavigationJamStyle

@interface YMKNavigationJamStyle : NSObject

The style that is used to display traffic intensity.

Summary

Instance methods

- (void)setColorsWithColors:(nonnull NSArray<YMKJamTypeColor *> *)colors;
Collection of colors for traffic intensity

- (void)setGradientLengthWithGradientLength:(float)gradientLength;
Undocumented

Properties

@property (nonatomic, readonly, getter=isValid) BOOL valid;
Tells if this object is valid or no

Instance methods

setColorsWithColors:

- (void)setColorsWithColors:(nonnull NSArray<YMKJamTypeColor *> *)colors;

Collection of colors for traffic intensity.


setGradientLengthWithGradientLength:

- (void)setGradientLengthWithGradientLength:(float)gradientLength;

Undocumented


Properties

valid

@property (nonatomic, readonly, getter=isValid) BOOL valid;

Tells if this object is valid or no. Any method called on an invalid object will throw an exception. The object becomes invalid only on UI thread, and only when its implementation depends on objects already destroyed by now. Please refer to general docs about the interface for details on its invalidation.