本文整理匯總了Java中org.chromium.webshare.mojom.ShareService類的典型用法代碼示例。如果您正苦於以下問題:Java ShareService類的具體用法?Java ShareService怎麽用?Java ShareService使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
ShareService類屬於org.chromium.webshare.mojom包,在下文中一共展示了ShareService類的3個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: createImpl
import org.chromium.webshare.mojom.ShareService; //導入依賴的package包/類
@Override
public ShareService createImpl() {
return new ShareServiceImpl(mWebContents);
}
開發者ID:rkshuai,項目名稱:chromium-for-android-56-debug-video,代碼行數:5,代碼來源:ShareServiceImplementationFactory.java
示例2: registerInterfaces
import org.chromium.webshare.mojom.ShareService; //導入依賴的package包/類
@Override
public void registerInterfaces(InterfaceRegistry registry, final WebContents webContents) {
registry.addInterface(PaymentRequest.MANAGER, new PaymentRequestFactory(webContents));
registry.addInterface(
ShareService.MANAGER, new ShareServiceImplementationFactory(webContents));
}
示例3: registerInterfaces
import org.chromium.webshare.mojom.ShareService; //導入依賴的package包/類
@Override
public void registerInterfaces(InterfaceRegistry registry, final WebContents webContents) {
registry.addInterface(
ShareService.MANAGER, new ShareServiceImplementationFactory(webContents));
}