setFeaturePermission()

The function allows to permit or deny features within a WebView EWO.

Synopsis

bool setFeaturePermission(string url, string feature, bool granted)

Parameters

Parameter Description
url URL for which the permission should be set.
feature The requested feature.
granted Defines if the permission is granted (true) or revoked (false)

Return Value

The function return false in case of an error.

Details

The function is most useful when called from within the ../Native_GEDI/ewo_webview_general.html#ewo_webview_general__featurePermissionRequested event of the WebView EWO.

Restriction: Zum momentanen Zeitpunkt wird nur die Anfrage MediaVideoCapture offiziell unterstützt. Weitere, ungetestete Features finden Sie unter Qt - WebEngine Feature Permissions

Assignment

WebView EWO