// SDLAlertManeuver.h // #import "SDLRPCRequest.h" @class SDLSoftButton; @class SDLTTSChunk; /** * Shows a SDLShowConstantTBT message with an optional voice command. This message is shown as an overlay over the display's base screen. * * @since SmartDeviceLink 1.0 */ NS_ASSUME_NONNULL_BEGIN @interface SDLAlertManeuver : SDLRPCRequest /// Convenience init to create an alert maneuver with required parameters /// /// @param ttsText The text to speak /// @param softButtons An array of soft buttons /// /// @return An SDLAlertManeuver object - (instancetype)initWithTTS:(nullable NSString *)ttsText softButtons:(nullable NSArray *)softButtons; /// Convenience init to create an alert maneuver with all parameters /// /// @param ttsChunks An array of text chunks /// @param softButtons An array of soft buttons /// @return An SDLAlertManeuver object - (instancetype)initWithTTSChunks:(nullable NSArray *)ttsChunks softButtons:(nullable NSArray *)softButtons; /** * An array of text chunks. * * Optional, Array of SDLTTSChunk, Array length 1 - 100 * * @see SDLTTSChunk */ @property (nullable, strong, nonatomic) NSArray *ttsChunks; /** * An array of soft buttons. If omitted on supported displays, only the system defined "Close" SoftButton shall be displayed. * * Optional, Array of SDLSoftButton, Array length 0 - 3 * * @see SDLSoftButton */ @property (nullable, strong, nonatomic) NSArray *softButtons; @end NS_ASSUME_NONNULL_END