Partager via


GeolocationPermissions Constructors

Definition

Overloads

GeolocationPermissions()

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

GeolocationPermissions(IntPtr, JniHandleOwnership)

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

GeolocationPermissions()

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

[Android.Runtime.Register(".ctor", "()V", "")]
public GeolocationPermissions ();
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.GeolocationPermissions.GeolocationPermissions().

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

GeolocationPermissions(IntPtr, JniHandleOwnership)

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

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

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