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§

source

unsafe fn webView_startURLSchemeTask( &self, web_view: &WKWebView, url_scheme_task: &ProtocolObject<dyn WKURLSchemeTask> )
where Self: Sized + Message,

Available on crate feature WKURLSchemeTask and crate feature WKWebView and crate feature objc2-app-kit and macOS only.
source

unsafe fn webView_stopURLSchemeTask( &self, web_view: &WKWebView, url_scheme_task: &ProtocolObject<dyn WKURLSchemeTask> )
where Self: Sized + Message,

Available on crate feature WKURLSchemeTask and crate feature WKWebView and crate feature objc2-app-kit and macOS only.

Trait Implementations§

source§

impl ProtocolType for dyn WKURLSchemeHandler

source§

const NAME: &'static str = "WKURLSchemeHandler"

The name of the Objective-C protocol that this type represents.
source§

fn protocol() -> Option<&'static AnyProtocol>

Get a reference to the Objective-C protocol object that this type represents. Read more
source§

impl<T> ImplementedBy<T> for dyn WKURLSchemeHandler

Implementations on Foreign Types§

source§

impl<T> WKURLSchemeHandler for ProtocolObject<T>

Implementors§