Interface UIGuidedAccessRestrictionDelegate


  • public interface UIGuidedAccessRestrictionDelegate
    UIGuidedAccessRestrictionDelegate Implement on the application delegate to present the user with additional Guided Access restrictions. The initial state of all Guided Access restrictions is UIGuidedAccessRestrictionStateAllow.
    • Method Detail

      • detailTextForGuidedAccessRestrictionWithIdentifier

        default java.lang.String detailTextForGuidedAccessRestrictionWithIdentifier​(java.lang.String restrictionIdentifier)
        Returns a localized string that gives additional detail about the restriction associated with the identifier.
      • guidedAccessRestrictionIdentifiers

        NSArray<java.lang.String> guidedAccessRestrictionIdentifiers()
        Returns a list of restriction identifiers in the order they will be presented to the user. Each restriction identifier must be unique string. For example: com.MyCompany.MyApp.SomeRestrictionIdentifier
      • guidedAccessRestrictionWithIdentifierDidChangeState

        void guidedAccessRestrictionWithIdentifierDidChangeState​(java.lang.String restrictionIdentifier,
                                                                 long newRestrictionState)
        Called each time the restriction associated with the identifier changes state.
      • textForGuidedAccessRestrictionWithIdentifier

        java.lang.String textForGuidedAccessRestrictionWithIdentifier​(java.lang.String restrictionIdentifier)
        Returns a localized string that describes the restriction associated with the identifier.