FileDocCategorySizeDatePackage
IPhoneSubInfo.javaAPI DocAndroid 5.1 API37228Sat Mar 14 05:48:12 GMT 2015com.android.internal.telephony

IPhoneSubInfo

public interface IPhoneSubInfo implements android.os.IInterface
Interface used to retrieve various phone-related subscriber information.

Fields Summary
Constructors Summary
Methods Summary
public java.lang.StringgetCompleteVoiceMailNumber()
Retrieves the complete voice mail number.

public java.lang.StringgetCompleteVoiceMailNumberForSubscriber(int subId)
Retrieves the complete voice mail number for particular subId

public java.lang.StringgetDeviceId()
Retrieves the unique device ID, e.g., IMEI for GSM phones.

public java.lang.StringgetDeviceIdForPhone(int phoneId)
Retrieves the unique device ID of a phone for the device, e.g., IMEI for GSM phones.

public java.lang.StringgetDeviceSvn()
Retrieves the software version number for the device, e.g., IMEI/SV for GSM phones.

public java.lang.StringgetDeviceSvnUsingSubId(int subId)
Retrieves the software version number of a subId for the device, e.g., IMEI/SV for GSM phones.

public java.lang.StringgetGroupIdLevel1()
Retrieves the Group Identifier Level1 for GSM phones.

public java.lang.StringgetGroupIdLevel1ForSubscriber(int subId)
Retrieves the Group Identifier Level1 for GSM phones of a subId.

public java.lang.StringgetIccSerialNumber()
Retrieves the serial number of the ICC, if applicable.

public java.lang.StringgetIccSerialNumberForSubscriber(int subId)
Retrieves the serial number of a given subId.

public java.lang.StringgetIccSimChallengeResponse(int subId, int appType, java.lang.String data)
Returns the response of the SIM application on the UICC to authentication challenge/response algorithm. The data string and challenge response are Base64 encoded Strings. Can support EAP-SIM, EAP-AKA with results encoded per 3GPP TS 31.102.

param
subId subscription ID to be queried
param
appType ICC application type (@see com.android.internal.telephony.PhoneConstants#APPTYPE_xxx)
param
data authentication challenge data
return
challenge response

public java.lang.StringgetImeiForSubscriber(int subId)
Retrieves the IMEI.

public java.lang.StringgetIsimChallengeResponse(java.lang.String nonce)
TODO: Deprecate and remove this interface. Superceded by getIccsimChallengeResponse. Returns the response of ISIM Authetification through RIL.

return
the response of ISIM Authetification, or null if the Authentification hasn't been successed or isn't present iphonesubinfo.

public java.lang.StringgetIsimDomain()
Returns the IMS home network domain name that was loaded from the ISIM.

return
the IMS domain name, or null if not present or not loaded

public java.lang.StringgetIsimImpi()
Returns the IMS private user identity (IMPI) that was loaded from the ISIM.

return
the IMPI, or null if not present or not loaded

public java.lang.String[]getIsimImpu()
Returns the IMS public user identities (IMPU) that were loaded from the ISIM.

return
an array of IMPU strings, with one IMPU per string, or null if not present or not loaded

public java.lang.StringgetIsimIst()
Returns the IMS Service Table (IST) that was loaded from the ISIM.

return
IMS Service Table or null if not present or not loaded

public java.lang.String[]getIsimPcscf()
Returns the IMS Proxy Call Session Control Function(PCSCF) that were loaded from the ISIM.

return
an array of PCSCF strings with one PCSCF per string, or null if not present or not loaded

public java.lang.StringgetLine1AlphaTag()
Retrieves the alpha identifier for line 1.

public java.lang.StringgetLine1AlphaTagForSubscriber(int subId)
Retrieves the alpha identifier for line 1 of a subId.

public java.lang.StringgetLine1Number()
Retrieves the phone number string for line 1.

public java.lang.StringgetLine1NumberForSubscriber(int subId)
Retrieves the phone number string for line 1 of a subcription.

public java.lang.StringgetMsisdn()
Retrieves MSISDN Number.

public java.lang.StringgetMsisdnForSubscriber(int subId)
Retrieves the Msisdn of a subId.

public java.lang.StringgetNaiForSubscriber(int subId)
Retrieves the unique Network Access ID

public java.lang.StringgetSubscriberId()
Retrieves the unique sbuscriber ID, e.g., IMSI for GSM phones.

public java.lang.StringgetSubscriberIdForSubscriber(int subId)
Retrieves the unique subscriber ID of a given subId, e.g., IMSI for GSM phones.

public java.lang.StringgetVoiceMailAlphaTag()
Retrieves the alpha identifier associated with the voice mail number.

public java.lang.StringgetVoiceMailAlphaTagForSubscriber(int subId)
Retrieves the alpha identifier associated with the voice mail number of a subId.

public java.lang.StringgetVoiceMailNumber()
Retrieves the voice mail number.

public java.lang.StringgetVoiceMailNumberForSubscriber(int subId)
Retrieves the voice mail number of a given subId.