Trait ASAuthorizationControllerDelegate

Source
pub unsafe trait ASAuthorizationControllerDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn authorizationController_didCompleteWithAuthorization(
        &self,
        controller: &ASAuthorizationController,
        authorization: &ASAuthorization,
    )
       where Self: Sized + Message { ... }
    unsafe fn authorizationController_didCompleteWithError(
        &self,
        controller: &ASAuthorizationController,
        error: &NSError,
    )
       where Self: Sized + Message { ... }
    unsafe fn authorizationController_didCompleteWithCustomMethod(
        &self,
        controller: &ASAuthorizationController,
        method: &ASAuthorizationCustomMethod,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature ASAuthorizationController only.
Expand description

Provided Methods§

Source

unsafe fn authorizationController_didCompleteWithAuthorization( &self, controller: &ASAuthorizationController, authorization: &ASAuthorization, )
where Self: Sized + Message,

Available on crate feature ASAuthorization only.
Source

unsafe fn authorizationController_didCompleteWithError( &self, controller: &ASAuthorizationController, error: &NSError, )
where Self: Sized + Message,

Source

unsafe fn authorizationController_didCompleteWithCustomMethod( &self, controller: &ASAuthorizationController, method: &ASAuthorizationCustomMethod, )
where Self: Sized + Message,

Available on crate feature ASAuthorizationCustomMethod only.

Trait Implementations§

Source§

impl ProtocolType for dyn ASAuthorizationControllerDelegate

Source§

const NAME: &'static str = "ASAuthorizationControllerDelegate"

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 ASAuthorizationControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> ASAuthorizationControllerDelegate for ProtocolObject<T>

Implementors§