LocalMedia

public class LocalMedia

Constructors

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

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

Functions

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