ModuleAvailabilityResponse.AvailabilityStatus

@Retention(value = RetentionPolicy.CLASS)
@IntDef(value = [AvailabilityStatus.STATUS_ALREADY_AVAILABLE, AvailabilityStatus.STATUS_READY_TO_DOWNLOAD, AvailabilityStatus.STATUS_UNKNOWN_MODULE])
public annotation ModuleAvailabilityResponse.AvailabilityStatus


The current install state for the install request.

Summary

Constants

static final int

All the modules requested are already present on device.

static final int

There are modules requested not present on device, but they can be downloaded via an install request.

static final int

There are modules requested that cannot be recognized.

Constants

STATUS_ALREADY_AVAILABLE

public static final int STATUS_ALREADY_AVAILABLE = 0

All the modules requested are already present on device.

STATUS_READY_TO_DOWNLOAD

public static final int STATUS_READY_TO_DOWNLOAD = 1

There are modules requested not present on device, but they can be downloaded via an install request.

STATUS_UNKNOWN_MODULE

public static final int STATUS_UNKNOWN_MODULE = 2

There are modules requested that cannot be recognized. You can still still try to download the modules via an install request, but it's not guaranteed the modules can be downloaded.