Dali::Toolkit::GetImpl(*this).GetPlainTextAsynchronously(callback);
}
+void WebView::WebAuthenticationCancel()
+{
+ Dali::Toolkit::GetImpl(*this).WebAuthenticationCancel();
+}
+
+void WebView::RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback)
+{
+ Dali::Toolkit::GetImpl(*this).RegisterWebAuthDisplayQRCallback(callback);
+}
+
+void WebView::RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback)
+{
+ Dali::Toolkit::GetImpl(*this).RegisterWebAuthResponseCallback(callback);
+}
+
WebView::WebView(Internal::WebView& implementation)
: Control(implementation)
{
*/
void GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextReceivedCallback callback);
+ /**
+ * @brief Cancel WebAuthentication(cancel in progress passkey operation).
+ */
+ void WebAuthenticationCancel();
+
+ /**
+ * @brief Register WebAuthDisplayQR callback.
+ *
+ * @param[in] callback The callback informs browser app to display QR code popup for passkey scenario.
+ */
+ void RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback);
+
+ /**
+ * @brief Register WebAuthResponse callback.
+ *
+ * @param[in] callback The callback informs browser app that the passkey registration and authentication has been successful and app can close QR popup.
+ */
+ void RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback);
+
public: // Not intended for application developers
/// @cond internal
/**
}
}
+void WebView::WebAuthenticationCancel()
+{
+ if(mWebEngine)
+ {
+ mWebEngine.WebAuthenticationCancel();
+ }
+}
+
+void WebView::RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback)
+{
+ if(mWebEngine)
+ {
+ mWebEngine.RegisterWebAuthDisplayQRCallback(std::move(callback));
+ }
+}
+
+void WebView::RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback)
+{
+ if(mWebEngine)
+ {
+ mWebEngine.RegisterWebAuthResponseCallback(std::move(callback));
+ }
+}
+
void WebView::OnFrameRendered()
{
if(mFrameRenderedCallback)
*/
void GetPlainTextAsynchronously(Dali::WebEnginePlugin::PlainTextReceivedCallback callback);
+ /**
+ * @copydoc Dali::Toolkit::WebView::WebAuthenticationCancel()
+ */
+ void WebAuthenticationCancel();
+
+ /**
+ * @copydoc Dali::Toolkit::WebView::RegisterWebAuthDisplayQRCallback()
+ */
+ void RegisterWebAuthDisplayQRCallback(Dali::WebEnginePlugin::WebEngineWebAuthDisplayQRCallback callback);
+
+ /**
+ * @copydoc Dali::Toolkit::WebView::RegisterWebAuthResponseCallback()
+ */
+ void RegisterWebAuthResponseCallback(Dali::WebEnginePlugin::WebEngineWebAuthResponseCallback callback);
+
public: // Properties
/**
* @brief Called when a property of an object of this type is set.