Save the date! Android Dev Summit is coming to Mountain View, CA on November 7-8, 2018.

SplitInstallSessionState

public final class SplitInstallSessionState
extends Object

java.lang.Object
   ↳ com.google.android.play.core.splitinstall.SplitInstallSessionState


Current state of a split download/install session.

Summary

Public methods

long bytesDownloaded()
int errorCode()
List<String> moduleNames()
PendingIntent resolutionIntent()

Returns the PendingIntent to trigger the user confirmation dialog when required.

int sessionId()
int status()
String toString()
long totalBytesToDownload()

Inherited methods

From class java.lang.Object

Public methods

bytesDownloaded

long bytesDownloaded ()

Returns
long

errorCode

int errorCode ()

Returns
int

moduleNames

List<String> moduleNames ()

Returns
List<String>

resolutionIntent

PendingIntent resolutionIntent ()

Returns the PendingIntent to trigger the user confirmation dialog when required.

The intent should be triggered via startIntentSender(IntentSender, Intent, int, int, int).

Non-null only if the status() is REQUIRES_USER_CONFIRMATION.

Returns
PendingIntent

sessionId

int sessionId ()

Returns
int

status

int status ()

Returns
int

toString

String toString ()

Returns
String

totalBytesToDownload

long totalBytesToDownload ()

Returns
long