summaryrefslogtreecommitdiff
path: root/src/components/interfaces
diff options
context:
space:
mode:
authorCollin <iCollin@users.noreply.github.com>2019-07-26 13:04:08 -0400
committerGitHub <noreply@github.com>2019-07-26 13:04:08 -0400
commit9a556df9e95a802dd25e97f4e778f6bc4715b48c (patch)
treec8117cc497583819172b8b15290886d226523d50 /src/components/interfaces
parent87a6f6204a2742cb679ee7dae22a00567a02d1f8 (diff)
parentfb7a07c489501a6c933075e1c8d591ff2a3ce744 (diff)
downloadsdl_core-9a556df9e95a802dd25e97f4e778f6bc4715b48c.tar.gz
Merge pull request #2965 from smartdevicelink/feature/alert_icon
implement alert icon parameter to alert rpc
Diffstat (limited to 'src/components/interfaces')
-rw-r--r--src/components/interfaces/HMI_API.xml9
-rw-r--r--src/components/interfaces/MOBILE_API.xml13
2 files changed, 21 insertions, 1 deletions
diff --git a/src/components/interfaces/HMI_API.xml b/src/components/interfaces/HMI_API.xml
index e3eb1b6467..decd50c0a1 100644
--- a/src/components/interfaces/HMI_API.xml
+++ b/src/components/interfaces/HMI_API.xml
@@ -688,6 +688,9 @@
<element name="locationImage">
<description>The optional image of a destination / location</description>
</element>
+ <element name="alertIcon">
+ <description>The image field for Alert</description>
+ </element>
</enum>
<enum name="TextAlignment">
@@ -4640,6 +4643,12 @@
<param name="appID" type="Integer" mandatory="true">
<description>ID of application requested this RPC.</description>
</param>
+ <param name="alertIcon" type="Common.Image" mandatory="false" >
+ <description>
+ Image to be displayed for the corresponding alert. See Image.
+ If omitted, no (or the default if applicable) icon should be displayed.
+ </description>
+ </param>
</function>
<function name="Alert" messagetype="response">
<param name="tryAgainTime" type="Integer" mandatory="false" minvalue="0" maxvalue="2000000000">
diff --git a/src/components/interfaces/MOBILE_API.xml b/src/components/interfaces/MOBILE_API.xml
index 05f568af37..78aadbeb73 100644
--- a/src/components/interfaces/MOBILE_API.xml
+++ b/src/components/interfaces/MOBILE_API.xml
@@ -891,7 +891,11 @@
<element name="locationImage" since="4.0">
<description>The optional image of a destination / location</description>
</element>
-
+
+ <element name="alertIcon" since="6.0">
+ <description>The image field for Alert</description>>
+ </element>
+
</enum>
<enum name="CharacterSet" since="1.0">
@@ -4962,6 +4966,13 @@
If omitted on supported displays, the displayed alert shall not have any SoftButtons.
</description>
</param>
+
+ <param name="alertIcon" type="Image" mandatory="false" since="6.0">
+ <description>
+ Image struct determining whether static or dynamic icon.
+ If omitted on supported displays, no (or the default if applicable) icon should be displayed.
+ </description>
+ </param>
</function>