UIGuidedAccessRestrictionDelegate

Trait UIGuidedAccessRestrictionDelegate 

Source
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.
Expand description

Provided Methods§

Trait Implementations§

Source§

impl ProtocolType for dyn UIGuidedAccessRestrictionDelegate

Source§

const NAME: &'static str = "UIGuidedAccessRestrictionDelegate"

The name of the Objective-C protocol that this type represents. Read more
Source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
Source§

impl<T> ImplementedBy<T> for dyn UIGuidedAccessRestrictionDelegate

Implementations on Foreign Types§

Source§

impl<T> UIGuidedAccessRestrictionDelegate for ProtocolObject<T>

Implementors§