PhoneLineCellularDetails PhoneLineCellularDetails PhoneLineCellularDetails PhoneLineCellularDetails Class

Definition

Provides detailed interaction with the cellular components of a phone line.

public : sealed class PhoneLineCellularDetails : IPhoneLineCellularDetailspublic sealed class PhoneLineCellularDetails : IPhoneLineCellularDetailsPublic NotInheritable Class PhoneLineCellularDetails Implements IPhoneLineCellularDetails// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v1)

Properties

IsModemOn IsModemOn IsModemOn IsModemOn

Indicates if the modem for this phone line is on.

public : PlatForm::Boolean IsModemOn { get; }public bool IsModemOn { get; }Public ReadOnly Property IsModemOn As bool// You can use this property in JavaScript.
Value
PlatForm::Boolean bool bool bool

True if the modem is on; otherwise false.

RegistrationRejectCode RegistrationRejectCode RegistrationRejectCode RegistrationRejectCode

Gets the registration reject code for the phone line.

public : int RegistrationRejectCode { get; }public int RegistrationRejectCode { get; }Public ReadOnly Property RegistrationRejectCode As int// You can use this property in JavaScript.
Value
int int int int

The registration reject code for the phone line.

SimSlotIndex SimSlotIndex SimSlotIndex SimSlotIndex

Get the slot index of the SIM card associated with a cellular phone line.

public : int SimSlotIndex { get; }public int SimSlotIndex { get; }Public ReadOnly Property SimSlotIndex As int// You can use this property in JavaScript.
Value
int int int int

The slot index of the SIM card associated with a cellular phone line.

SimState SimState SimState SimState

Gets the state of the SIM card associated with a cellular phone line.

public : PhoneSimState SimState { get; }public PhoneSimState SimState { get; }Public ReadOnly Property SimState As PhoneSimState// You can use this property in JavaScript.
Value
PhoneSimState PhoneSimState PhoneSimState PhoneSimState

The state of the SIM card associated with a cellular phone line.

Methods

GetNetworkOperatorDisplayText(PhoneLineNetworkOperatorDisplayTextLocation) GetNetworkOperatorDisplayText(PhoneLineNetworkOperatorDisplayTextLocation) GetNetworkOperatorDisplayText(PhoneLineNetworkOperatorDisplayTextLocation) GetNetworkOperatorDisplayText(PhoneLineNetworkOperatorDisplayTextLocation)

Retrieves the appropriate connection string to display to the user.

public : PlatForm::String GetNetworkOperatorDisplayText(PhoneLineNetworkOperatorDisplayTextLocation location)public string GetNetworkOperatorDisplayText(PhoneLineNetworkOperatorDisplayTextLocation location)Public Function GetNetworkOperatorDisplayText(location As PhoneLineNetworkOperatorDisplayTextLocation) As string// You can use this method in JavaScript.
Parameters
Returns
PlatForm::String string string string

The text string to display in the given location.