ModuleAvailabilityResponse

Stay organized with collections Save and categorize content based on your preferences.
public class ModuleAvailabilityResponse extends Object
implements Parcelable

Response returned from ModuleInstallClient.areModulesAvailable(OptionalModuleApi) indicating whether the requested modules are already present on device.

Nested Class Summary

@interface ModuleAvailabilityResponse.AvailabilityStatus The current install state for the install request. 

Inherited Constant Summary

Field Summary

public static final Creator<ModuleAvailabilityResponse> CREATOR

Public Method Summary

boolean
areModulesAvailable()
Returns true if the requested modules are already present, false otherwise.
int
void
writeToParcel(Parcel parcel, int i)

Inherited Method Summary

Fields

public static final Creator<ModuleAvailabilityResponse> CREATOR

Public Methods

public boolean areModulesAvailable ()

Returns true if the requested modules are already present, false otherwise.

public int getAvailabilityStatus ()

Returns the ModuleAvailabilityResponse.AvailabilityStatus for the requested modules.

public void writeToParcel (Parcel parcel, int i)