Package io.rong.imkit.picture.entity

## Class LocalMedia

- All Implemented Interfaces:

      public class LocalMedia

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class | Description
    --- | --- | ---

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---
    `public String` | `path` |
    `public long` | `duration` |
    `public boolean` | `isChecked` |
    `public int` | `position` |
    `public int` | `num` |
    `public String` | `mimeType` |
    `public int` | `chooseModel` |
    `public int` | `width` |
    `public int` | `height` |
    `public long` | `size` |
    `public boolean` | `isOriginal` |
    `public final static Creator<LocalMedia>` | `CREATOR` |

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `LocalMedia()` |
    `LocalMedia(String path, long duration, int chooseModel, String mimeType)` |
    `LocalMedia(String path, long duration, int chooseModel, String mimeType, int width, int height, long size)` |
    `LocalMedia(String path, long duration, boolean isChecked, int position, int num, int chooseModel)` |

  - ### Enum Constant Summary

    Enum Constants
    Enum Constant | Description
    --- | ---

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `String` | `getPath()` |
    `void` | `setPath(String path)` |
    `long` | `getDuration()` |
    `void` | `setDuration(long duration)` |
    `boolean` | `isChecked()` |
    `void` | `setChecked(boolean checked)` |
    `int` | `getNum()` |
    `void` | `setNum(int num)` |
    `String` | `getMimeType()` |
    `void` | `setMimeType(String mimeType)` |
    `int` | `getChooseModel()` |
    `void` | `setChooseModel(int chooseModel)` |
    `int` | `getWidth()` |
    `void` | `setWidth(int width)` |
    `int` | `getHeight()` |
    `void` | `setHeight(int height)` |
    `long` | `getSize()` |
    `void` | `setSize(long size)` |
    `boolean` | `isOriginal()` |
    `void` | `setOriginal(boolean original)` |
    `int` | `getPosition()` |
    `void` | `setPosition(int position)` |
    `int` | `describeContents()` |
    `void` | `writeToParcel(Parcel dest, int flags)` |

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### LocalMedia

          LocalMedia()

    - #### LocalMedia

          LocalMedia(String path, long duration, int chooseModel, String mimeType)

    - #### LocalMedia

          LocalMedia(String path, long duration, int chooseModel, String mimeType, int width, int height, long size)

    - #### LocalMedia

          LocalMedia(String path, long duration, boolean isChecked, int position, int num, int chooseModel)

  - ### Method Detail

    - #### getPath

           String getPath()

    - #### setPath

           void setPath(String path)

    - #### getDuration

           long getDuration()

    - #### setDuration

           void setDuration(long duration)

    - #### isChecked

           boolean isChecked()

    - #### setChecked

           void setChecked(boolean checked)

    - #### getNum

           int getNum()

    - #### setNum

           void setNum(int num)

    - #### getMimeType

           String getMimeType()

    - #### setMimeType

           void setMimeType(String mimeType)

    - #### getChooseModel

           int getChooseModel()

    - #### setChooseModel

           void setChooseModel(int chooseModel)

    - #### getWidth

           int getWidth()

    - #### setWidth

           void setWidth(int width)

    - #### getHeight

           int getHeight()

    - #### setHeight

           void setHeight(int height)

    - #### getSize

           long getSize()

    - #### setSize

           void setSize(long size)

    - #### isOriginal

           boolean isOriginal()

    - #### setOriginal

           void setOriginal(boolean original)

    - #### getPosition

           int getPosition()

    - #### setPosition

           void setPosition(int position)

    - #### describeContents

           int describeContents()

    - #### writeToParcel

           void writeToParcel(Parcel dest, int flags)