public class FileTransfer
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COT_HOW |
static java.lang.String |
COT_TYPE |
static android.os.Parcelable.Creator<FileTransfer> |
CREATOR |
static java.lang.String |
TAG |
Modifier | Constructor and Description |
---|---|
protected |
FileTransfer(android.os.Parcel in) |
|
FileTransfer(java.lang.String name,
java.lang.String senderUID,
java.lang.String senderCallsign,
java.lang.String fileShareUID,
java.lang.String senderLocalPath,
java.lang.String link,
long size,
java.lang.String sha256) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
static FileTransfer |
fromQuery(android.content.Context context,
MissionPackageQueryResult result,
java.lang.String serverConnectString,
java.lang.String filesharePath) |
java.lang.String |
getConnectString() |
java.lang.String |
getLocalPath() |
java.lang.String |
getName() |
java.lang.String |
getSenderCallsign() |
java.lang.String |
getSenderUID() |
java.lang.String |
getSHA256(boolean bCompute) |
long |
getSize() |
java.lang.String |
getUID() |
boolean |
isValid() |
java.lang.String |
toString() |
boolean |
verify(java.io.File file) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final java.lang.String TAG
public static final java.lang.String COT_TYPE
public static final java.lang.String COT_HOW
public static final android.os.Parcelable.Creator<FileTransfer> CREATOR
public FileTransfer(java.lang.String name, java.lang.String senderUID, java.lang.String senderCallsign, java.lang.String fileShareUID, java.lang.String senderLocalPath, java.lang.String link, long size, java.lang.String sha256)
protected FileTransfer(android.os.Parcel in)
public java.lang.String getLocalPath()
public java.lang.String getConnectString()
public long getSize()
public java.lang.String getSHA256(boolean bCompute)
public java.lang.String getSenderUID()
public java.lang.String getSenderCallsign()
public java.lang.String getName()
public java.lang.String getUID()
public static FileTransfer fromQuery(android.content.Context context, MissionPackageQueryResult result, java.lang.String serverConnectString, java.lang.String filesharePath)
public boolean isValid()
public boolean verify(java.io.File file)
public java.lang.String toString()
toString
in class java.lang.Object
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
public int describeContents()
describeContents
in interface android.os.Parcelable