| AndroidGalleryManager Class | 
 Inheritance Hierarchy
Inheritance HierarchyNamespace: AndroidLocalGalleryPlugin
 Syntax
Syntaxpublic class AndroidGalleryManager : MonoBehaviour
The AndroidGalleryManager type exposes the following members.
 Constructors
Constructors| Name | Description | |
|---|---|---|
|  | AndroidGalleryManager | Initializes a new instance of the AndroidGalleryManager class | 
 Methods
Methods| Name | Description | |
|---|---|---|
|  | getAllFolders(String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets all folders. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getAllFolders(String, Int32, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets all folders. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getAllFolders(String, String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets all folders. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getAllFolders(String, Int32, String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets all folders. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getAllFolders(String, String, Int32, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets all folders. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getAllFolders(String, String, Int32, String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets all folders. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getAllFoldersMaxCount(String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets all folders max count. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getAllFoldersMaxCount(String, Int32, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets all folders max count. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getAllFoldersMaxCount(String, String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets all folders max count. You will get the result through callback. | 
|  | getAllFoldersMaxCount(String, Int32, String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets all folders max count. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getAllFoldersMaxCount(String, String, Int32, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets all folders max count. You will get the result through callback. Added in v1.1.0 | 
|  | getAllFoldersMaxCount(String, String, Int32, String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets all folders max count. You will get the result through callback. Added in v1.1.0 | 
|  | getFileRotation(Int32, String, Int32) | Gets the file rotation. This method automatically add STORAGE_EXTERNAL to get. | 
|  | getFileRotation(String, Int32, String, Int32) | Gets the file rotation. | 
|  | getFiles(String, Int32, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the files. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getFiles(String, Int32, String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the files. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getFiles(String, String, Int32, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the files. You will get the result through callback.] Added in v1.1.0 | 
|  | getFiles(String, String, Int32, String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the files. You will get the result through callback. Added in v1.1.0 | 
|  | getFilesMaxCount(String, Int32, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the files max count. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getFilesMaxCount(String, Int32, String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the files max count. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. Added in v1.1.0 | 
|  | getFilesMaxCount(String, String, Int32, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the files max count. You will get the result through callback. Added in v1.1.0 | 
|  | getFilesMaxCount(String, String, Int32, String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the files max count. You will get the result through callback. Added in v1.1.0 | 
|  | getImageAndVideoFiles(String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the image and video files. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getImageAndVideoFiles(String, String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the image and video files. You will get the result through callback. | 
|  | getImageAndVideoFilesMaxCount(String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the image and video files max count. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getImageAndVideoFilesMaxCount(String, String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the image and video files max count. You will get the result through callback. | 
|  | getImageFiles(String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the image files. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getImageFiles(String, String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the image files. You will get the result through callback. | 
|  | getImageFilesMaxCount(String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the image files max count. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getImageFilesMaxCount(String, String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the image files max count. You will get the result through callback. | 
|  | getThumbnail | Gets the thumbnail data as the byte array.ByteBuffer byteBuffer = ByteBuffer.allocate(bitmap.getByteCount());bitmap.copyPixelsToBuffer(byteBuffer);return byteBuffer.array(); | 
|  | getThumbnailPath(Int32, Int32, Int32, Int32, AndroidGalleryManageronThumbCallback) | Gets the thumbnail path. You don't need to specify the storage because thumbnail is stored in the external storage. | 
|  | getThumbnailPath(Int32, Int32, Int32, Int32, AndroidGalleryManageronThumbCallback) | Gets the thumbnail path array. You don't need to specify the storage because thumbnail is stored in the external storage. | 
|  | getVideoFiles(String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the video files. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getVideoFiles(String, String, String, Int32, Int32, AndroidGalleryManageronMediaCallback) | Gets the video files. You will get the result through callback. | 
|  | getVideoFilesMaxCount(String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the video files max count. This method automatically add STORAGE_EXTERNAL to get. You will get the result through callback. | 
|  | getVideoFilesMaxCount(String, String, String, Int32, Int32, AndroidGalleryManageronMediaMaxCountCallback) | Gets the video files max count. You will get the result through callback. | 
 Fields
Fields| Name | Description | |
|---|---|---|
|  | STORAGE_EXTERNAL | All Android devices have two file storage areas. Virtual external storage is common on modern Android phones. | 
|  | STORAGE_INTERNAL | All Android devices have two file storage areas. Internal storage is not common on modern Android phones. We guess that it will never be used in general project. | 
 See Also
See Also