UIPrintInteractionControllerDelegate

Trait UIPrintInteractionControllerDelegate 

Source
pub unsafe trait UIPrintInteractionControllerDelegate: NSObjectProtocol + MainThreadOnly {
    // Provided methods
    fn printInteractionControllerParentViewController(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    ) -> Option<Retained<UIViewController>>
       where Self: Sized + Message { ... }
    fn printInteractionController_choosePaper(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
        paper_list: &NSArray<UIPrintPaper>,
    ) -> Retained<UIPrintPaper>
       where Self: Sized + Message { ... }
    fn printInteractionControllerWillPresentPrinterOptions(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    fn printInteractionControllerDidPresentPrinterOptions(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    fn printInteractionControllerWillDismissPrinterOptions(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    fn printInteractionControllerDidDismissPrinterOptions(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    fn printInteractionControllerWillStartJob(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    fn printInteractionControllerDidFinishJob(
        &self,
        print_interaction_controller: &UIPrintInteractionController,
    )
       where Self: Sized + Message { ... }
    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

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

Available on crate features UIResponder and UIViewController only.
Source

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

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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,

§Safety

available_behaviors generic should be of the correct type.

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§