Package apple.uikit.protocol
Interface UIGuidedAccessRestrictionDelegate
-
public interface UIGuidedAccessRestrictionDelegateUIGuidedAccessRestrictionDelegate 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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default java.lang.StringdetailTextForGuidedAccessRestrictionWithIdentifier(java.lang.String restrictionIdentifier)Returns a localized string that gives additional detail about the restriction associated with the identifier.NSArray<java.lang.String>guidedAccessRestrictionIdentifiers()Returns a list of restriction identifiers in the order they will be presented to the user.voidguidedAccessRestrictionWithIdentifierDidChangeState(java.lang.String restrictionIdentifier, long newRestrictionState)Called each time the restriction associated with the identifier changes state.java.lang.StringtextForGuidedAccessRestrictionWithIdentifier(java.lang.String restrictionIdentifier)Returns a localized string that describes the restriction associated with the identifier.
-
-
-
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.
-
-