VisualizerViewAction.Builder.SetShouldCloseSessionOnTriggered(Boolean) 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.
Configures whether the view action closes the visualization session.
[Android.Runtime.Register("setShouldCloseSessionOnTriggered", "(Z)Landroid/service/personalcontext/embedded/VisualizerViewAction$Builder;", "", ApiSince=37)]
public Android.Service.PersonalContext.Embedded.VisualizerViewAction.Builder SetShouldCloseSessionOnTriggered(bool shouldCloseSessionOnTriggered);
[<Android.Runtime.Register("setShouldCloseSessionOnTriggered", "(Z)Landroid/service/personalcontext/embedded/VisualizerViewAction$Builder;", "", ApiSince=37)>]
member this.SetShouldCloseSessionOnTriggered : bool -> Android.Service.PersonalContext.Embedded.VisualizerViewAction.Builder
Parameters
- shouldCloseSessionOnTriggered
- Boolean
true to close the session when the action is activated; false to leave it open.
Returns
This builder with the updated session-closure setting.
- Attributes
Remarks
When enabled, the action requests a close callback with UserButtonPress as the reason. This setting does not select or replace an insight or feedback action.