Package io.rong.imkit.picture

## Class PictureSelectorActivity

- All Implemented Interfaces:

      public class PictureSelectorActivity

- - ### Nested Class Summary

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

  - ### Field Summary

    Fields
    Modifier and Type | Field | Description
    --- | --- | ---

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `PictureSelectorActivity()` |

  - ### Enum Constant Summary

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

  - ### Method Summary

    Modifier and Type | Method | Description
    --- | --- | ---
    `int` | `getResourceId()` |
    `void` | `initPictureSelectorStyle()` | 动态设置相册主题
    `void` | `startCamera()` | open camera
    `void` | `onClick(View v)` |
    `void` | `onItemClick(boolean isCameraFolder, String folderName, List<LocalMedia> images)` |
    `void` | `onTakePhoto()` |
    `void` | `onChange(List<LocalMedia> selectImages)` |
    `void` | `onPictureClick(LocalMedia media, int position)` |
    `void` | `startPreview(List<LocalMedia> previewImages, int position)` | preview image and video
    `void` | `onBackPressed()` |
    `void` | `onRequestPermissionsResult(int requestCode, Array<String> permissions, Array<int> grantResults)` |

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

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

- - ### Constructor Detail

    - #### PictureSelectorActivity

          PictureSelectorActivity()

  - ### Method Detail

    - #### getResourceId

           int getResourceId()

    - #### initPictureSelectorStyle

           void initPictureSelectorStyle()

      动态设置相册主题

    - #### startCamera

           void startCamera()

      open camera

    - #### onClick

           void onClick(View v)

    - #### onItemClick

           void onItemClick(boolean isCameraFolder, String folderName, List<LocalMedia> images)

    - #### onTakePhoto

           void onTakePhoto()

    - #### onChange

           void onChange(List<LocalMedia> selectImages)

    - #### onPictureClick

           void onPictureClick(LocalMedia media, int position)

    - #### startPreview

           void startPreview(List<LocalMedia> previewImages, int position)

      preview image and video

    - #### onBackPressed

           void onBackPressed()

    - #### onRequestPermissionsResult

           void onRequestPermissionsResult(int requestCode, Array<String> permissions, Array<int> grantResults)