Class WebView
public class WebView
- Inheritance
-
WebView
- Inherited Members
Methods
CallAsyncJavascriptFunction(nint, NonNullableUtf8StringHandle, nint, VariantHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, nint, AsyncReadyCallback, nint)
Calls native method webkit_web_view_call_async_javascript_function. Version: 2.40
[Version("2.40")]
public static extern void CallAsyncJavascriptFunction(nint webView, NonNullableUtf8StringHandle body, nint length, VariantHandle arguments, NullableUtf8StringHandle worldName, NullableUtf8StringHandle sourceUri, nint cancellable, AsyncReadyCallback callback, nint userData)
Parameters
webView
nintTransfer ownership: None Nullable: False
body
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
length
nintTransfer ownership: None Nullable: False
arguments
VariantHandleTransfer ownership: None Nullable: True
worldName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
sourceUri
NullableUtf8StringHandleTransfer ownership: None Nullable: True
cancellable
nintTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
nintTransfer ownership: None Nullable: True
CallAsyncJavascriptFunctionFinish(nint, nint, out ErrorOwnedHandle)
Calls native method webkit_web_view_call_async_javascript_function_finish. Version: 2.40
[Version("2.40")]
public static extern nint CallAsyncJavascriptFunctionFinish(nint webView, nint result, out ErrorOwnedHandle error)
Parameters
webView
nintTransfer ownership: None Nullable: False
result
nintTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- nint
Transfer ownership: Full Nullable: False
CanExecuteEditingCommand(nint, NonNullableUtf8StringHandle, nint, AsyncReadyCallback, nint)
Calls native method webkit_web_view_can_execute_editing_command.
public static extern void CanExecuteEditingCommand(nint webView, NonNullableUtf8StringHandle command, nint cancellable, AsyncReadyCallback callback, nint userData)
Parameters
webView
nintTransfer ownership: None Nullable: False
command
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
cancellable
nintTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
nintTransfer ownership: None Nullable: True
CanExecuteEditingCommandFinish(nint, nint, out ErrorOwnedHandle)
Calls native method webkit_web_view_can_execute_editing_command_finish.
public static extern bool CanExecuteEditingCommandFinish(nint webView, nint result, out ErrorOwnedHandle error)
Parameters
webView
nintTransfer ownership: None Nullable: False
result
nintTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
CanGoBack(nint)
Calls native method webkit_web_view_can_go_back.
public static extern bool CanGoBack(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
CanGoForward(nint)
Calls native method webkit_web_view_can_go_forward.
public static extern bool CanGoForward(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
CanShowMimeType(nint, NonNullableUtf8StringHandle)
Calls native method webkit_web_view_can_show_mime_type.
public static extern bool CanShowMimeType(nint webView, NonNullableUtf8StringHandle mimeType)
Parameters
webView
nintTransfer ownership: None Nullable: False
mimeType
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
DownloadUri(nint, NonNullableUtf8StringHandle)
Calls native method webkit_web_view_download_uri.
public static extern nint DownloadUri(nint webView, NonNullableUtf8StringHandle uri)
Parameters
webView
nintTransfer ownership: None Nullable: False
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: Full Nullable: False
EvaluateJavascript(nint, NonNullableUtf8StringHandle, nint, NullableUtf8StringHandle, NullableUtf8StringHandle, nint, AsyncReadyCallback, nint)
Calls native method webkit_web_view_evaluate_javascript. Version: 2.40
[Version("2.40")]
public static extern void EvaluateJavascript(nint webView, NonNullableUtf8StringHandle script, nint length, NullableUtf8StringHandle worldName, NullableUtf8StringHandle sourceUri, nint cancellable, AsyncReadyCallback callback, nint userData)
Parameters
webView
nintTransfer ownership: None Nullable: False
script
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
length
nintTransfer ownership: None Nullable: False
worldName
NullableUtf8StringHandleTransfer ownership: None Nullable: True
sourceUri
NullableUtf8StringHandleTransfer ownership: None Nullable: True
cancellable
nintTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
nintTransfer ownership: None Nullable: True
EvaluateJavascriptFinish(nint, nint, out ErrorOwnedHandle)
Calls native method webkit_web_view_evaluate_javascript_finish. Version: 2.40
[Version("2.40")]
public static extern nint EvaluateJavascriptFinish(nint webView, nint result, out ErrorOwnedHandle error)
Parameters
webView
nintTransfer ownership: None Nullable: False
result
nintTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- nint
Transfer ownership: Full Nullable: False
ExecuteEditingCommand(nint, NonNullableUtf8StringHandle)
Calls native method webkit_web_view_execute_editing_command.
public static extern void ExecuteEditingCommand(nint webView, NonNullableUtf8StringHandle command)
Parameters
webView
nintTransfer ownership: None Nullable: False
command
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
ExecuteEditingCommandWithArgument(nint, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle)
Calls native method webkit_web_view_execute_editing_command_with_argument. Version: 2.10
[Version("2.10")]
public static extern void ExecuteEditingCommandWithArgument(nint webView, NonNullableUtf8StringHandle command, NonNullableUtf8StringHandle argument)
Parameters
webView
nintTransfer ownership: None Nullable: False
command
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
argument
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
GetAutomationPresentationType(nint)
Calls native method webkit_web_view_get_automation_presentation_type. Version: 2.28
[Version("2.28")]
public static extern AutomationBrowsingContextPresentation GetAutomationPresentationType(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- AutomationBrowsingContextPresentation
Transfer ownership: None Nullable: False
GetBackForwardList(nint)
Calls native method webkit_web_view_get_back_forward_list.
public static extern nint GetBackForwardList(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetCameraCaptureState(nint)
Calls native method webkit_web_view_get_camera_capture_state. Version: 2.34
[Version("2.34")]
public static extern MediaCaptureState GetCameraCaptureState(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- MediaCaptureState
Transfer ownership: None Nullable: False
GetContext(nint)
Calls native method webkit_web_view_get_context.
public static extern nint GetContext(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetCustomCharset(nint)
Calls native method webkit_web_view_get_custom_charset.
public static extern NonNullableUtf8StringUnownedHandle GetCustomCharset(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetDefaultContentSecurityPolicy(nint)
Calls native method webkit_web_view_get_default_content_security_policy. Version: 2.38
[Version("2.38")]
public static extern NullableUtf8StringUnownedHandle GetDefaultContentSecurityPolicy(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- NullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: True
GetDisplayCaptureState(nint)
Calls native method webkit_web_view_get_display_capture_state. Version: 2.34
[Version("2.34")]
public static extern MediaCaptureState GetDisplayCaptureState(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- MediaCaptureState
Transfer ownership: None Nullable: False
GetEditorState(nint)
Calls native method webkit_web_view_get_editor_state. Version: 2.10
[Version("2.10")]
public static extern nint GetEditorState(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetEstimatedLoadProgress(nint)
Calls native method webkit_web_view_get_estimated_load_progress.
public static extern double GetEstimatedLoadProgress(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
GetFavicon(nint)
Calls native method webkit_web_view_get_favicon.
public static extern nint GetFavicon(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetFindController(nint)
Calls native method webkit_web_view_get_find_controller.
public static extern nint GetFindController(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetGType()
Calls native function webkit_web_view_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetInputMethodContext(nint)
Calls native method webkit_web_view_get_input_method_context. Version: 2.28
[Version("2.28")]
public static extern nint GetInputMethodContext(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: True
GetInspector(nint)
Calls native method webkit_web_view_get_inspector.
public static extern nint GetInspector(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetIsMuted(nint)
Calls native method webkit_web_view_get_is_muted. Version: 2.30
[Version("2.30")]
public static extern bool GetIsMuted(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetIsWebProcessResponsive(nint)
Calls native method webkit_web_view_get_is_web_process_responsive. Version: 2.34
[Version("2.34")]
public static extern bool GetIsWebProcessResponsive(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetMainResource(nint)
Calls native method webkit_web_view_get_main_resource.
public static extern nint GetMainResource(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetMicrophoneCaptureState(nint)
Calls native method webkit_web_view_get_microphone_capture_state. Version: 2.34
[Version("2.34")]
public static extern MediaCaptureState GetMicrophoneCaptureState(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- MediaCaptureState
Transfer ownership: None Nullable: False
GetNetworkSession(nint)
Calls native method webkit_web_view_get_network_session. Version: 2.40
[Version("2.40")]
public static extern nint GetNetworkSession(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetPageId(nint)
Calls native method webkit_web_view_get_page_id.
public static extern ulong GetPageId(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- ulong
Transfer ownership: None Nullable: False
GetSessionState(nint)
Calls native method webkit_web_view_get_session_state. Version: 2.12
[Version("2.12")]
public static extern WebViewSessionStateOwnedHandle GetSessionState(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- WebViewSessionStateOwnedHandle
Transfer ownership: Full Nullable: False
GetSettings(nint)
Calls native method webkit_web_view_get_settings.
public static extern nint GetSettings(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetSnapshot(nint, SnapshotRegion, SnapshotOptions, nint, AsyncReadyCallback, nint)
Calls native method webkit_web_view_get_snapshot.
public static extern void GetSnapshot(nint webView, SnapshotRegion region, SnapshotOptions options, nint cancellable, AsyncReadyCallback callback, nint userData)
Parameters
webView
nintTransfer ownership: None Nullable: False
region
SnapshotRegionTransfer ownership: None Nullable: False
options
SnapshotOptionsTransfer ownership: None Nullable: False
cancellable
nintTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
nintTransfer ownership: None Nullable: True
GetSnapshotFinish(nint, nint, out ErrorOwnedHandle)
Calls native method webkit_web_view_get_snapshot_finish.
public static extern nint GetSnapshotFinish(nint webView, nint result, out ErrorOwnedHandle error)
Parameters
webView
nintTransfer ownership: None Nullable: False
result
nintTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- nint
Transfer ownership: Full Nullable: False
GetTitle(nint)
Calls native method webkit_web_view_get_title.
public static extern NonNullableUtf8StringUnownedHandle GetTitle(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetTlsInfo(nint, out nint, out TlsCertificateFlags)
Calls native method webkit_web_view_get_tls_info.
public static extern bool GetTlsInfo(nint webView, out nint certificate, out TlsCertificateFlags errors)
Parameters
webView
nintTransfer ownership: None Nullable: False
certificate
nintTransfer ownership: None Nullable: False
errors
TlsCertificateFlagsTransfer ownership: Full Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
GetUri(nint)
Calls native method webkit_web_view_get_uri.
public static extern NonNullableUtf8StringUnownedHandle GetUri(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- NonNullableUtf8StringUnownedHandle
Transfer ownership: None Nullable: False
GetUserContentManager(nint)
Calls native method webkit_web_view_get_user_content_manager. Version: 2.6
[Version("2.6")]
public static extern nint GetUserContentManager(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetWebExtensionMode(nint)
Calls native method webkit_web_view_get_web_extension_mode. Version: 2.38
[Version("2.38")]
public static extern WebExtensionMode GetWebExtensionMode(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- WebExtensionMode
Transfer ownership: None Nullable: False
GetWebsitePolicies(nint)
Calls native method webkit_web_view_get_website_policies. Version: 2.30
[Version("2.30")]
public static extern nint GetWebsitePolicies(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetWindowProperties(nint)
Calls native method webkit_web_view_get_window_properties.
public static extern nint GetWindowProperties(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- nint
Transfer ownership: None Nullable: False
GetZoomLevel(nint)
Calls native method webkit_web_view_get_zoom_level.
public static extern double GetZoomLevel(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- double
Transfer ownership: None Nullable: False
GoBack(nint)
Calls native method webkit_web_view_go_back.
public static extern void GoBack(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
GoForward(nint)
Calls native method webkit_web_view_go_forward.
public static extern void GoForward(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
GoToBackForwardListItem(nint, nint)
Calls native method webkit_web_view_go_to_back_forward_list_item.
public static extern void GoToBackForwardListItem(nint webView, nint listItem)
Parameters
webView
nintTransfer ownership: None Nullable: False
listItem
nintTransfer ownership: None Nullable: False
IsControlledByAutomation(nint)
Calls native method webkit_web_view_is_controlled_by_automation. Version: 2.18
[Version("2.18")]
public static extern bool IsControlledByAutomation(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsEditable(nint)
Calls native method webkit_web_view_is_editable. Version: 2.8
[Version("2.8")]
public static extern bool IsEditable(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsLoading(nint)
Calls native method webkit_web_view_is_loading.
public static extern bool IsLoading(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
IsPlayingAudio(nint)
Calls native method webkit_web_view_is_playing_audio. Version: 2.8
[Version("2.8")]
public static extern bool IsPlayingAudio(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
Returns
- bool
Transfer ownership: None Nullable: False
LoadAlternateHtml(nint, NonNullableUtf8StringHandle, NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native method webkit_web_view_load_alternate_html.
public static extern void LoadAlternateHtml(nint webView, NonNullableUtf8StringHandle content, NonNullableUtf8StringHandle contentUri, NullableUtf8StringHandle baseUri)
Parameters
webView
nintTransfer ownership: None Nullable: False
content
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
contentUri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
baseUri
NullableUtf8StringHandleTransfer ownership: None Nullable: True
LoadBytes(nint, BytesHandle, NullableUtf8StringHandle, NullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native method webkit_web_view_load_bytes. Version: 2.6
[Version("2.6")]
public static extern void LoadBytes(nint webView, BytesHandle bytes, NullableUtf8StringHandle mimeType, NullableUtf8StringHandle encoding, NullableUtf8StringHandle baseUri)
Parameters
webView
nintTransfer ownership: None Nullable: False
bytes
BytesHandleTransfer ownership: None Nullable: False
mimeType
NullableUtf8StringHandleTransfer ownership: None Nullable: True
encoding
NullableUtf8StringHandleTransfer ownership: None Nullable: True
baseUri
NullableUtf8StringHandleTransfer ownership: None Nullable: True
LoadHtml(nint, NonNullableUtf8StringHandle, NullableUtf8StringHandle)
Calls native method webkit_web_view_load_html.
public static extern void LoadHtml(nint webView, NonNullableUtf8StringHandle content, NullableUtf8StringHandle baseUri)
Parameters
webView
nintTransfer ownership: None Nullable: False
content
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
baseUri
NullableUtf8StringHandleTransfer ownership: None Nullable: True
LoadPlainText(nint, NonNullableUtf8StringHandle)
Calls native method webkit_web_view_load_plain_text.
public static extern void LoadPlainText(nint webView, NonNullableUtf8StringHandle plainText)
Parameters
webView
nintTransfer ownership: None Nullable: False
plainText
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
LoadRequest(nint, nint)
Calls native method webkit_web_view_load_request.
public static extern void LoadRequest(nint webView, nint request)
Parameters
webView
nintTransfer ownership: None Nullable: False
request
nintTransfer ownership: None Nullable: False
LoadUri(nint, NonNullableUtf8StringHandle)
Calls native method webkit_web_view_load_uri.
public static extern void LoadUri(nint webView, NonNullableUtf8StringHandle uri)
Parameters
webView
nintTransfer ownership: None Nullable: False
uri
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
New()
Calls native constructor webkit_web_view_new.
public static extern nint New()
Returns
- nint
Transfer ownership: None Nullable: False
Reload(nint)
Calls native method webkit_web_view_reload.
public static extern void Reload(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
ReloadBypassCache(nint)
Calls native method webkit_web_view_reload_bypass_cache.
public static extern void ReloadBypassCache(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
RestoreSessionState(nint, WebViewSessionStateHandle)
Calls native method webkit_web_view_restore_session_state. Version: 2.12
[Version("2.12")]
public static extern void RestoreSessionState(nint webView, WebViewSessionStateHandle state)
Parameters
webView
nintTransfer ownership: None Nullable: False
state
WebViewSessionStateHandleTransfer ownership: None Nullable: False
Save(nint, SaveMode, nint, AsyncReadyCallback, nint)
Calls native method webkit_web_view_save.
public static extern void Save(nint webView, SaveMode saveMode, nint cancellable, AsyncReadyCallback callback, nint userData)
Parameters
webView
nintTransfer ownership: None Nullable: False
saveMode
SaveModeTransfer ownership: None Nullable: False
cancellable
nintTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
nintTransfer ownership: None Nullable: True
SaveFinish(nint, nint, out ErrorOwnedHandle)
Calls native method webkit_web_view_save_finish.
public static extern nint SaveFinish(nint webView, nint result, out ErrorOwnedHandle error)
Parameters
webView
nintTransfer ownership: None Nullable: False
result
nintTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- nint
Transfer ownership: Full Nullable: False
SaveToFile(nint, nint, SaveMode, nint, AsyncReadyCallback, nint)
Calls native method webkit_web_view_save_to_file.
public static extern void SaveToFile(nint webView, nint file, SaveMode saveMode, nint cancellable, AsyncReadyCallback callback, nint userData)
Parameters
webView
nintTransfer ownership: None Nullable: False
file
nintTransfer ownership: None Nullable: False
saveMode
SaveModeTransfer ownership: None Nullable: False
cancellable
nintTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
nintTransfer ownership: None Nullable: True
SaveToFileFinish(nint, nint, out ErrorOwnedHandle)
Calls native method webkit_web_view_save_to_file_finish.
public static extern bool SaveToFileFinish(nint webView, nint result, out ErrorOwnedHandle error)
Parameters
webView
nintTransfer ownership: None Nullable: False
result
nintTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- bool
Transfer ownership: None Nullable: False
SendMessageToPage(nint, nint, nint, AsyncReadyCallback, nint)
Calls native method webkit_web_view_send_message_to_page. Version: 2.28
[Version("2.28")]
public static extern void SendMessageToPage(nint webView, nint message, nint cancellable, AsyncReadyCallback callback, nint userData)
Parameters
webView
nintTransfer ownership: None Nullable: False
message
nintTransfer ownership: None Nullable: False
cancellable
nintTransfer ownership: None Nullable: True
callback
AsyncReadyCallbackTransfer ownership: None Nullable: True
userData
nintTransfer ownership: None Nullable: True
SendMessageToPageFinish(nint, nint, out ErrorOwnedHandle)
Calls native method webkit_web_view_send_message_to_page_finish. Version: 2.28
[Version("2.28")]
public static extern nint SendMessageToPageFinish(nint webView, nint result, out ErrorOwnedHandle error)
Parameters
webView
nintTransfer ownership: None Nullable: False
result
nintTransfer ownership: None Nullable: False
error
ErrorOwnedHandle
Returns
- nint
Transfer ownership: Full Nullable: False
SetBackgroundColor(nint, RGBAHandle)
Calls native method webkit_web_view_set_background_color. Version: 2.8
[Version("2.8")]
public static extern void SetBackgroundColor(nint webView, RGBAHandle rgba)
Parameters
webView
nintTransfer ownership: None Nullable: False
rgba
RGBAHandleTransfer ownership: None Nullable: False
SetCameraCaptureState(nint, MediaCaptureState)
Calls native method webkit_web_view_set_camera_capture_state. Version: 2.34
[Version("2.34")]
public static extern void SetCameraCaptureState(nint webView, MediaCaptureState state)
Parameters
webView
nintTransfer ownership: None Nullable: False
state
MediaCaptureStateTransfer ownership: None Nullable: False
SetCorsAllowlist(nint, Utf8StringArrayNullTerminatedHandle)
Calls native method webkit_web_view_set_cors_allowlist. Version: 2.34
[Version("2.34")]
public static extern void SetCorsAllowlist(nint webView, Utf8StringArrayNullTerminatedHandle allowlist)
Parameters
webView
nintTransfer ownership: None Nullable: False
allowlist
Utf8StringArrayNullTerminatedHandleTransfer ownership: None Nullable: True
SetCustomCharset(nint, NullableUtf8StringHandle)
Calls native method webkit_web_view_set_custom_charset.
public static extern void SetCustomCharset(nint webView, NullableUtf8StringHandle charset)
Parameters
webView
nintTransfer ownership: None Nullable: False
charset
NullableUtf8StringHandleTransfer ownership: None Nullable: True
SetDisplayCaptureState(nint, MediaCaptureState)
Calls native method webkit_web_view_set_display_capture_state. Version: 2.34
[Version("2.34")]
public static extern void SetDisplayCaptureState(nint webView, MediaCaptureState state)
Parameters
webView
nintTransfer ownership: None Nullable: False
state
MediaCaptureStateTransfer ownership: None Nullable: False
SetEditable(nint, bool)
Calls native method webkit_web_view_set_editable. Version: 2.8
[Version("2.8")]
public static extern void SetEditable(nint webView, bool editable)
Parameters
webView
nintTransfer ownership: None Nullable: False
editable
boolTransfer ownership: None Nullable: False
SetInputMethodContext(nint, nint)
Calls native method webkit_web_view_set_input_method_context. Version: 2.28
[Version("2.28")]
public static extern void SetInputMethodContext(nint webView, nint context)
Parameters
webView
nintTransfer ownership: None Nullable: False
context
nintTransfer ownership: None Nullable: True
SetIsMuted(nint, bool)
Calls native method webkit_web_view_set_is_muted. Version: 2.30
[Version("2.30")]
public static extern void SetIsMuted(nint webView, bool muted)
Parameters
webView
nintTransfer ownership: None Nullable: False
muted
boolTransfer ownership: None Nullable: False
SetMicrophoneCaptureState(nint, MediaCaptureState)
Calls native method webkit_web_view_set_microphone_capture_state. Version: 2.34
[Version("2.34")]
public static extern void SetMicrophoneCaptureState(nint webView, MediaCaptureState state)
Parameters
webView
nintTransfer ownership: None Nullable: False
state
MediaCaptureStateTransfer ownership: None Nullable: False
SetSettings(nint, nint)
Calls native method webkit_web_view_set_settings.
public static extern void SetSettings(nint webView, nint settings)
Parameters
webView
nintTransfer ownership: None Nullable: False
settings
nintTransfer ownership: None Nullable: False
SetZoomLevel(nint, double)
Calls native method webkit_web_view_set_zoom_level.
public static extern void SetZoomLevel(nint webView, double zoomLevel)
Parameters
webView
nintTransfer ownership: None Nullable: False
zoomLevel
doubleTransfer ownership: None Nullable: False
StopLoading(nint)
Calls native method webkit_web_view_stop_loading.
public static extern void StopLoading(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
TerminateWebProcess(nint)
Calls native method webkit_web_view_terminate_web_process. Version: 2.34
[Version("2.34")]
public static extern void TerminateWebProcess(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False
TryClose(nint)
Calls native method webkit_web_view_try_close. Version: 2.12
[Version("2.12")]
public static extern void TryClose(nint webView)
Parameters
webView
nintTransfer ownership: None Nullable: False