本文整理汇总了Java中org.chromium.net.ProxyChangeListener类的典型用法代码示例。如果您正苦于以下问题:Java ProxyChangeListener类的具体用法?Java ProxyChangeListener怎么用?Java ProxyChangeListener使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ProxyChangeListener类属于org.chromium.net包,在下文中一共展示了ProxyChangeListener类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onReceive
import org.chromium.net.ProxyChangeListener; //导入依赖的package包/类
public final void onReceive(Context paramContext, Intent paramIntent)
{
if (paramIntent.getAction().equals("android.intent.action.PROXY_CHANGE")) {
ProxyChangeListener.a(this.a, a(paramIntent));
}
}
示例2: enablePlatformNotifications
import org.chromium.net.ProxyChangeListener; //导入依赖的package包/类
/**
* Enables platform notifications of data state and proxy changes.
* Notifications are enabled by default.
*/
public static void enablePlatformNotifications() {
ProxyChangeListener.setEnabled(true);
}
示例3: disablePlatformNotifications
import org.chromium.net.ProxyChangeListener; //导入依赖的package包/类
/**
* Disables platform notifications of data state and proxy changes.
* Notifications are enabled by default.
*/
public static void disablePlatformNotifications() {
ProxyChangeListener.setEnabled(false);
}
示例4: disablePlatformNotifications
import org.chromium.net.ProxyChangeListener; //导入依赖的package包/类
/**
* Disables platform notifications of data state and proxy changes.
* Notifications are enabled by default.
*/
public static void disablePlatformNotifications () {
ProxyChangeListener.setEnabled(false);
}
示例5: rjk
import org.chromium.net.ProxyChangeListener; //导入依赖的package包/类
public rjk(ProxyChangeListener paramProxyChangeListener) {}