Bagikan melalui


WebStorage Constructors

Definition

Overloads

WebStorage()

This class should not be instantiated directly, applications must only use #getInstance() to obtain the instance.

WebStorage(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

WebStorage()

This class should not be instantiated directly, applications must only use #getInstance() to obtain the instance.

[Android.Runtime.Register(".ctor", "()V", "")]
public WebStorage ();
Attributes

Remarks

This class should not be instantiated directly, applications must only use #getInstance() to obtain the instance. Note this constructor was erroneously public and published in SDK levels prior to 16, but applications using it would receive a non-functional instance of this class (there was no way to call createHandler() and createUIHandler(), so it would not work).

Java documentation for android.webkit.WebStorage.WebStorage().

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

WebStorage(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected WebStorage (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Webkit.WebStorage : nativeint * Android.Runtime.JniHandleOwnership -> Android.Webkit.WebStorage

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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