Share via


ActivationSignalDetectionConfiguration.SetModelDataAsync Method

Definition

Asynchronously sets the model configuration data (specific to a signal detector).

public:
 virtual IAsyncAction ^ SetModelDataAsync(Platform::String ^ dataType, IInputStream ^ data) = SetModelDataAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction SetModelDataAsync(winrt::hstring const& dataType, IInputStream const& data);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction SetModelDataAsync(string dataType, IInputStream data);
function setModelDataAsync(dataType, data)
Public Function SetModelDataAsync (dataType As String, data As IInputStream) As IAsyncAction

Parameters

dataType
String

Platform::String

winrt::hstring

The type of configuration data that ensures compatibility with the detector.

data
IInputStream

The configuration data.

Returns

Returns an IAsyncAction object that is used to control the asynchronous operation.

Attributes

Applies to

See also