2016-03-02 144 views

回答

1

Th term'PhoneType'在這裏肯定是令人困惑 - 它似乎實際上意味着手機當前充當的設備類型。對於「getCurrentPhoneType」

TelephonyManager.getPhoneType 

電話

getCurrentPhoneType(getDefaultSubscription()) 

的評論表明,它返回的設備類型特定訂閱:那麼在同一個物理的電話可以爲不同的訂閱數據有出入

/** 
* Returns a constant indicating the device phone type for a subscription. 
* 
* @see #PHONE_TYPE_NONE 
* @see #PHONE_TYPE_GSM 
* @see #PHONE_TYPE_CDMA 
* 
* @param subId for which phone type is returned 
*/ 
相關問題