1 /* 2 * Copyright (C) 2007 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 package com.android.internal.telephony; 18 19 /** 20 * Interface used to retrieve various phone-related subscriber information. 21 * 22 */ 23 interface IPhoneSubInfo { 24 25 /** 26 * Retrieves the unique device ID, e.g., IMEI for GSM phones. 27 */ getDeviceId()28 String getDeviceId(); 29 30 /** 31 * Retrieves the software version number for the device, e.g., IMEI/SV 32 * for GSM phones. 33 */ getDeviceSvn()34 String getDeviceSvn(); 35 36 /** 37 * Retrieves the unique sbuscriber ID, e.g., IMSI for GSM phones. 38 */ getSubscriberId()39 String getSubscriberId(); 40 41 /** 42 * Retrieves the serial number of the ICC, if applicable. 43 */ getIccSerialNumber()44 String getIccSerialNumber(); 45 46 /** 47 * Retrieves the phone number string for line 1. 48 */ getLine1Number()49 String getLine1Number(); 50 51 /** 52 * Retrieves the alpha identifier for line 1. 53 */ getLine1AlphaTag()54 String getLine1AlphaTag(); 55 56 /** 57 * Retrieves the voice mail number. 58 */ getVoiceMailNumber()59 String getVoiceMailNumber(); 60 61 /** 62 * Retrieves the alpha identifier associated with the voice mail number. 63 */ getVoiceMailAlphaTag()64 String getVoiceMailAlphaTag(); 65 } 66