LSCopyDefaultHandlerForURLScheme

Function LSCopyDefaultHandlerForURLScheme 

Source
pub unsafe extern "C-unwind" fn LSCopyDefaultHandlerForURLScheme(
    in_url_scheme: &CFString,
) -> Option<CFRetained<CFString>>
👎Deprecated: Use -[NSWorkspace URLForApplicationToOpenURL:] instead.
Available on crate feature LSInfo only.
Expand description

Returns the bundle identifier of the default handler for the specified URL scheme. Returns NULL if no handler is available.

Parameter inURLScheme: the scheme to return the default handler bundle identifier for

Returns: a CFStringRef bundle identifier of the default handler, or NULL if no handler is available