Android Dev Summit, October 23-24: two days of technical content, directly from the Android team. Sign-up for livestream updates.

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> languages()

Returns session languages.

List<String> moduleNames()
PendingIntent resolutionIntent()

This method is deprecated. please use startConfirmationDialogForResult(SplitInstallSessionState, Activity, int) instead.

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

languages

List<String> languages ()

Returns session languages.

Returns
List<String>

moduleNames

List<String> moduleNames ()

Returns
List<String>

resolutionIntent

PendingIntent resolutionIntent ()

This method is deprecated.
please use startConfirmationDialogForResult(SplitInstallSessionState, Activity, int) instead.

Returns
PendingIntent

sessionId

int sessionId ()

Returns
int

status

int status ()

Returns
int

toString

String toString ()

Returns
String

totalBytesToDownload

long totalBytesToDownload ()

Returns
long