Freigeben über


ServiceWorkerController.Instance Property

Definition

Returns the default ServiceWorkerController instance.

public static Android.Webkit.ServiceWorkerController Instance { [Android.Runtime.Register("getInstance", "()Landroid/webkit/ServiceWorkerController;", "", ApiSince=24)] get; }
[<get: Android.Runtime.Register("getInstance", "()Landroid/webkit/ServiceWorkerController;", "", ApiSince=24)>]
static member Instance : Android.Webkit.ServiceWorkerController

Property Value

the default ServiceWorkerController instance

Attributes

Remarks

Returns the default ServiceWorkerController instance. At present there is only one ServiceWorkerController instance for all WebView instances, however this restriction may be relaxed in the future.

Java documentation for android.webkit.ServiceWorkerController.getInstance().

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