UIGuidedAccessRestriction.ConfigureAccessibilityFeaturesAsync 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 configures the specified guided access accessibility features.
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<(bool Success, Foundation.NSError Error)> ConfigureAccessibilityFeaturesAsync(UIKit.UIGuidedAccessAccessibilityFeature features, bool enabled);
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)]
public static System.Threading.Tasks.Task<(bool Success, Foundation.NSError? Error)> ConfigureAccessibilityFeaturesAsync(UIKit.UIGuidedAccessAccessibilityFeature features, bool enabled);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.Optimizable)>]
static member ConfigureAccessibilityFeaturesAsync : UIKit.UIGuidedAccessAccessibilityFeature * bool -> System.Threading.Tasks.Task<ValueTuple<bool, Foundation.NSError>>
Parameters
- features
- UIGuidedAccessAccessibilityFeature
The accessibility features to configure.
- enabled
- Boolean
Whether the features should be enabled or disabled.
Returns
A task that represents the asynchronous operation, containing a tuple with the success status and any error that occurred.
- Attributes