|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.android.sdklib.repository.local.UpdateResult
public final class UpdateResult
Results from Update.computeUpdates(LocalPkgInfo[], com.google.common.collect.Multimap)
.
Constructor Summary | |
---|---|
UpdateResult()
|
Method Summary | |
---|---|
java.util.Set<RemotePkgInfo> |
getNewPkgs()
Returns the set of new remote packages that are not locally present and that the user could install. |
long |
getTimestampMs()
Returns the timestamp (in System.currentTimeMillis() time) when this object was created. |
java.util.Set<LocalPkgInfo> |
getUpdatedPkgs()
Returns the set of packages that have local updates available. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UpdateResult()
Method Detail |
---|
public long getTimestampMs()
System.currentTimeMillis()
time) when this object was created.
@NonNull public java.util.Set<LocalPkgInfo> getUpdatedPkgs()
LocalPkgInfo.getUpdate()
to retrieve the computed updated candidate.
@NonNull public java.util.Set<RemotePkgInfo> getNewPkgs()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |