# LocalMedia

public class LocalMedia

## Constructors

LocalMedia
Link copied to clipboard
public void LocalMedia()
public void LocalMedia(String path, long duration, int chooseModel, String mimeType)
public void LocalMedia(String path, long duration, int chooseModel, String mimeType, int width, int height, long size)
public void LocalMedia(String path, long duration, boolean isChecked, int position, int num, int chooseModel)

## Properties

chooseModel
Link copied to clipboard
public int chooseModel
Gallery selection mode
CREATOR
Link copied to clipboard
public final static Creator<LocalMedia> CREATOR
duration
Link copied to clipboard
public long duration
video duration
height
Link copied to clipboard
public int height
image or video height
isChecked
Link copied to clipboard
public boolean isChecked
If the selected
isOriginal
Link copied to clipboard
public boolean isOriginal
Whether the original image is displayed
mimeType
Link copied to clipboard
public String mimeType
The media resource type
num
Link copied to clipboard
public int num
The media number of qq choose styles
path
Link copied to clipboard
public String path
original path
position
Link copied to clipboard
public int position
media position of list
size
Link copied to clipboard
public long size
file size
width
Link copied to clipboard
public int width
image or video width

## Functions

describeContents
Link copied to clipboard
public int describeContents()
getChooseModel
Link copied to clipboard
public int getChooseModel()
getDuration
Link copied to clipboard
public long getDuration()
getHeight
Link copied to clipboard
public int getHeight()
getMimeType
Link copied to clipboard
public String getMimeType()
getNum
Link copied to clipboard
public int getNum()
getPath
Link copied to clipboard
public String getPath()
getPosition
Link copied to clipboard
public int getPosition()
getSize
Link copied to clipboard
public long getSize()
getWidth
Link copied to clipboard
public int getWidth()
isChecked
Link copied to clipboard
public boolean isChecked()
isOriginal
Link copied to clipboard
public boolean isOriginal()
setChecked
Link copied to clipboard
public void setChecked(boolean checked)
setChooseModel
Link copied to clipboard
public void setChooseModel(int chooseModel)
setDuration
Link copied to clipboard
public void setDuration(long duration)
setHeight
Link copied to clipboard
public void setHeight(int height)
setMimeType
Link copied to clipboard
public void setMimeType(String mimeType)
setNum
Link copied to clipboard
public void setNum(int num)
setOriginal
Link copied to clipboard
public void setOriginal(boolean original)
setPath
Link copied to clipboard
public void setPath(String path)
setPosition
Link copied to clipboard
public void setPosition(int position)
setSize
Link copied to clipboard
public void setSize(long size)
setWidth
Link copied to clipboard
public void setWidth(int width)
writeToParcel
Link copied to clipboard
public void writeToParcel(Parcel dest, int flags)