Name | Type | Mandatory | Additional |
---|---|---|---|
serviceType | String | true | |
subscribe | Boolean | false |
Name | Type | Mandatory | Additional |
---|---|---|---|
serviceData | Common.AppServiceData | false |
{ "id": 1000, "jsonrpc": "2.0", "method": "AppService.GetAppServiceData", "params": { "serviceType": "MEDIA" } }
{ "id": 1000, "jsonrpc": "2.0", "result": { "code": 0, "method": "AppService.GetAppServiceData", "serviceData": { "mediaServiceData": { "isExplicit": false, "mediaAlbum": "Book Name", "mediaArtist": "Author name", "mediaTitle": "Chapter name", "mediaType": "AUDIOBOOK", "queueCurrentTrackNumber": 12, "queuePlaybackDuration": 4000, "queuePlaybackProgress": 2200, "queueTotalTrackCount": 25, "trackPlaybackDuration": 300, "trackPlaybackProgress": 200 }, "serviceID": "9c6697b90f561cc599af19f81e9cf68a6848d6df1cdd63820d75ebfd7c727a20", "serviceType": "MEDIA" } } }
{ "error": { "code": 9, "data": { "method": "AppService.GetAppServiceData" }, "message": "No app service provider with serviceType: MUSIC is available" }, "id": 1000, "jsonrpc": "2.0" }