Trait objc2_web_kit::WKScriptMessageHandler

source ·
pub unsafe trait WKScriptMessageHandler: NSObjectProtocol {
    // Provided method
    unsafe fn userContentController_didReceiveScriptMessage(
        &self,
        user_content_controller: &WKUserContentController,
        message: &WKScriptMessage
    )
       where Self: Sized + Message { ... }
}
Available on crate feature WKScriptMessageHandler only.

Provided Methods§

source

unsafe fn userContentController_didReceiveScriptMessage( &self, user_content_controller: &WKUserContentController, message: &WKScriptMessage )
where Self: Sized + Message,

Available on crate features WKScriptMessage and WKUserContentController only.

Trait Implementations§

source§

impl ProtocolType for dyn WKScriptMessageHandler

source§

const NAME: &'static str = "WKScriptMessageHandler"

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 WKScriptMessageHandler

Implementations on Foreign Types§

source§

impl<T> WKScriptMessageHandler for ProtocolObject<T>

Implementors§