Trait ASAuthorizationControllerDelegate

Source
pub unsafe trait ASAuthorizationControllerDelegate: NSObjectProtocol {
    // 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 { ... }
}
👎Deprecated: icrate::AuthenticationServices has been moved to objc2-authentication-services
Available on crate feature AuthenticationServices only.

Provided Methods§

Source

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

👎Deprecated: icrate::AuthenticationServices has been moved to objc2-authentication-services
Available on crate features AuthenticationServices_ASAuthorization and AuthenticationServices_ASAuthorizationController only.
Source

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

👎Deprecated: icrate::AuthenticationServices has been moved to objc2-authentication-services
Available on crate features AuthenticationServices_ASAuthorizationController and Foundation_NSError only.
Source

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

👎Deprecated: icrate::AuthenticationServices has been moved to objc2-authentication-services
Available on crate feature AuthenticationServices_ASAuthorizationController 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.
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§