Jaa


ActivationSignalDetectionConfiguration.SetModelDataWithResult Method

Definition

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

public:
 virtual ActivationSignalDetectionConfigurationSetModelDataResult SetModelDataWithResult(Platform::String ^ dataType, IInputStream ^ data) = SetModelDataWithResult;
ActivationSignalDetectionConfigurationSetModelDataResult SetModelDataWithResult(winrt::hstring const& dataType, IInputStream const& data);
public ActivationSignalDetectionConfigurationSetModelDataResult SetModelDataWithResult(string dataType, IInputStream data);
function setModelDataWithResult(dataType, data)
Public Function SetModelDataWithResult (dataType As String, data As IInputStream) As 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

A value that indicates whether the call succeeded or the reason it failed.

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