TelephonyManager.CellInfoCallback.OnCellInfo(IList<CellInfo>) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Success response to
android.telephony.TelephonyManager#requestCellInfoUpdate requestCellInfoUpdate()
.
[Android.Runtime.Register("onCellInfo", "(Ljava/util/List;)V", "GetOnCellInfo_Ljava_util_List_Handler", ApiSince=29)]
public abstract void OnCellInfo (System.Collections.Generic.IList<Android.Telephony.CellInfo> cellInfo);
[<Android.Runtime.Register("onCellInfo", "(Ljava/util/List;)V", "GetOnCellInfo_Ljava_util_List_Handler", ApiSince=29)>]
abstract member OnCellInfo : System.Collections.Generic.IList<Android.Telephony.CellInfo> -> unit
Parameters
a list of CellInfo
or an empty list.
<code data-dev-comment-type="c">android.telephony.TelephonyManager#getAllCellInfo getAllCellInfo()</code>
- Attributes
Remarks
Success response to android.telephony.TelephonyManager#requestCellInfoUpdate requestCellInfoUpdate()
.
Invoked when there is a response to android.telephony.TelephonyManager#requestCellInfoUpdate requestCellInfoUpdate()
to provide a list of CellInfo
. If no CellInfo
is available then an empty list will be provided. If an error occurs, null will be provided unless the onError callback is overridden.
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.