Language

ServiceWorkerWebSettings.AllowContentAccess Property

Definition

Gets whether Service Workers support content URL access.

public abstract bool AllowContentAccess { [Android.Runtime.Register("getAllowContentAccess", "()Z", "GetGetAllowContentAccessHandler", ApiSince=24)] get; [Android.Runtime.Register("setAllowContentAccess", "(Z)V", "GetSetAllowContentAccess_ZHandler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getAllowContentAccess", "()Z", "GetGetAllowContentAccessHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setAllowContentAccess", "(Z)V", "GetSetAllowContentAccess_ZHandler", ApiSince=24)>]
member this.AllowContentAccess : bool with get, set

Property Value

True if service workers can load content URLs; otherwise, false.

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