Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 1.37 KB

dialreceiverapp_setadditionaldataasync_1432279464.md

File metadata and controls

27 lines (18 loc) · 1.37 KB
-api-id -api-type
M:Windows.Media.DialProtocol.DialReceiverApp.SetAdditionalDataAsync(Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String,System.String}})
winrt method

Windows.Media.DialProtocol.DialReceiverApp.SetAdditionalDataAsync

-description

Used by the server app to send a set of data in key/value pairs to the DIAL REST service so that it can be queried from a client app.

-parameters

-param additionalData

The set of key/value pairs to send to the DIAL REST service.

-returns

Clients retrieve the additional data by making an HTTP GET request to the DIAL REST service application URL.  UWP client apps can perform this task by calling DialDevice.GetDialApp followed by DialApp.GetAppStateAsync, and then accessing the DialAppStateDetails.FullXml property to retrieve the additional data.  The additional data is added to the DIAL app XML in accordance with the DIAL specification.

-remarks

-see-also

-examples