pub unsafe trait UIGuidedAccessRestrictionDelegate: NSObjectProtocol + MainThreadOnly {
// Provided methods
fn guidedAccessRestrictionIdentifiers(
&self,
) -> Option<Retained<NSArray<NSString>>>
where Self: Sized + Message { ... }
fn guidedAccessRestrictionWithIdentifier_didChangeState(
&self,
restriction_identifier: &NSString,
new_restriction_state: UIGuidedAccessRestrictionState,
)
where Self: Sized + Message { ... }
fn textForGuidedAccessRestrictionWithIdentifier(
&self,
restriction_identifier: &NSString,
) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
fn detailTextForGuidedAccessRestrictionWithIdentifier(
&self,
restriction_identifier: &NSString,
) -> Option<Retained<NSString>>
where Self: Sized + Message { ... }
}Available on crate feature
UIGuidedAccess only.