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§
fn printInteractionControllerParentViewController( &self, print_interaction_controller: &UIPrintInteractionController, ) -> Option<Retained<UIViewController>>
Available on crate features
UIResponder and UIViewController only.fn printInteractionController_choosePaper( &self, print_interaction_controller: &UIPrintInteractionController, paper_list: &NSArray<UIPrintPaper>, ) -> Retained<UIPrintPaper>
Available on crate feature
UIPrintPaper only.fn printInteractionControllerWillPresentPrinterOptions( &self, print_interaction_controller: &UIPrintInteractionController, )
fn printInteractionControllerDidPresentPrinterOptions( &self, print_interaction_controller: &UIPrintInteractionController, )
fn printInteractionControllerWillDismissPrinterOptions( &self, print_interaction_controller: &UIPrintInteractionController, )
fn printInteractionControllerDidDismissPrinterOptions( &self, print_interaction_controller: &UIPrintInteractionController, )
fn printInteractionControllerWillStartJob( &self, print_interaction_controller: &UIPrintInteractionController, )
fn printInteractionControllerDidFinishJob( &self, print_interaction_controller: &UIPrintInteractionController, )
fn printInteractionController_cutLengthForPaper( &self, print_interaction_controller: &UIPrintInteractionController, paper: &UIPrintPaper, ) -> CGFloat
Available on crate features
UIPrintPaper and objc2-core-foundation only.Sourceunsafe fn printInteractionController_chooseCutterBehavior(
&self,
print_interaction_controller: &UIPrintInteractionController,
available_behaviors: &NSArray,
) -> UIPrinterCutterBehavior
unsafe fn printInteractionController_chooseCutterBehavior( &self, print_interaction_controller: &UIPrintInteractionController, available_behaviors: &NSArray, ) -> UIPrinterCutterBehavior
§Safety
available_behaviors generic should be of the correct type.