美文网首页
高通平台双卡管理接口

高通平台双卡管理接口

作者: 安安爸Chris | 来源:发表于2017-12-12 20:08 被阅读0次

    背景: 在Android5.1之前,api中对双卡管理没有很好的支持。各个厂商都是各自自己实现的。 所以在实现5.1之前版本的双卡管理能力,需要参考各家的

    定义在android.telephony.MSimTelephonyManager中,其中的方法都可以通过反射调用。

    public int android.telephony.MSimTelephonyManager.getCallState(int)
    public int android.telephony.MSimTelephonyManager.getCdmaEriIconIndex(int)
    public int android.telephony.MSimTelephonyManager.getCdmaEriIconMode(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getCdmaEriText(int)
    public static java.lang.String android.telephony.MSimTelephonyManager.getCdmaNetworkTypeName(int)
    public android.telephony.CellLocation android.telephony.MSimTelephonyManager.getCellLocation(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getCompleteVoiceMailNumber(int)
    public int android.telephony.MSimTelephonyManager.getCurrentPhoneType(int)
    public int android.telephony.MSimTelephonyManager.getDataActivity()
    public static int android.telephony.MSimTelephonyManager.getDataNetworkType(int)
    public int android.telephony.MSimTelephonyManager.getDataState()
    public static android.telephony.MSimTelephonyManager android.telephony.MSimTelephonyManager.getDefault()
    public int android.telephony.MSimTelephonyManager.getDefaultSubscription()
    public java.lang.String android.telephony.MSimTelephonyManager.getDeviceId(int)
    public boolean android.telephony.MSimTelephonyManager.getHWSimLockStatus(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getLine1AlphaTag(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getLine1Number(int)
    public int android.telephony.MSimTelephonyManager.getLteOnCdmaMode(int)
    public int android.telephony.MSimTelephonyManager.getMmsAutoSetDataSubscription()
    public java.lang.String android.telephony.MSimTelephonyManager.getNetworkCountryIso()
    public java.lang.String android.telephony.MSimTelephonyManager.getNetworkCountryIso(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getNetworkOperator()
    public java.lang.String android.telephony.MSimTelephonyManager.getNetworkOperator(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getNetworkOperatorName()
    public java.lang.String android.telephony.MSimTelephonyManager.getNetworkOperatorName(int)
    public int android.telephony.MSimTelephonyManager.getNetworkRoamingCT()
    public static int android.telephony.MSimTelephonyManager.getNetworkType(int)
    public static java.lang.String android.telephony.MSimTelephonyManager.getNetworkTypeNameCT(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getPesn(int)
    public int android.telephony.MSimTelephonyManager.getPhoneCount()
    public int android.telephony.MSimTelephonyManager.getPreferredDataSubscription()
    public int android.telephony.MSimTelephonyManager.getPreferredSmsSubscription()
    public int android.telephony.MSimTelephonyManager.getPreferredVoiceSubscription()
    public java.lang.String android.telephony.MSimTelephonyManager.getSimCountryIso()
    public java.lang.String android.telephony.MSimTelephonyManager.getSimCountryIso(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getSimOperator()
    public java.lang.String android.telephony.MSimTelephonyManager.getSimOperator(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getSimOperatorName()
    public java.lang.String android.telephony.MSimTelephonyManager.getSimOperatorName(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getSimSerialNumber(int)
    public int android.telephony.MSimTelephonyManager.getSimState()
    public int android.telephony.MSimTelephonyManager.getSimState(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getSubscriberId(int)
    public static java.lang.String android.telephony.MSimTelephonyManager.getTelephonyProperty(java.lang.String,int,java.lang.String)
    public java.lang.String android.telephony.MSimTelephonyManager.getVoiceMailAlphaTag(int)
    public java.lang.String android.telephony.MSimTelephonyManager.getVoiceMailNumber(int)
    public int android.telephony.MSimTelephonyManager.getVoiceMessageCount(int)
    public static int android.telephony.MSimTelephonyManager.getVoiceNetworkType(int)
    public static java.lang.String android.telephony.MSimTelephonyManager.getVoiceNetworkTypeName(int)
    public boolean android.telephony.MSimTelephonyManager.hasIccCard(int)
    public boolean android.telephony.MSimTelephonyManager.isNetworkRoaming()
    public boolean android.telephony.MSimTelephonyManager.isNetworkRoaming(int)
    public void android.telephony.MSimTelephonyManager.listen(android.telephony.PhoneStateListener,int)
    public boolean android.telephony.MSimTelephonyManager.setMmsAutoSetDataSubscription(int)
    public boolean android.telephony.MSimTelephonyManager.setPreferredDataSubscription(int)
    public static void android.telephony.MSimTelephonyManager.setTelephonyProperty(java.lang.String,int,java.lang.String)

    相关文章

      网友评论

          本文标题:高通平台双卡管理接口

          本文链接:https://www.haomeiwen.com/subject/xoznixtx.html