getCollaborationHighlight(for:completionHandler:)
Returns a collaboration highlight for a specified URL.
Declaration
func getCollaborationHighlight(for URL: URL, completionHandler: @escaping @Sendable (SWCollaborationHighlight?, (any Error)?) -> Void)func collaborationHighlight(for URL: URL) async throws -> SWCollaborationHighlightParameters
- URL:
The URL that the system uses to find the Swcollaborationhighlight.
- completionHandler:
Returns the Swcollaborationhighlight. The system invokes the completion handler on the main thread.