当前位置: 首页>>代码示例>>Java>>正文


Java DownloaderServiceMarshaller类代码示例

本文整理汇总了Java中com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller的典型用法代码示例。如果您正苦于以下问题:Java DownloaderServiceMarshaller类的具体用法?Java DownloaderServiceMarshaller怎么用?Java DownloaderServiceMarshaller使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


DownloaderServiceMarshaller类属于com.google.android.vending.expansion.downloader包,在下文中一共展示了DownloaderServiceMarshaller类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: onServiceConnected

import com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller; //导入依赖的package包/类
@Override
public void onServiceConnected(Messenger m) {
    Timber.d("SERVICE CONNECTED");

    mRemoteService = DownloaderServiceMarshaller.CreateProxy(m);
    mRemoteService.onClientUpdated(mDownloaderClientStub.getMessenger());

    Timber.d("PROXY CREATED, GOT MESSENGER");
}
 
开发者ID:StoryMaker,项目名称:storypath,代码行数:10,代码来源:LigerDownloadActivity.java

示例2: onServiceConnected

import com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller; //导入依赖的package包/类
@Override
public void onServiceConnected(Messenger m) {
    mRemoteService = DownloaderServiceMarshaller.CreateProxy(m);
    mRemoteService.onClientUpdated(mDownloaderClientStub.getMessenger());
    Log.i("APKExpansionDownloader", "ServiceConnected");
}
 
开发者ID:cclink,项目名称:ObbDownloadHelper,代码行数:7,代码来源:ObbDownloadHelper.java

示例3: onServiceConnected

import com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller; //导入依赖的package包/类
@Override
public void onServiceConnected(Messenger m) {
	remoteService = DownloaderServiceMarshaller.CreateProxy(m);
    remoteService.onClientUpdated(downloaderClientStub.getMessenger());
}
 
开发者ID:CmdrStardust,项目名称:Alite,代码行数:6,代码来源:AliteStartManager.java

示例4: onServiceConnected

import com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller; //导入依赖的package包/类
@Override
public void onServiceConnected(Messenger m) {
	mRemoteService = DownloaderServiceMarshaller.CreateProxy(m);
    mRemoteService.onClientUpdated(mDownloaderClientStub.getMessenger());

}
 
开发者ID:museumsvictoria,项目名称:mv-fieldguide-android,代码行数:7,代码来源:SplashActivity.java

示例5: onServiceConnected

import com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller; //导入依赖的package包/类
@Override
public void onServiceConnected(Messenger messenger) {

    mRemoteService = DownloaderServiceMarshaller.CreateProxy(messenger);
    mRemoteService.onClientUpdated(XAPKContext.stub.getMessenger());
}
 
开发者ID:alebianco,项目名称:ANE-Android-Expansion,代码行数:7,代码来源:DownloaderClient.java

示例6: onServiceConnected

import com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller; //导入依赖的package包/类
/**
 * Critical implementation detail. In onServiceConnected we create the
 * remote service and marshaler. This is how we pass the client information
 * back to the service so the client can be properly notified of changes. We
 * must do this every time we reconnect to the service.
 */
@Override
public void onServiceConnected(Messenger m) {
    mRemoteService = DownloaderServiceMarshaller.CreateProxy(m);
    mRemoteService.onClientUpdated(mDownloaderClientStub.getMessenger());
}
 
开发者ID:FallingUpGame,项目名称:FallingUp,代码行数:12,代码来源:DownloaderActivity.java


注:本文中的com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。