Share via


DialReceiverApp Class

Definition

Provides a mechanism for server apps to supply requested data to the DIAL REST service, which can be queried by client apps.

public ref class DialReceiverApp sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class DialReceiverApp final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class DialReceiverApp
Public NotInheritable Class DialReceiverApp
Inheritance
Object Platform::Object IInspectable DialReceiverApp
Attributes

Windows requirements

Device family
Windows 10 Fall Creators Update (introduced in 10.0.16299.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v5.0)

Remarks

Get an instance of this class by accessing the Current property.

Version history

Windows version SDK version Value added
1803 17134 GetUniqueDeviceNameAsync

Properties

Current

Gets an instance of the DialReceiverApp class.

Methods

GetAdditionalDataAsync()

Retrieves the a map of key/value pairs representing the data previously set with SetAdditionalDataAsync.

GetUniqueDeviceNameAsync()

Asynchronously gets the unique device name of the DIAL server device.

SetAdditionalDataAsync(IIterable<KeyValuePair<String,String>>)

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.

Applies to