NeighboringCellInfo Constructors

Definition

Overloads

NeighboringCellInfo()
Obsolete.

Empty constructor.

NeighboringCellInfo(Parcel)

Initialize the object from a parcel.

NeighboringCellInfo(Int32, Int32)
Obsolete.

Initialize the object from rssi and cid.

NeighboringCellInfo(IntPtr, JniHandleOwnership)

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

NeighboringCellInfo(Int32, String, NetworkType)

Initialize the object from rssi, location string, and radioType radioType is one of following TelephonyManager#NETWORK_TYPE_GPRS TelephonyManager.NETWORK_TYPE_GPRS, TelephonyManager#NETWORK_TYPE_EDGE TelephonyManager.NETWORK_TYPE_EDGE, TelephonyManager#NETWORK_TYPE_UMTS TelephonyManager.NETWORK_TYPE_UMTS, TelephonyManager#NETWORK_TYPE_HSDPA TelephonyManager.NETWORK_TYPE_HSDPA, TelephonyManager#NETWORK_TYPE_HSUPA TelephonyManager.NETWORK_TYPE_HSUPA, and TelephonyManager#NETWORK_TYPE_HSPA TelephonyManager.NETWORK_TYPE_HSPA.

NeighboringCellInfo()

Caution

deprecated

Empty constructor.

[Android.Runtime.Register(".ctor", "()V", "")]
[System.Obsolete("deprecated")]
public NeighboringCellInfo ();
Attributes

Remarks

Empty constructor. Initializes the RSSI and CID.

NeighboringCellInfo is one time shot for the neighboring cells based on the radio network type at that moment. Its constructor needs radio network type.

This member is deprecated. by #NeighboringCellInfo(int, String, int)

Java documentation for android.telephony.NeighboringCellInfo.NeighboringCellInfo().

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

NeighboringCellInfo(Parcel)

Initialize the object from a parcel.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public NeighboringCellInfo (Android.OS.Parcel? in);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Telephony.NeighboringCellInfo : Android.OS.Parcel -> Android.Telephony.NeighboringCellInfo

Parameters

in
Parcel
Attributes

Remarks

Initialize the object from a parcel.

Java documentation for android.telephony.NeighboringCellInfo.NeighboringCellInfo(android.os.Parcel).

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

NeighboringCellInfo(Int32, Int32)

Caution

deprecated

Initialize the object from rssi and cid.

[Android.Runtime.Register(".ctor", "(II)V", "")]
[System.Obsolete("deprecated")]
public NeighboringCellInfo (int rssi, int cid);
[<Android.Runtime.Register(".ctor", "(II)V", "")>]
[<System.Obsolete("deprecated")>]
new Android.Telephony.NeighboringCellInfo : int * int -> Android.Telephony.NeighboringCellInfo

Parameters

rssi
Int32
cid
Int32
Attributes

Remarks

Initialize the object from rssi and cid.

NeighboringCellInfo is one time shot for the neighboring cells based on the radio network type at that moment. Its constructor needs radio network type.

This member is deprecated. by #NeighboringCellInfo(int, String, int)

Java documentation for android.telephony.NeighboringCellInfo.NeighboringCellInfo(int, int).

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

NeighboringCellInfo(IntPtr, JniHandleOwnership)

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

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

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

NeighboringCellInfo(Int32, String, NetworkType)

Initialize the object from rssi, location string, and radioType radioType is one of following TelephonyManager#NETWORK_TYPE_GPRS TelephonyManager.NETWORK_TYPE_GPRS, TelephonyManager#NETWORK_TYPE_EDGE TelephonyManager.NETWORK_TYPE_EDGE, TelephonyManager#NETWORK_TYPE_UMTS TelephonyManager.NETWORK_TYPE_UMTS, TelephonyManager#NETWORK_TYPE_HSDPA TelephonyManager.NETWORK_TYPE_HSDPA, TelephonyManager#NETWORK_TYPE_HSUPA TelephonyManager.NETWORK_TYPE_HSUPA, and TelephonyManager#NETWORK_TYPE_HSPA TelephonyManager.NETWORK_TYPE_HSPA.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;I)V", "")]
public NeighboringCellInfo (int rssi, string? location, Android.Telephony.NetworkType radioType);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;I)V", "")>]
new Android.Telephony.NeighboringCellInfo : int * string * Android.Telephony.NetworkType -> Android.Telephony.NeighboringCellInfo

Parameters

rssi
Int32
location
String
radioType
NetworkType
Attributes

Remarks

Initialize the object from rssi, location string, and radioType radioType is one of following TelephonyManager#NETWORK_TYPE_GPRS TelephonyManager.NETWORK_TYPE_GPRS, TelephonyManager#NETWORK_TYPE_EDGE TelephonyManager.NETWORK_TYPE_EDGE, TelephonyManager#NETWORK_TYPE_UMTS TelephonyManager.NETWORK_TYPE_UMTS, TelephonyManager#NETWORK_TYPE_HSDPA TelephonyManager.NETWORK_TYPE_HSDPA, TelephonyManager#NETWORK_TYPE_HSUPA TelephonyManager.NETWORK_TYPE_HSUPA, and TelephonyManager#NETWORK_TYPE_HSPA TelephonyManager.NETWORK_TYPE_HSPA.

Java documentation for android.telephony.NeighboringCellInfo.NeighboringCellInfo(int, java.lang.String, int).

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