pub unsafe trait NSSharingServicePickerDelegate: NSObjectProtocol {
// Provided methods
unsafe fn sharingServicePicker_sharingServicesForItems_proposedSharingServices(
&self,
sharing_service_picker: &NSSharingServicePicker,
items: &NSArray,
proposed_services: &NSArray<NSSharingService>
) -> Retained<NSArray<NSSharingService>>
where Self: Sized + Message { ... }
unsafe fn sharingServicePicker_delegateForSharingService(
&self,
sharing_service_picker: &NSSharingServicePicker,
sharing_service: &NSSharingService,
mtm: MainThreadMarker
) -> Option<Retained<ProtocolObject<dyn NSSharingServiceDelegate>>>
where Self: Sized + Message { ... }
unsafe fn sharingServicePicker_didChooseSharingService(
&self,
sharing_service_picker: &NSSharingServicePicker,
service: Option<&NSSharingService>
)
where Self: Sized + Message { ... }
}Available on crate feature
NSSharingService only.