smartdevicelink / sdl_requirements

Collection of requirements/technical tasks for new sdl_core features
BSD 3-Clause "New" or "Revised" License
2 stars 7 forks source link

Feature/Pixel density and scale #113

Open KhrystynaDubovyk opened 5 years ago

KhrystynaDubovyk commented 5 years ago

GetCapabilities GetSystemCapability (<videoStreamingCapability>)

Description:

As a navigation application I want to stream video and have good screen resolution.

Detailed description:

Mobile & HMI API changes

Change the VideoStreamingCapability struct in both API's to include the additional parameters:

<struct name="VideoStreamingCapability">
: 
<param name="diagonalScreenSize" type="Float" mandatory="false">
 <description>The diagonal screen size in inches.</description>
</param>
<param name="pixelPerInch" type="Float" mandatory="false">
 <description>PPI is the diagonal resolution in pixels divided by the diagonal screen size in inches.</description>
</param>
<param name="scale" type="Float" mandatory="false">
  <description>The scaling factor the app should use to change the size of the projecting view.</description>
</param>
</struct>

In case HMI responds GetCapabilities, GetSystemCapability with invalid values for diagonalScreenSize, pixelPerInch, scale parameters

SDL must send a response to mobile application with default value from HMI_capabilities.json file

Diagram:

N/A

Links: