Share via


UISettingsController.RequestDefaultAsync Method

Definition

Retrieves the default UISettingsController with access to the Accessibility visual effects settings (Settings -> Accessibility -> Visual effects).

public:
 static IAsyncOperation<UISettingsController ^> ^ RequestDefaultAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<UISettingsController> RequestDefaultAsync();
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<UISettingsController> RequestDefaultAsync();
function requestDefaultAsync()
Public Shared Function RequestDefaultAsync () As IAsyncOperation(Of UISettingsController)

Returns

An asynchronous operation that completes with a UISettingsController.

Attributes

Remarks

Important

This API requires the use of the IoT systemManagement capability, and the inclusion of iot in the IgnorableNamespaces list.

Add the following to the Package.appmanifest:

  • To <Package>
    • IgnorableNamespaces="iot"
  • Under <Capabilities>
    • <iot:Capability Name="systemManagement"/>

Applies to

See also