public class ApkFileRequest extends GetFileRequest
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<ApkFileRequest> |
CREATOR |
Modifier | Constructor and Description |
---|---|
protected |
ApkFileRequest(android.os.Parcel in) |
|
ApkFileRequest(java.lang.String packageName,
java.lang.String url,
java.lang.String filename,
java.lang.String dir,
int notificationId,
boolean install,
boolean silent,
java.lang.String hash,
BasicUserCredentials creds) |
Modifier and Type | Method and Description |
---|---|
Request |
createGetFileRequest()
Create the request to download the file.
|
int |
describeContents() |
java.lang.String |
getHash() |
java.lang.String |
getPackageName() |
boolean |
hasHash() |
boolean |
isInstall() |
boolean |
isSilent() |
boolean |
isValid() |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
getCredentials, getCredentialType, getDir, getFile, getFileName, getNotificationId, getTrustStoreType, getUrl, hasCredentials, setCredentials, setFileName, toString, useTruststore
public static final android.os.Parcelable.Creator<ApkFileRequest> CREATOR
public ApkFileRequest(java.lang.String packageName, java.lang.String url, java.lang.String filename, java.lang.String dir, int notificationId, boolean install, boolean silent, java.lang.String hash, BasicUserCredentials creds)
protected ApkFileRequest(android.os.Parcel in)
public java.lang.String getPackageName()
public boolean isSilent()
public boolean isInstall()
public java.lang.String getHash()
public boolean hasHash()
public boolean isValid()
isValid
in class GetFileRequest
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class GetFileRequest
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class GetFileRequest
public Request createGetFileRequest()
GetFileRequest
createGetFileRequest
in class GetFileRequest