UIGuidedAccessRestriction.GetState(String) 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.
Returns the state (allow,deny) for the specified restrictionIdentifier
.
public static UIKit.UIGuidedAccessRestrictionState GetState (string restrictionIdentifier);
static member GetState : string -> UIKit.UIGuidedAccessRestrictionState
Parameters
- restrictionIdentifier
- String
The identifier of the restriction.
Returns
Allow means that the application should allow the behavior. Deny means that the application should not allow the behavior.
Remarks
You can enable Guided Access mode by calling RequestGuidedAccessSession(Boolean, Action<Boolean>).