UIAccessibility.RequestGuidedAccessSessionAsync(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.
Asynchronously requests a transition between normal and Single App modes.
public static System.Threading.Tasks.Task<bool> RequestGuidedAccessSessionAsync (bool enable);
static member RequestGuidedAccessSessionAsync : bool -> System.Threading.Tasks.Task<bool>
Parameters
- enable
- Boolean
Determines whether you want to enter (true) enable or leave (false) guided access mode.