PKPaymentInformationRequestHandling

Trait PKPaymentInformationRequestHandling 

Source
pub unsafe trait PKPaymentInformationRequestHandling {
    // Provided methods
    unsafe fn handleInformationRequest_completion(
        &self,
        info_request: &PKBarcodeEventMetadataRequest,
        completion: PKInformationRequestCompletionBlock,
    )
       where Self: Sized + Message { ... }
    unsafe fn handleSignatureRequest_completion(
        &self,
        signature_request: &PKBarcodeEventSignatureRequest,
        completion: PKSignatureRequestCompletionBlock,
    )
       where Self: Sized + Message { ... }
    unsafe fn handleConfigurationRequest_completion(
        &self,
        configuration_request: &PKBarcodeEventConfigurationRequest,
        completion: &DynBlock<dyn Fn()>,
    )
       where Self: Sized + Message { ... }
}
Available on crate feature PKPaymentInformationEventExtension only.
Expand description

Provided Methods§

Source

unsafe fn handleInformationRequest_completion( &self, info_request: &PKBarcodeEventMetadataRequest, completion: PKInformationRequestCompletionBlock, )
where Self: Sized + Message,

Available on crate features PKBarcodeEventMetadataRequest and block2 only.
§Safety

completion must be a valid pointer.

Source

unsafe fn handleSignatureRequest_completion( &self, signature_request: &PKBarcodeEventSignatureRequest, completion: PKSignatureRequestCompletionBlock, )
where Self: Sized + Message,

Available on crate features PKBarcodeEventMetadataRequest and block2 only.
§Safety

completion must be a valid pointer.

Source

unsafe fn handleConfigurationRequest_completion( &self, configuration_request: &PKBarcodeEventConfigurationRequest, completion: &DynBlock<dyn Fn()>, )
where Self: Sized + Message,

Available on crate features PKBarcodeEventMetadataRequest and block2 only.

Trait Implementations§

Source§

impl ProtocolType for dyn PKPaymentInformationRequestHandling

Source§

const NAME: &'static str = "PKPaymentInformationRequestHandling"

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 PKPaymentInformationRequestHandling

Implementations on Foreign Types§

Source§

impl<T> PKPaymentInformationRequestHandling for ProtocolObject<T>

Implementors§