Compartilhar via


Criteria Constructors

Definition

Overloads

Criteria()

Constructs a new Criteria object.

Criteria(Criteria)

Constructs a new Criteria object that is a copy of the given criteria.

Criteria(IntPtr, JniHandleOwnership)

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

Criteria()

Constructs a new Criteria object.

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

Remarks

Constructs a new Criteria object. The new object will have no requirements on accuracy, power, or response time; will not require altitude, speed, or bearing; and will not allow monetary cost.

Java documentation for android.location.Criteria.Criteria().

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

Criteria(Criteria)

Constructs a new Criteria object that is a copy of the given criteria.

[Android.Runtime.Register(".ctor", "(Landroid/location/Criteria;)V", "")]
public Criteria (Android.Locations.Criteria? criteria);
[<Android.Runtime.Register(".ctor", "(Landroid/location/Criteria;)V", "")>]
new Android.Locations.Criteria : Android.Locations.Criteria -> Android.Locations.Criteria

Parameters

criteria
Criteria
Attributes

Remarks

Constructs a new Criteria object that is a copy of the given criteria.

Java documentation for android.location.Criteria.Criteria(android.location.Criteria).

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

Criteria(IntPtr, JniHandleOwnership)

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

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

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