本文整理匯總了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;
}