WebView.SetMixedContentMode Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| SetMixedContentMode(BindableObject, MixedContentHandling) |
Sets how the Android WebView handles mixed HTTP/HTTPS content. |
| SetMixedContentMode(IPlatformElementConfiguration<Android,WebView>, MixedContentHandling) |
Sets how the Android WebView handles mixed HTTP/HTTPS content. |
SetMixedContentMode(BindableObject, MixedContentHandling)
- Source:
- WebView.cs
- Source:
- WebView.cs
- Source:
- WebView.cs
- Source:
- WebView.cs
Sets how the Android WebView handles mixed HTTP/HTTPS content.
public:
static void SetMixedContentMode(Microsoft::Maui::Controls::BindableObject ^ element, Microsoft::Maui::Controls::PlatformConfiguration::AndroidSpecific::MixedContentHandling value);
public static void SetMixedContentMode(Microsoft.Maui.Controls.BindableObject element, Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.MixedContentHandling value);
static member SetMixedContentMode : Microsoft.Maui.Controls.BindableObject * Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.MixedContentHandling -> unit
Public Sub SetMixedContentMode (element As BindableObject, value As MixedContentHandling)
Parameters
- element
- BindableObject
The WebView element.
- value
- MixedContentHandling
The mixed content handling mode.
Applies to
SetMixedContentMode(IPlatformElementConfiguration<Android,WebView>, MixedContentHandling)
- Source:
- WebView.cs
- Source:
- WebView.cs
- Source:
- WebView.cs
- Source:
- WebView.cs
Sets how the Android WebView handles mixed HTTP/HTTPS content.
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::WebView ^> ^ SetMixedContentMode(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Android ^, Microsoft::Maui::Controls::WebView ^> ^ config, Microsoft::Maui::Controls::PlatformConfiguration::AndroidSpecific::MixedContentHandling value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.WebView> SetMixedContentMode(this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android,Microsoft.Maui.Controls.WebView> config, Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.MixedContentHandling value);
static member SetMixedContentMode : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.WebView> * Microsoft.Maui.Controls.PlatformConfiguration.AndroidSpecific.MixedContentHandling -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Android, Microsoft.Maui.Controls.WebView>
<Extension()>
Public Function SetMixedContentMode (config As IPlatformElementConfiguration(Of Android, WebView), value As MixedContentHandling) As IPlatformElementConfiguration(Of Android, WebView)
Parameters
The platform configuration.
- value
- MixedContentHandling
The mixed content handling mode.
Returns
The platform configuration for fluent API chaining.