Trait objc2_web_kit::WKURLSchemeHandler
source · pub unsafe trait WKURLSchemeHandler: NSObjectProtocol {
// Provided methods
unsafe fn webView_startURLSchemeTask(
&self,
web_view: &WKWebView,
url_scheme_task: &ProtocolObject<dyn WKURLSchemeTask>
)
where Self: Sized + Message { ... }
unsafe fn webView_stopURLSchemeTask(
&self,
web_view: &WKWebView,
url_scheme_task: &ProtocolObject<dyn WKURLSchemeTask>
)
where Self: Sized + Message { ... }
}
Available on crate feature
WKURLSchemeHandler
only.Provided Methods§
unsafe fn webView_startURLSchemeTask( &self, web_view: &WKWebView, url_scheme_task: &ProtocolObject<dyn WKURLSchemeTask> )
Available on crate feature
WKURLSchemeTask
and crate feature WKWebView
and crate feature objc2-app-kit
and macOS only.unsafe fn webView_stopURLSchemeTask( &self, web_view: &WKWebView, url_scheme_task: &ProtocolObject<dyn WKURLSchemeTask> )
Available on crate feature
WKURLSchemeTask
and crate feature WKWebView
and crate feature objc2-app-kit
and macOS only.