Home
last modified time | relevance | path

Searched refs:portHandle (Results 1 - 3 of 3) sorted by relevance

/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb.h633 * @param portHandle the port to close.
635 virtual void ClosePort(const std::string& portHandle) = 0;
640 * @param portHandle the port to send message.
643 virtual void PostPortMessage(const std::string& portHandle, std::shared_ptr<NWebMessage> data) = 0;
648 * @param portHandle the port to set callback.
652 const std::string& portHandle, std::shared_ptr<NWebMessageValueCallback> callback) = 0;
/base/web/webview/interfaces/kits/cj/src/
H A Dwebview_ffi.cpp916 std::string portHandle = msgPort->GetPortHandle(); in GetSendPorts() local
917 sendPorts.emplace_back(portHandle); in GetSendPorts()
/base/web/webview/interfaces/kits/napi/webviewcontroller/
H A Dnapi_webview_controller.cpp1935 std::string portHandle = msgPort->GetPortHandle(); in GetSendPorts() local
1936 sendPorts.emplace_back(portHandle); in GetSendPorts()
2010 std::string portHandle; in JsConstructor() local
2011 if (!NapiParseUtils::ParseString(env, argv[INTEGER_ONE], portHandle)) { in JsConstructor()
2022 WebMessagePort *msgPort = new (std::nothrow) WebMessagePort(webId, portHandle, isExtentionType); in JsConstructor()

Completed in 16 milliseconds