Trait UIPrintInteractionControllerDelegate

Source
pub unsafe trait UIPrintInteractionControllerDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    unsafe fn printInteractionControllerParentViewController(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    ) -> Option<Retained<UIViewController>>
       where Self: Sized + Message { ... }
    unsafe fn printInteractionController_choosePaper(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
        paper_list: &NSArray<UIPrintPaper>,
    ) -> Retained<UIPrintPaper>
       where Self: Sized + Message { ... }
    unsafe fn printInteractionControllerWillPresentPrinterOptions(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    unsafe fn printInteractionControllerDidPresentPrinterOptions(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    unsafe fn printInteractionControllerWillDismissPrinterOptions(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    unsafe fn printInteractionControllerDidDismissPrinterOptions(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    unsafe fn printInteractionControllerWillStartJob(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    unsafe fn printInteractionControllerDidFinishJob(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    unsafe fn printInteractionController_cutLengthForPaper(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
        paper: &UIPrintPaper,
    ) -> CGFloat
       where Self: Sized + Message { ... }
    unsafe fn printInteractionController_chooseCutterBehavior(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
        available_behaviors: &NSArray,
    ) -> UIPrinterCutterBehavior
       where Self: Sized + Message { ... }
}
Available on crate feature UIPrintInteractionController only.
Expand description

Provided Methods§

Source

unsafe fn printInteractionControllerParentViewController( &self, print_interaction_controller: &UIPrintInteractionController, ) -> Option<Retained<UIViewController>>
where Self: Sized + Message,

Available on crate features UIResponder and UIViewController only.
Source

unsafe fn printInteractionController_choosePaper( &self, print_interaction_controller: &UIPrintInteractionController, paper_list: &NSArray<UIPrintPaper>, ) -> Retained<UIPrintPaper>
where Self: Sized + Message,

Available on crate feature UIPrintPaper only.
Source

unsafe fn printInteractionControllerWillPresentPrinterOptions( &self, print_interaction_controller: &UIPrintInteractionController, )
where Self: Sized + Message,

Source

unsafe fn printInteractionControllerDidPresentPrinterOptions( &self, print_interaction_controller: &UIPrintInteractionController, )
where Self: Sized + Message,

Source

unsafe fn printInteractionControllerWillDismissPrinterOptions( &self, print_interaction_controller: &UIPrintInteractionController, )
where Self: Sized + Message,

Source

unsafe fn printInteractionControllerDidDismissPrinterOptions( &self, print_interaction_controller: &UIPrintInteractionController, )
where Self: Sized + Message,

Source

unsafe fn printInteractionControllerWillStartJob( &self, print_interaction_controller: &UIPrintInteractionController, )
where Self: Sized + Message,

Source

unsafe fn printInteractionControllerDidFinishJob( &self, print_interaction_controller: &UIPrintInteractionController, )
where Self: Sized + Message,

Source

unsafe fn printInteractionController_cutLengthForPaper( &self, print_interaction_controller: &UIPrintInteractionController, paper: &UIPrintPaper, ) -> CGFloat
where Self: Sized + Message,

Available on crate features UIPrintPaper and objc2-core-foundation only.
Source

unsafe fn printInteractionController_chooseCutterBehavior( &self, print_interaction_controller: &UIPrintInteractionController, available_behaviors: &NSArray, ) -> UIPrinterCutterBehavior
where Self: Sized + Message,

Trait Implementations§

Source§

impl ProtocolType for dyn UIPrintInteractionControllerDelegate

Source§

const NAME: &'static str = "UIPrintInteractionControllerDelegate"

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 UIPrintInteractionControllerDelegate

Implementations on Foreign Types§

Source§

impl<T> UIPrintInteractionControllerDelegate for ProtocolObject<T>

Implementors§