本文整理汇总了Java中org.chromium.chrome.browser.instantapps.InstantAppsBannerData类的典型用法代码示例。如果您正苦于以下问题:Java InstantAppsBannerData类的具体用法?Java InstantAppsBannerData怎么用?Java InstantAppsBannerData使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
InstantAppsBannerData类属于org.chromium.chrome.browser.instantapps包,在下文中一共展示了InstantAppsBannerData类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: InstantAppsInfoBar
import org.chromium.chrome.browser.instantapps.InstantAppsBannerData; //导入依赖的package包/类
protected InstantAppsInfoBar(InstantAppsBannerData data) {
super(0, data.getIcon(), data.getAppName(), null, null, null);
mData = data;
}
示例2: create
import org.chromium.chrome.browser.instantapps.InstantAppsBannerData; //导入依赖的package包/类
@CalledByNative
private static InfoBar create(InstantAppsBannerData data) {
return new InstantAppsInfoBar(data);
}
示例3: launch
import org.chromium.chrome.browser.instantapps.InstantAppsBannerData; //导入依赖的package包/类
public static void launch(InstantAppsBannerData data) {
nativeLaunch(data.getWebContents(), data, data.getUrl());
}
示例4: openInstantApp
import org.chromium.chrome.browser.instantapps.InstantAppsBannerData; //导入依赖的package包/类
@CalledByNative
private void openInstantApp(InstantAppsBannerData data) {
InstantAppsHandler.getInstance().launchFromBanner(data);
}
示例5: nativeLaunch
import org.chromium.chrome.browser.instantapps.InstantAppsBannerData; //导入依赖的package包/类
private static native void nativeLaunch(WebContents webContents, InstantAppsBannerData data,
String url);
示例6: InstantAppsInfoBar
import org.chromium.chrome.browser.instantapps.InstantAppsBannerData; //导入依赖的package包/类
protected InstantAppsInfoBar(InstantAppsBannerData data) {
super(0, data.getIcon(), data.getAppName(), null, data.getPrimaryActionLabel(), null);
mData = data;
}