Udostępnij za pośrednictwem


WebSettings.AllowUniversalAccessFromFileURLs Property

Definition

Gets whether JavaScript running in the context of a file scheme URL can access content from any origin.

public abstract bool AllowUniversalAccessFromFileURLs { [Android.Runtime.Register("getAllowUniversalAccessFromFileURLs", "()Z", "GetGetAllowUniversalAccessFromFileURLsHandler")] get; [Android.Runtime.Register("setAllowUniversalAccessFromFileURLs", "(Z)V", "GetSetAllowUniversalAccessFromFileURLs_ZHandler")] set; }
[<get: Android.Runtime.Register("getAllowUniversalAccessFromFileURLs", "()Z", "GetGetAllowUniversalAccessFromFileURLsHandler")>]
[<set: Android.Runtime.Register("setAllowUniversalAccessFromFileURLs", "(Z)V", "GetSetAllowUniversalAccessFromFileURLs_ZHandler")>]
member this.AllowUniversalAccessFromFileURLs : bool with get, set

Property Value

Attributes

Remarks

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

See also