pub unsafe trait WKScriptMessageHandlerWithReply: NSObjectProtocol {
    // Provided method
    unsafe fn userContentController_didReceiveScriptMessage_replyHandler(
        &self,
        user_content_controller: &WKUserContentController,
        message: &WKScriptMessage,
        reply_handler: &Block<dyn Fn(*mut AnyObject, *mut NSString)>
    )
       where Self: Sized + Message { ... }
}
Available on crate feature WKScriptMessageHandlerWithReply only.

Provided Methods§

source

unsafe fn userContentController_didReceiveScriptMessage_replyHandler( &self, user_content_controller: &WKUserContentController, message: &WKScriptMessage, reply_handler: &Block<dyn Fn(*mut AnyObject, *mut NSString)> )
where Self: Sized + Message,

Available on crate features WKScriptMessage and WKUserContentController and block2 only.

Trait Implementations§

source§

impl ProtocolType for dyn WKScriptMessageHandlerWithReply

source§

const NAME: &'static str = "WKScriptMessageHandlerWithReply"

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 WKScriptMessageHandlerWithReply

Implementations on Foreign Types§

source§

impl<T> WKScriptMessageHandlerWithReply for ProtocolObject<T>

Implementors§