/**
* Returns all observed cell information from all radios on the device including the primary and
* neighboring cells. Calling this method does not trigger a call to onCellInfoChanged(), or change
* the rate at which onCellInfoChanged() is called.
*/
private void getAllCellInfos(){
if(_telephonyManager != null && Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) {
final List<CellInfo> cellInfos = _telephonyManager.getAllCellInfo();
processCellInfos(cellInfos);
}
else {
Log.w(TAG, "Unable to provide cell info due to version restriction");
}
}
CellLocationController.java 文件源码
java
阅读 30
收藏 0
点赞 0
评论 0
项目:localcloud_fe
作者:
评论列表
文章目录