public class MissionPackageContent extends MissionPackageConfiguration
MissionPackageConfiguration.ImportInstructions
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<MissionPackageContent> |
CREATOR |
static java.lang.String |
PARAMETER_CONTENT_TYPE |
static java.lang.String |
PARAMETER_LOCALISCOT |
static java.lang.String |
PARAMETER_LOCALPATH |
static java.lang.String |
PARAMETER_NAME |
static java.lang.String |
PARAMETER_REFERENCECONTENT
Allows a content parameter to reference another content/entry
|
static java.lang.String |
PARAMETER_VISIBLE |
_parameters, PARAMETER_DeleteWithPackage, PARAMETER_OnReceiveAction, PARAMETER_OnReceiveDelete, PARAMETER_OnReceiveImport, PARAMETER_REMARKS, PARAMETER_UID
Modifier | Constructor and Description |
---|---|
|
MissionPackageContent() |
|
MissionPackageContent(MissionPackageContent content) |
protected |
MissionPackageContent(android.os.Parcel in) |
|
MissionPackageContent(java.lang.String manifestUid)
ctor.
|
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
boolean |
equals(MissionPackageContent c) |
boolean |
equals(java.lang.Object o) |
static MissionPackageContent |
fromJSON(org.json.JSONObject obj) |
long |
getCompressedSize()
Get the compressed size of this content's data
|
java.lang.String |
getManifestUid() |
long |
getSize()
Get the uncompressed size of this content's data
|
int |
hashCode() |
boolean |
isCoT() |
boolean |
isIgnore() |
boolean |
isValid() |
void |
setIgnore(boolean b) |
void |
setIsCoT(boolean bIsCoT) |
void |
setManifestUid(java.lang.String manifestUid) |
org.json.JSONObject |
toJSON() |
java.lang.String |
toString() |
void |
writeToParcel(android.os.Parcel parcel,
int flags) |
clear, equals, getImportInstructions, getParameter, getParameters, getParameterValue, hasParameter, removeParameter, setImportInstructions, setParameter, setParameter
public static final java.lang.String PARAMETER_NAME
public static final java.lang.String PARAMETER_LOCALPATH
public static final java.lang.String PARAMETER_LOCALISCOT
public static final java.lang.String PARAMETER_CONTENT_TYPE
public static final java.lang.String PARAMETER_VISIBLE
public static final java.lang.String PARAMETER_REFERENCECONTENT
public static final android.os.Parcelable.Creator<MissionPackageContent> CREATOR
public MissionPackageContent()
public MissionPackageContent(java.lang.String manifestUid)
manifestUid
- public MissionPackageContent(MissionPackageContent content)
protected MissionPackageContent(android.os.Parcel in)
public boolean isValid()
isValid
in class MissionPackageConfiguration
public java.lang.String getManifestUid()
public void setManifestUid(java.lang.String manifestUid)
public void setIsCoT(boolean bIsCoT)
public boolean isCoT()
public boolean isIgnore()
public void setIgnore(boolean b)
public long getSize()
public long getCompressedSize()
public java.lang.String toString()
toString
in class MissionPackageConfiguration
public int hashCode()
hashCode
in class MissionPackageConfiguration
public boolean equals(java.lang.Object o)
equals
in class MissionPackageConfiguration
public boolean equals(MissionPackageContent c)
public int describeContents()
describeContents
in interface android.os.Parcelable
describeContents
in class MissionPackageConfiguration
public void writeToParcel(android.os.Parcel parcel, int flags)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class MissionPackageConfiguration
public static MissionPackageContent fromJSON(org.json.JSONObject obj) throws org.json.JSONException
org.json.JSONException
public org.json.JSONObject toJSON() throws org.json.JSONException
org.json.JSONException