public interface IStub
You should get a proxy object that implements this interface by calling
DownloaderClientMarshaller.CreateStub(com.google.android.vending.expansion.downloader.IDownloaderClient, java.lang.Class<?>) in your activity when the
downloader service starts. Then, call connect(android.content.Context) during your activity's
onResume() and call disconnect(android.content.Context) during onStop().
Then during the IDownloaderClient.onServiceConnected(android.os.Messenger) callback, you
should call getMessenger() to pass the stub's Messenger object to
IDownloaderService.onClientUpdated(android.os.Messenger).
| Modifier and Type | Method and Description |
|---|---|
void |
connect(android.content.Context c) |
void |
disconnect(android.content.Context c) |
android.os.Messenger |
getMessenger() |
Copyright © 2012–2014 simpligility technologies inc.. All rights reserved.