pub unsafe trait UIActivityItemSource: NSObjectProtocol {
// Provided methods
fn activityViewControllerPlaceholderItem(
&self,
activity_view_controller: &UIActivityViewController,
) -> Retained<AnyObject>
where Self: Sized + Message { ... }
fn activityViewController_itemForActivityType(
&self,
activity_view_controller: &UIActivityViewController,
activity_type: Option<&UIActivityType>,
) -> Option<Retained<AnyObject>>
where Self: Sized + Message { ... }
fn activityViewController_subjectForActivityType(
&self,
activity_view_controller: &UIActivityViewController,
activity_type: Option<&UIActivityType>,
) -> Retained<NSString>
where Self: Sized + Message { ... }
fn activityViewController_dataTypeIdentifierForActivityType(
&self,
activity_view_controller: &UIActivityViewController,
activity_type: Option<&UIActivityType>,
) -> Retained<NSString>
where Self: Sized + Message { ... }
fn activityViewController_thumbnailImageForActivityType_suggestedSize(
&self,
activity_view_controller: &UIActivityViewController,
activity_type: Option<&UIActivityType>,
size: CGSize,
) -> Option<Retained<UIImage>>
where Self: Sized + Message { ... }
}Available on crate feature
UIActivityItemProvider only.Expand description
Provided Methods§
fn activityViewControllerPlaceholderItem( &self, activity_view_controller: &UIActivityViewController, ) -> Retained<AnyObject>
Available on crate features
UIActivityViewController and UIResponder and UIViewController only.fn activityViewController_itemForActivityType( &self, activity_view_controller: &UIActivityViewController, activity_type: Option<&UIActivityType>, ) -> Option<Retained<AnyObject>>
Available on crate features
UIActivity and UIActivityViewController and UIResponder and UIViewController only.fn activityViewController_subjectForActivityType( &self, activity_view_controller: &UIActivityViewController, activity_type: Option<&UIActivityType>, ) -> Retained<NSString>
Available on crate features
UIActivity and UIActivityViewController and UIResponder and UIViewController only.fn activityViewController_dataTypeIdentifierForActivityType( &self, activity_view_controller: &UIActivityViewController, activity_type: Option<&UIActivityType>, ) -> Retained<NSString>
Available on crate features
UIActivity and UIActivityViewController and UIResponder and UIViewController only.fn activityViewController_thumbnailImageForActivityType_suggestedSize( &self, activity_view_controller: &UIActivityViewController, activity_type: Option<&UIActivityType>, size: CGSize, ) -> Option<Retained<UIImage>>
Available on crate features
UIActivity and UIActivityViewController and UIImage and UIResponder and UIViewController and objc2-core-foundation only.