Udostępnij za pośrednictwem


Browser.ExtraHeaders Field

Definition

The name of the extra data in the VIEW intent.

[Android.Runtime.Register("EXTRA_HEADERS")]
public const string ExtraHeaders;
[<Android.Runtime.Register("EXTRA_HEADERS")>]
val mutable ExtraHeaders : string

Field Value

Attributes

Remarks

The name of the extra data in the VIEW intent. The data are key/value pairs in the format of Bundle. They will be sent in the HTTP request headers for the provided url. The keys can't be the standard HTTP headers as they are set by the WebView. The url's schema must be http(s).

Java documentation for android.provider.Browser.EXTRA_HEADERS.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to