设为首页 加入收藏

TOP

Android 结束通话--实现黑名单拦截(三)
2014-11-24 00:08:15 来源: 作者: 【 】 浏览:25
Tags:Android 结束 通话 实现 黑名单 拦截
mation in service state
*/
void updateServiceLocation();


/**
* Enable location update notifications.
*/
void enableLocationUpdates();


/**
* Disable location update notifications.
*/
void disableLocationUpdates();


/**
* Enable a specific APN type.
*/
int enableApnType(String type);


/**
* Disable a specific APN type.
*/
int disableApnType(String type);


/**
* Allow mobile data connections.
*/
boolean enableDataConnectivity();


/**
* Disallow mobile data connections.
*/
boolean disableDataConnectivity();


/**
* Report whether data connectivity is possible.
*/
boolean isDataConnectivityPossible();


Bundle getCellLocation();


/**
* Returns the neighboring cell information of the device.
*/
List getNeighboringCellInfo();


int getCallState();
int getDataActivity();
int getDataState();


/**
* Returns the current active phone type as integer.
* Returns TelephonyManager.PHONE_TYPE_CDMA if RILConstants.CDMA_PHONE
* and TelephonyManager.PHONE_TYPE_GSM if RILConstants.GSM_PHONE
*/
int getActivePhoneType();


/**
* Returns the CDMA ERI icon index to display
*/
int getCdmaEriIconIndex();


/**
* Returns the CDMA ERI icon mode,
* 0 - ON
* 1 - FLASHING
*/
int getCdmaEriIconMode();


/**
* Returns the CDMA ERI text,
*/
String getCdmaEriText();


/**
* Returns true if CDMA provisioning needs to run.
*/
boolean getCdmaNeedsProvisioning();


/**
* Returns the unread count of voicemails
*/
int getVoiceMessageCount();


/**
* Returns the network type
*/
int getNetworkType();

/**
* Return true if an ICC card is present
*/
boolean hasIccCard();
}


首页 上一页 1 2 3 下一页 尾页 3/3/3
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Android 欢迎界面设置 下一篇Python 之 paramiko 模块

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容: