summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2020-08-05 15:16:45 -0400
committerNicoleYarroch <nicole@livio.io>2020-08-05 15:16:45 -0400
commite9c61829af0395f7b7d170866e7d2ca1e76560c2 (patch)
tree4ff3d81ed4a0792f205316a1325d9af05987ce7b
parentb39a40a5cabf81e41562c0c1c750da0f278c4d15 (diff)
downloadsdl_ios-e9c61829af0395f7b7d170866e7d2ca1e76560c2.tar.gz
Updated subtle alert header docs
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r--SmartDeviceLink/SDLSubtleAlert.h16
1 files changed, 2 insertions, 14 deletions
diff --git a/SmartDeviceLink/SDLSubtleAlert.h b/SmartDeviceLink/SDLSubtleAlert.h
index f34047f24..f49c0e2c9 100644
--- a/SmartDeviceLink/SDLSubtleAlert.h
+++ b/SmartDeviceLink/SDLSubtleAlert.h
@@ -60,53 +60,41 @@ NS_ASSUME_NONNULL_BEGIN
/**
* The first line of the alert text field
* {"default_value": null, "max_length": 500, "min_length": 1}
- *
- * Optional
*/
@property (nullable, strong, nonatomic) NSString *alertText1;
/**
* The second line of the alert text field
* {"default_value": null, "max_length": 500, "min_length": 1}
- *
- * Optional
*/
@property (nullable, strong, nonatomic) NSString *alertText2;
/**
* Image to be displayed for the corresponding alert. See Image. If omitted on supported displays, no (or the default if applicable) icon should be displayed.
- *
- * Optional
*/
@property (nullable, strong, nonatomic) SDLImage *alertIcon;
/**
* An array of text chunks of type TTSChunk. See TTSChunk. The array must have at least one item.
- *
- * Optional
+ * {"default_value": null, "max_size": 100, "min_size": 1}
*/
@property (nullable, strong, nonatomic) NSArray<SDLTTSChunk *> *ttsChunks;
/**
* Timeout in milliseconds. Typical timeouts are 3-5 seconds. If omitted, timeout is set to 5s.
* {"default_value": 5000, "max_value": 10000, "min_value": 3000}
- *
- * Optional
*/
@property (nullable, strong, nonatomic) NSNumber<SDLUInt> *duration;
/**
* App defined SoftButtons. If omitted on supported displays, the displayed alert shall not have any SoftButtons.
- *
- * Optional
+ * {"default_value": null, "max_size": 2, "min_size": 0}
*/
@property (nullable, strong, nonatomic) NSArray<SDLSoftButton *> *softButtons;
/**
* An ID for this specific alert to allow cancellation through the `CancelInteraction` RPC.
* {"default_value": null, "max_value": null, "min_value": null}
- *
- * Optional
*/
@property (nullable, strong, nonatomic) NSNumber<SDLInt> *cancelID;