SDLSubtleAlertResponse Class Reference

Section Contents

Overview

@since SDL 7.0.0

-initWithTryAgainTime:

Objective-C

- (nonnull instancetype)initWithTryAgainTime:
    (nullable NSNumber<SDLUInt> *)tryAgainTime;

Swift

init(tryAgainTime: (NSNumber & SDLUInt)?)

Parameters

tryAgainTime

- tryAgainTime

Return Value

A SDLSubtleAlertResponse object

tryAgainTime

Amount of time (in milliseconds) that an app must wait before resending an alert. If provided, another system event or overlay currently has a higher priority than this alert. An app must not send an alert without waiting at least the amount of time dictated. {“default_value”: null, “max_value”: 2000000000, “min_value”: 0}

Objective-C

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

Swift

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