com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller Java Examples

The following examples show how to use com.google.android.vending.expansion.downloader.DownloaderServiceMarshaller. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: ExpansionActivity.java    From travelguide with Apache License 2.0 5 votes vote down vote up
@Override
public void onServiceConnected(Messenger m)
{
  mRemoteService = DownloaderServiceMarshaller.CreateProxy(m);
  mRemoteService.onClientUpdated(mDownloaderClientStub.getMessenger());
  mRemoteService.requestDownloadStatus();
}
 
Example #2
Source File: AliteStartManager.java    From Alite with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void onServiceConnected(Messenger m) {
	remoteService = DownloaderServiceMarshaller.CreateProxy(m);
    remoteService.onClientUpdated(downloaderClientStub.getMessenger());
}
 
Example #3
Source File: SampleDownloaderActivity.java    From play-apk-expansion with Apache License 2.0 2 votes vote down vote up
/**
 * 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());
}