ActivationSignalDetectionConfiguration.SetModelDataWithResult Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
|