Sdílet prostřednictvím


GsmCellLocation Constructors

Definition

Overloads

GsmCellLocation()

Empty constructor.

GsmCellLocation(Bundle)

Initialize the object from a bundle.

GsmCellLocation(IntPtr, JniHandleOwnership)

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

GsmCellLocation()

Empty constructor.

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

Remarks

Empty constructor. Initializes the LAC and CID to -1.

Java documentation for android.telephony.gsm.GsmCellLocation.GsmCellLocation().

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

GsmCellLocation(Bundle)

Initialize the object from a bundle.

[Android.Runtime.Register(".ctor", "(Landroid/os/Bundle;)V", "")]
public GsmCellLocation (Android.OS.Bundle? bundle);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Bundle;)V", "")>]
new Android.Telephony.Gsm.GsmCellLocation : Android.OS.Bundle -> Android.Telephony.Gsm.GsmCellLocation

Parameters

bundle
Bundle
Attributes

Remarks

Initialize the object from a bundle.

Java documentation for android.telephony.gsm.GsmCellLocation.GsmCellLocation(android.os.Bundle).

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

GsmCellLocation(IntPtr, JniHandleOwnership)

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

protected GsmCellLocation (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Telephony.Gsm.GsmCellLocation : nativeint * Android.Runtime.JniHandleOwnership -> Android.Telephony.Gsm.GsmCellLocation

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