Jaa


ActivationSignalDetectionConfiguration.SetModelDataWithResultAsync Method

Definition

Asynchronously sets the model configuration data (specific to a signal detector), and returns an indicator of success.

public:
 virtual IAsyncOperation<ActivationSignalDetectionConfigurationSetModelDataResult> ^ SetModelDataWithResultAsync(Platform::String ^ dataType, IInputStream ^ data) = SetModelDataWithResultAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ActivationSignalDetectionConfigurationSetModelDataResult> SetModelDataWithResultAsync(winrt::hstring const& dataType, IInputStream const& data);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ActivationSignalDetectionConfigurationSetModelDataResult> SetModelDataWithResultAsync(string dataType, IInputStream data);
function setModelDataWithResultAsync(dataType, data)
Public Function SetModelDataWithResultAsync (dataType As String, data As IInputStream) As IAsyncOperation(Of ActivationSignalDetectionConfigurationSetModelDataResult)

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

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Applies to

See also