// SDLSetGlobalProperties.h
//
#import "SDLRPCRequest.h"
@class SDLImage;
@class SDLKeyboardProperties;
@class SDLTTSChunk;
@class SDLVRHelpItem;
/**
* Sets value(s) for the specified global property(ies)
*
* Function Group: Base
* HMILevel needs to be FULL, LIMITED or BACKGROUND
*
*
* Since SmartDeviceLink 1.0
* See SDLResetGlobalProperties
*/
NS_ASSUME_NONNULL_BEGIN
@interface SDLSetGlobalProperties : SDLRPCRequest
- (instancetype)initWithHelpText:(nullable NSString *)helpText timeoutText:(nullable NSString *)timeoutText;
- (instancetype)initWithHelpText:(nullable NSString *)helpText timeoutText:(nullable NSString *)timeoutText vrHelpTitle:(nullable NSString *)vrHelpTitle vrHelp:(nullable NSArray *)vrHelp;
- (instancetype)initWithHelpText:(nullable NSString *)helpText timeoutText:(nullable NSString *)timeoutText vrHelpTitle:(nullable NSString *)vrHelpTitle vrHelp:(nullable NSArray *)vrHelp menuTitle:(nullable NSString *)menuTitle menuIcon:(nullable SDLImage *)menuIcon keyboardProperties:(nullable SDLKeyboardProperties *)keyboardProperties;
/**
* @abstract Sets a Vector for Help Prompt that Array of one or more
* TTSChunk elements specifying the help prompt used in an interaction
* started by PTT
* @discussion helpPrompt
* a Vector of one or more TTSChunk elements
*
* Notes:
*
* - Array must have at least one element
* - Only optional it timeoutPrompt has been specified
*
*/
@property (strong, nonatomic, nullable) NSArray *helpPrompt;
/**
* @abstract A Vector for Timeout Prompt representing Array of one or
* more TTSChunk elements specifying the help prompt used in an interaction
* started by PTT
*
*/
@property (strong, nonatomic, nullable) NSArray *timeoutPrompt;
/**
* @abstract Sets a voice recognition Help Title
*
* @discussion A String value representing a voice recognition Help Title
*
* Notes:
*
* - If omitted on supported displays, the default SDL help
* title will be used
* - If omitted and one or more vrHelp items are provided, the
* request will be rejected.
* - String Maxlength = 500
*
* @since SmartDeviceLink 2.0
*/
@property (strong, nonatomic, nullable) NSString *vrHelpTitle;
/**
* @abstract Sets the items listed in the VR help screen used in an interaction
* started by PTT
*
* @discussion A Vector value representing items listed in the VR help screen
* used in an interaction started by PTT
*
* Notes:
*
* - If omitted on supported displays, the default SmartDeviceLink VR
* help / What Can I Say? screen will be used
* - If the list of VR Help Items contains nonsequential
* positions (e.g. [1,2,4]), the RPC will be rejected
* - If omitted and a vrHelpTitle is provided, the request
* will be rejected
* - Array Minsize: = 1
* - Array Maxsize = 100
*
* @since SmartDeviceLink 2.0
*/
@property (strong, nonatomic, nullable) NSArray *vrHelp;
@property (strong, nonatomic, nullable) NSString *menuTitle;
@property (strong, nonatomic, nullable) SDLImage *menuIcon;
@property (strong, nonatomic, nullable) SDLKeyboardProperties *keyboardProperties;
@end
NS_ASSUME_NONNULL_END