UIAccessibility.RequestGuidedAccessSessionAsync(Boolean) Method

Definition

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.

Returns

Applies to