SkillFeatureImageDescriptor.CreateValueAsync(Object, ISkillExecutionDevice) 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.
Creates an ISkillFeatureValue of SkillFeatureKind.Image according to the format specified.
public:
virtual Windows::Foundation::IAsyncOperation<Microsoft::AI::Skills::SkillInterfacePreview::ISkillFeatureValue ^> ^ CreateValueAsync(System::Object ^ value, Microsoft::AI::Skills::SkillInterfacePreview::ISkillExecutionDevice ^ device) = Microsoft::AI::Skills::SkillInterfacePreview::ISkillFeatureDescriptor::CreateValueAsync;
public Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureValue> CreateValueAsync (object value, Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice device);
abstract member CreateValueAsync : obj * Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice -> Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureValue>
override this.CreateValueAsync : obj * Microsoft.AI.Skills.SkillInterfacePreview.ISkillExecutionDevice -> Windows.Foundation.IAsyncOperation<Microsoft.AI.Skills.SkillInterfacePreview.ISkillFeatureValue>
Public Function CreateValueAsync (value As Object, device As ISkillExecutionDevice) As IAsyncOperation(Of ISkillFeatureValue)
Parameters
- value
- Object
The value from which to create the ISkillFeatureValue.
- device
- ISkillExecutionDevice
The execution device to be used by the skill which dictates the memory space.
Returns
- Windows.Foundation.IAsyncOperation<ISkillFeatureValue>
The ISkillFeatureValue created from the value passed as an argument.
Implements
Remarks
value must be a VideoFrame.