Returns a constant indicating the type of activity on a data connection (cellular). Return DATA_ACTIVITY_NONE Return DATA_ACTIVITY_IN Return DATA_ACTIVITY_OUT Return DATA_ACTIVITY_INOUT Return DATA_ACTIVITY_DORMANT Example: DimsimAsSimCard DimtornaAsString torna = sim.GetDataActivity
GetDataStateAsString
Returns a constant indicating the current data connection state (cellular). Return DATA_DISCONNECTED Return DATA_CONNECTING Return DATA_CONNECTED Return DATA_SUSPENDED Example: DimsimAsSimCard DimtornaAsString torna = sim.GetDataState
GetLine1NumberAsString
Reads NumberPhone-1 and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetLine1Number
GetLine2NumberAsString
Reads NumberPhone-2 and returns its content as a string. Example: Note: Utilizesim.IsDualSIM DimsimAsSimCard DimtextAsString text = sim.GetLine2Number
GetMmsAgentAsString
Reads MMS user Agent and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetMmsAgent
GetMmsURLAsString
Reads MMS user Agent profile URL and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetMmsURL
GetNetworkCountryIsoAsString
Returns the ISO country code equivalent of the current registered operator's MCC (Mobile Country Code) and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetNetworkCountryIso
GetNetworkOperatorAsString
Returns the numeric name (MCC+MNC) of current registered operator and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetNetworkOperator
GetNetworkOperatorNameAsString
Returns the operator name (MCC+MNC) of current registered operator and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetNetworkOperator
GetPhoneTypeAsString
Returns a constant indicating the device phone type. This indicates the type of radio used to transmit voice calls. Return PHONE_TYPE_NONE Return PHONE_TYPE_GSM Return PHONE_TYPE_CDMA Return PHONE_TYPE_SIP Example: DimsimAsSimCard DimtornaAsString torna = sim.GetPhoneType
GetSimCountryIsoAsString
Returns the ISO country code equivalent for the SIM provider's country code and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetSimCountryIso
GetSimOperatorAsString
Returns the MCC+MNC (mobile country code + mobile network code) of the provider of the SIM. and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetSimOperator
GetSimOperatorNameAsString
Returns the Service Provider Name (SPN) and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetSimOperatorName
GetSimSerialNumber1AsString
Returns the serial number of the SIM, if applicable and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetSimSerialNumber
GetSimSerialNumber2AsString
Returns the serial number of the SIM-2, if applicable and returns its content as a string. Example: Note: Utilizesim.IsDualSIM DimsimAsSimCard DimtextAsString text = sim.GetSimSerialNumber
GetSimStateAsString
Returns a constant indicating the state of the device SIM card. Return SIM_STATE_UNKNOWN Return SIM_STATE_ABSENT - SIM card state: no SIM card is available in the device Return SIM_STATE_PIN_REQUIRED - SIM card state: Locked: requires the user's SIM PIN to unlock Return SIM_STATE_PUK_REQUIRED - SIM card state: Locked: requires the user's SIM PUK to unlock Return SIM_STATE_NETWORK_LOCKED - SIM card state: Locked: requries a network PIN to unlock Return SIM_STATE_READY Example: DimsimAsSimCard DimtornaAsString torna = sim.GetSimState
GetSubscriberIdAsString
Returns the unique subscriber ID, for example, the IMSI for a GSM phone and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetSubscriberId
GetVoiceMailAlphaTagAsString
Retrieves the alphabetic identifier associated with the voice mail number and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetVoiceMailAlphaTag
GetVoiceMailNumberAsString
Returns the voice mail number and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.GetVoiceMailNumber
HasIccCardAsBoolean
Returns true if a ICC card is present. Example: DimsimAsSimCard DimveroAsboolean vero = sim.HasIccCard
ImeiAsString
Reads IMEI for GSM and the MEDI or ESN for CDMA phones and returns its content as a string. Example: DimsimAsSimCard DimtextAsString text = sim.Imei
Imei2AsString
Reads IMEI2 for GSM and the MEDI or ESN for CDMA phones and returns its content as a string. Note: Utilize sim.IsDualSIM and IsSIM2Ready Example: DimsimAsSimCard DimtextAsString text = sim.Imei2
Check if is DUAL SIM. Example: DimsimAsSimCard DimveroAsboolean vero = sim.IsDualSIM
IsNetworkRoamingAsBoolean
Returns true if the device is considered roaming on the current network, for GSM purposes. Example: DimsimAsSimCard DimveroAsboolean vero = sim.IsNetworkRoamingTop