Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
HMI Documentation
IsReady

IsReady

Type
Function
Sender
SDL
Purpose
Request ready state of UI Module

Request

Note
  1. SDL sends UI.IsReady request after HMI confirms its readiness via BC.OnReady notification.
  2. If HMI responds with "available":false, SDL will not further communicate over UI interface with HMI.
  3. If HMI does not respond during SDL's default timeout, SDL will continue to send RPCs over UI interface to HMI.

Parameters

This RPC has no additional parameter requirements

Response

Must
  1. Check whether UI component is available and ready.
  2. Respond correspondingly to results of this check.

Parameters

Name Type Mandatory Additional
available Boolean true

Sequence Diagrams

JSON Message Examples

Example Request

{
  "id" : 8,
  "jsonrpc" : "2.0",
  "method" : "UI.IsReady"
}

Example Response

{
  "id" : 8,
  "jsonrpc" : "2.0",
  "result" :
  {
    "available" : false,
    "code" : 0,
    "method" : "UI.IsReady"
  }
}

Example Error

{
  "id" : 8,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 22,
    "message" : " HMI doesn’t have the information about UI availability or some failure occurred ",
    "data" :
    {
      "method" : "UI.IsReady"
    }
  }
}
View on GitHub.com
Previous Section Next Section