UIGuidedAccessRestrictionDelegate

Trait UIGuidedAccessRestrictionDelegate 

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

Provided Methods§

Source

unsafe fn guidedAccessRestrictionIdentifiers( &self, ) -> Option<Retained<NSArray<NSString>>>
where Self: Sized + Message,

Source

unsafe fn guidedAccessRestrictionWithIdentifier_didChangeState( &self, restriction_identifier: &NSString, new_restriction_state: UIGuidedAccessRestrictionState, )
where Self: Sized + Message,

Source

unsafe fn textForGuidedAccessRestrictionWithIdentifier( &self, restriction_identifier: &NSString, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

Source

unsafe fn detailTextForGuidedAccessRestrictionWithIdentifier( &self, restriction_identifier: &NSString, ) -> Option<Retained<NSString>>
where Self: Sized + Message,

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§