PromptResponse(PromptRequest, ContextInsight) Constructor
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 a response for a prompt request and its optional result.
[Android.Runtime.Register(".ctor", "(Landroid/app/personalcontext/insight/PromptRequest;Landroid/app/personalcontext/insight/ContextInsight;)V", "", ApiSince=37)]
public PromptResponse(Android.App.PersonalContext.Insight.PromptRequest promptRequest, Android.App.PersonalContext.Insight.ContextInsight? contextInsight);
[<Android.Runtime.Register(".ctor", "(Landroid/app/personalcontext/insight/PromptRequest;Landroid/app/personalcontext/insight/ContextInsight;)V", "", ApiSince=37)>]
new Android.App.PersonalContext.Insight.PromptResponse : Android.App.PersonalContext.Insight.PromptRequest * Android.App.PersonalContext.Insight.ContextInsight -> Android.App.PersonalContext.Insight.PromptResponse
Parameters
- promptRequest
- PromptRequest
The request to which this response belongs. Must not be null.
- contextInsight
- ContextInsight
The result insight, or null if the user cancelled the prompt.
- Attributes
Remarks
The constructor requires a request but accepts a null result.