Package apple.fileprovider.protocol
Interface NSFileProviderCustomAction
-
public interface NSFileProviderCustomActionAPI-Since: 16.0
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceNSFileProviderCustomAction.Block_performActionWithIdentifierOnItemsWithIdentifiersCompletionHandler
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull NSProgressperformActionWithIdentifierOnItemsWithIdentifiersCompletionHandler(@NotNull java.lang.String actionIdentifier, @NotNull NSArray<java.lang.String> itemIdentifiers, @NotNull NSFileProviderCustomAction.Block_performActionWithIdentifierOnItemsWithIdentifiersCompletionHandler completionHandler)Perform a custom action identified by `actionIdentifier`, on items identified by `itemIdentifiers`.
-
-
-
Method Detail
-
performActionWithIdentifierOnItemsWithIdentifiersCompletionHandler
@NotNull @NotNull NSProgress performActionWithIdentifierOnItemsWithIdentifiersCompletionHandler(@NotNull @NotNull java.lang.String actionIdentifier, @NotNull @NotNull NSArray<java.lang.String> itemIdentifiers, @NotNull @NotNull NSFileProviderCustomAction.Block_performActionWithIdentifierOnItemsWithIdentifiersCompletionHandler completionHandler)
Perform a custom action identified by `actionIdentifier`, on items identified by `itemIdentifiers`. Custom actions are defined in the File Provider Extension's Info.plist, under the `NSExtensionFileProviderActions` key. The format of this key is identical to actions defined in a FileProviderUI extension. Cancellations: ------------ If the NSProgress returned by this method is cancelled, the extension should call the completion handler with (NSUserCancelledError) in the NSProgress cancellation handler.
-
-