public class LocalMedia
extends java.lang.Object
implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<LocalMedia> |
CREATOR |
int |
position
media position of list
|
Modifier | Constructor and Description |
---|---|
|
LocalMedia() |
protected |
LocalMedia(android.os.Parcel in) |
|
LocalMedia(java.lang.String path,
long duration,
boolean isChecked,
int position,
int num,
int chooseModel) |
|
LocalMedia(java.lang.String path,
long duration,
int chooseModel,
java.lang.String mimeType) |
|
LocalMedia(java.lang.String path,
long duration,
int chooseModel,
java.lang.String mimeType,
int width,
int height,
long size) |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
java.lang.String |
getAndroidQToPath() |
int |
getChooseModel() |
java.lang.String |
getCompressPath() |
java.lang.String |
getCutPath() |
long |
getDuration() |
int |
getHeight() |
java.lang.String |
getMimeType() |
int |
getNum() |
java.lang.String |
getOriginalPath() |
java.lang.String |
getPath() |
int |
getPosition() |
long |
getSize() |
int |
getWidth() |
boolean |
isChecked() |
boolean |
isCompressed() |
boolean |
isCut() |
boolean |
isOriginal() |
void |
setAndroidQToPath(java.lang.String androidQToPath) |
void |
setChecked(boolean checked) |
void |
setChooseModel(int chooseModel) |
void |
setCompressed(boolean compressed) |
void |
setCompressPath(java.lang.String compressPath) |
void |
setCut(boolean cut) |
void |
setCutPath(java.lang.String cutPath) |
void |
setDuration(long duration) |
void |
setHeight(int height) |
void |
setMimeType(java.lang.String mimeType) |
void |
setNum(int num) |
void |
setOriginal(boolean original) |
void |
setOriginalPath(java.lang.String originalPath) |
void |
setPath(java.lang.String path) |
void |
setPosition(int position) |
void |
setSize(long size) |
void |
setWidth(int width) |
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public int position
public static final android.os.Parcelable.Creator<LocalMedia> CREATOR
public LocalMedia()
public LocalMedia(java.lang.String path, long duration, int chooseModel, java.lang.String mimeType)
public LocalMedia(java.lang.String path, long duration, int chooseModel, java.lang.String mimeType, int width, int height, long size)
public LocalMedia(java.lang.String path, long duration, boolean isChecked, int position, int num, int chooseModel)
protected LocalMedia(android.os.Parcel in)
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.String getCompressPath()
public void setCompressPath(java.lang.String compressPath)
public java.lang.String getCutPath()
public void setCutPath(java.lang.String cutPath)
public java.lang.String getAndroidQToPath()
public void setAndroidQToPath(java.lang.String androidQToPath)
public long getDuration()
public void setDuration(long duration)
public boolean isChecked()
public void setChecked(boolean checked)
public boolean isCut()
public void setCut(boolean cut)
public int getPosition()
public void setPosition(int position)
public int getNum()
public void setNum(int num)
public java.lang.String getMimeType()
public void setMimeType(java.lang.String mimeType)
public boolean isCompressed()
public void setCompressed(boolean compressed)
public int getWidth()
public void setWidth(int width)
public int getHeight()
public void setHeight(int height)
public int getChooseModel()
public void setChooseModel(int chooseModel)
public long getSize()
public void setSize(long size)
public boolean isOriginal()
public void setOriginal(boolean original)
public java.lang.String getOriginalPath()
public void setOriginalPath(java.lang.String originalPath)
public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable