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
EndAudioPassThru

EndAudioPassThru

Type
Function
Sender
SDL
Purpose
Stop audio capturing and sending PCM data to SDL

Request

Parameters

This RPC has no additional parameter requirements

Response

Parameters

This RPC has no additional parameter requirements

Sequence Diagrams

JSON Message Examples

Example Request

{
  "id" : 79,
  "jsonrpc" : "2.0",
  "method" : "UI.EndAudioPassThru"
}

Example Response

{
  "id" : 79,
  "jsonrpc" : "2.0",
  "result" :
  {
    "code" : 0,
    "method" : "UI.EndAudioPassThru"
  }
}

Example Error

{
  "id" : 79,
  "jsonrpc" : "2.0",
  "error" :
  {
    "code" : 4,
    "message" : "Rejected: no PerformAudioPassThru is now active",
    "data" :
    {
      "method" : "UI.EndAudioPassThru"
    }
  }
}
View on GitHub.com
Previous Section Next Section