java类android.telephony.CarrierConfigManager的实例源码

Managers.java 文件源码 项目:EasyAndroid 阅读 22 收藏 0 点赞 0 评论 0
/**
 * 返回 {@link CarrierConfigManager}
 */
public static CarrierConfigManager getCarrierConfigManager()
{
    return (CarrierConfigManager) get(CARRIER_CONFIG_SERVICE);
}
ServiceUtil.java 文件源码 项目:Android-App-Template 阅读 34 收藏 0 点赞 0 评论 0
@TargetApi(23)
public static CarrierConfigManager getCarrierConfigManager() {
    return (CarrierConfigManager) getSystemService(Context.CARRIER_CONFIG_SERVICE);
}
Managers.java 文件源码 项目:sprockets-android 阅读 20 收藏 0 点赞 0 评论 0
/**
 * @since 4.0.0
 */
public static CarrierConfigManager carrierConfig(Context context) {
    return (CarrierConfigManager) context.getSystemService(CARRIER_CONFIG_SERVICE);
}
SystemServices.java 文件源码 项目:android_Skeleton 阅读 40 收藏 0 点赞 0 评论 0
@TargetApi(AndroidHelper.API_23)
public static CarrierConfigManager carrierConfigManager() {
    return (CarrierConfigManager) get(Context.CARRIER_CONFIG_SERVICE);
}
ContextUtils.java 文件源码 项目:android-wheels 阅读 26 收藏 0 点赞 0 评论 0
/**
 * Obtain a {@link CarrierConfigManager} instance associated with specified {@link Context}
 *
 * @param context Context
 * @return {@link CarrierConfigManager} associated with specified {@link Context}
 * @throws InvalidContextException if {@link CarrierConfigManager} can't be obtained
 *                                 from specified {@link Context}
 */
@NonNull
@RequiresApi(Build.VERSION_CODES.M)
public static CarrierConfigManager getCarrierConfigManager(@NonNull Context context) {
    return validate(context.getSystemService(Context.CARRIER_CONFIG_SERVICE));
}


问题


面经


文章

微信
公众号

扫码关注公众号