Udostępnij za pośrednictwem


ServiceState.ChannelNumber Property

Definition

Get the channel number of the current primary serving cell, or -1 if unknown

public virtual int ChannelNumber { [Android.Runtime.Register("getChannelNumber", "()I", "GetGetChannelNumberHandler", ApiSince=28)] get; }
[<get: Android.Runtime.Register("getChannelNumber", "()I", "GetGetChannelNumberHandler", ApiSince=28)>]
member this.ChannelNumber : int

Property Value

Channel number of primary serving cell

Attributes

Remarks

Get the channel number of the current primary serving cell, or -1 if unknown

This is NRARFCN for NR, EARFCN for LTE, UARFCN for UMTS, and ARFCN for GSM.

Java documentation for android.telephony.ServiceState.getChannelNumber().

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