pub unsafe trait FIFinderSyncProtocol {
// Provided methods
unsafe fn menuForMenuKind(
&self,
menu: FIMenuKind,
mtm: MainThreadMarker
) -> Option<Retained<NSMenu>>
where Self: Sized + Message { ... }
unsafe fn beginObservingDirectoryAtURL(&self, url: &NSURL)
where Self: Sized + Message { ... }
unsafe fn endObservingDirectoryAtURL(&self, url: &NSURL)
where Self: Sized + Message { ... }
unsafe fn requestBadgeIdentifierForURL(&self, url: &NSURL)
where Self: Sized + Message { ... }
unsafe fn toolbarItemName(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
unsafe fn toolbarItemImage(&self) -> Retained<NSImage>
where Self: Sized + Message { ... }
unsafe fn toolbarItemToolTip(&self) -> Retained<NSString>
where Self: Sized + Message { ... }
unsafe fn supportedServiceNamesForItemWithURL(
&self,
item_url: &NSURL
) -> Retained<NSArray<NSFileProviderServiceName>>
where Self: Sized + Message { ... }
unsafe fn makeListenerEndpointForServiceName_itemURL_andReturnError(
&self,
service_name: &NSFileProviderServiceName,
item_url: &NSURL
) -> Result<Retained<NSXPCListenerEndpoint>, Retained<NSError>>
where Self: Sized + Message { ... }
unsafe fn valuesForAttributes_forItemWithURL_completion(
&self,
attributes: &NSArray<NSURLResourceKey>,
item_url: &NSURL,
completion: &Block<dyn Fn(NonNull<NSDictionary<NSURLResourceKey, AnyObject>>, *mut NSError)>
)
where Self: Sized + Message { ... }
}Provided Methods§
Available on crate feature
objc2-app-kit only.unsafe fn beginObservingDirectoryAtURL(&self, url: &NSURL)
unsafe fn endObservingDirectoryAtURL(&self, url: &NSURL)
unsafe fn requestBadgeIdentifierForURL(&self, url: &NSURL)
unsafe fn toolbarItemName(&self) -> Retained<NSString>
unsafe fn toolbarItemImage(&self) -> Retained<NSImage>
Available on crate feature
objc2-app-kit only.unsafe fn toolbarItemToolTip(&self) -> Retained<NSString>
unsafe fn supportedServiceNamesForItemWithURL( &self, item_url: &NSURL ) -> Retained<NSArray<NSFileProviderServiceName>>
unsafe fn makeListenerEndpointForServiceName_itemURL_andReturnError( &self, service_name: &NSFileProviderServiceName, item_url: &NSURL ) -> Result<Retained<NSXPCListenerEndpoint>, Retained<NSError>>
unsafe fn valuesForAttributes_forItemWithURL_completion( &self, attributes: &NSArray<NSURLResourceKey>, item_url: &NSURL, completion: &Block<dyn Fn(NonNull<NSDictionary<NSURLResourceKey, AnyObject>>, *mut NSError)> )
Available on crate feature
block2 only.