SDLSeekStreamingIndicator Class Reference

Section Contents

Overview

The seek next / skip previous subscription buttons’ content

@added in SmartDeviceLink 7.1.0

-initWithType:

Objective-C

- (nonnull instancetype)initWithType:(nonnull SDLSeekIndicatorType)type;

Swift

init(type: SDLSeekIndicatorType)

Parameters

type

- type

Return Value

A SDLSeekStreamingIndicator object

-initWithType:seekTime:

Objective-C

- (nonnull instancetype)initWithType:(nonnull SDLSeekIndicatorType)type
                            seekTime:(nullable NSNumber<SDLUInt> *)seekTime;

Swift

init(type: SDLSeekIndicatorType, seekTime: (NSNumber & SDLUInt)?)

Parameters

type

- type

seekTime

- seekTime

Return Value

A SDLSeekStreamingIndicator object

+seekIndicatorWithSeekTime:

Objective-C

+ (nonnull instancetype)seekIndicatorWithSeekTime:(NSUInteger)seekTime;

Swift

class func seekIndicator(withSeekTime seekTime: UInt) -> Self

Parameters

seekTime

- seekTime

Return Value

A SDLSeekStreamingIndicator object

type

The type of seek indicator to be displayed on the module UI

Objective-C

@property (nonatomic, strong) SDLSeekIndicatorType _Nonnull type;

Swift

var type: SDLSeekIndicatorType { get set }

seekTime

If the type is TIME, this number of seconds may be present alongside the skip indicator. It will indicate the number of seconds that the currently playing media will skip forward or backward. {“num_min_value”: 1, “num_max_value”: 99}

Objective-C

@property (nonatomic, strong, nullable) NSNumber<SDLUInt> *seekTime;

Swift

var seekTime: (NSNumber & SDLUInt)? { get set }