共用方式為


IWKScriptMessageHandler.DidReceiveScriptMessage 方法

定義

從腳本接收訊息之後呼叫的方法。

[Foundation.Export("userContentController:didReceiveScriptMessage:")]
[Foundation.Preserve(Conditional=true)]
public void DidReceiveScriptMessage (WebKit.WKUserContentController userContentController, WebKit.WKScriptMessage message);
abstract member DidReceiveScriptMessage : WebKit.WKUserContentController * WebKit.WKScriptMessage -> unit

參數

userContentController
WKUserContentController
message
WKScriptMessage
屬性

適用於