ThumbData Class |
ThumbData provides read access to the result set returned by the AndroidGalleryManager.
Related method : getThumbnailPath.
Namespace: AndroidLocalGalleryPlugin
public class ThumbData : MonoBehaviour
The ThumbData type exposes the following members.
Name | Description | |
---|---|---|
updateDataWithArrayString |
Convert from string[] to ThumbData.
| |
updateDataWithThumbData |
Updates the this.thumbData with thumbData.
|
Name | Description | |
---|---|---|
count | The count of rows in a directory. Type: INTEGER | |
data | Path to the thumbnail file on disk. Note that apps may not have filesystem permissions to directly access this path. You need to check runtime permission if you want to access this path Type: TEXT Base64UTF8String | |
height | The height of the thumbnail. Type: INTEGER | |
id | The unique ID for a row. Type: INTEGER (long) | |
image_id | The original image for the thumbnal. Type: INTEGER (ID from Image table) | |
kind | The kind of the thumbnail. Type: INTEGER (One of the values below) | |
orientation | The orientation for the image expressed as degrees. Only degrees 0, 90, 180, 270 will work. Type: INTEGER | |
position | Index position. This position is a value which is managed by the Controller Script of Unity to find certain childItem to attach thumbnail. Type: INTEGER | |
video_id | The original image for the thumbnal. Type: INTEGER (ID from Video table) | |
width | The width of the thumbnal. Type: INTEGER |