public interface 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.
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
detailTextForGuidedAccessRestrictionWithIdentifier(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.
|
void |
guidedAccessRestrictionWithIdentifierDidChangeState(java.lang.String restrictionIdentifier,
long newRestrictionState)
Called each time the restriction associated with the identifier changes state.
|
java.lang.String |
textForGuidedAccessRestrictionWithIdentifier(java.lang.String restrictionIdentifier)
Returns a localized string that describes the restriction associated with the identifier.
|
default java.lang.String detailTextForGuidedAccessRestrictionWithIdentifier(java.lang.String restrictionIdentifier)
NSArray<java.lang.String> guidedAccessRestrictionIdentifiers()
void guidedAccessRestrictionWithIdentifierDidChangeState(java.lang.String restrictionIdentifier,
long newRestrictionState)
java.lang.String textForGuidedAccessRestrictionWithIdentifier(java.lang.String restrictionIdentifier)