[SDL 0267] Main Menu UI Updates
Closed this issue · 1 comments
Proposal: Main Menu UI Updates
This proposal is to update the main menu
AddCommand
andAddSubMenu
RPCs to allow for the main menu to have the same UI capabilities asChoice
inPerformInteraction
popup menus.
Review: smartdevicelink/sdl_evolution#882
Steering Committee Decision:
The Steering Committee voted to accept this proposal with the following revision: additional text params should go to
MenuParams
.
The proposal .md file was updated to reflect these revisions on 12/17/19.
The proposal markdown file has been updated per the revisions included in the accepted Revise SDL 0267 Main Menu UI Updates.
Accepted Revisions:
Move parameters
secondaryText
andtertiaryText
from the request body to the MenuParams struct.
Update the proposed HMI API Changes to the following:
HMI API Changes
Common.MenuParams
<struct name="MenuParams">
<!-- New Parameters -->
<param name="secondaryText" maxlength="500" type="String" mandatory="false">
<description>Optional secondary text to display</description>
</param>
<param name="tertiaryText" maxlength="500" type="String" mandatory="false">
<description>Optional tertiary text to display</description>
</param>
</struct>
AddSubmenu
<function name="UI.AddSubMenu" messagetype="request">
<!-- New Parameters -->
<param name="secondaryImage" type="Image" mandatory="false">
<description>Optional secondary image struct for menu cell</description>
</param>
</function>
AddCommand
<function name="UI.AddCommand" messagetype="request">
<!-- New Parameters -->
<param name="secondaryImage" type="Image" mandatory="false">
<description>Optional secondary image struct for menu cell</description>
</param>
</function>