Click or drag to resize

ThumbData Class

ThumbData provides read access to the result set returned by the AndroidGalleryManager.

Related method : getThumbnailPath.

Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          AndroidLocalGalleryPluginThumbData

Namespace:  AndroidLocalGalleryPlugin
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public class ThumbData : MonoBehaviour

The ThumbData type exposes the following members.

Constructors
  NameDescription
Public methodThumbData
Initializes a new instance of the ThumbData class.
Top
Methods
  NameDescription
Public methodupdateDataWithArrayString
Convert from string[] to ThumbData.
Public methodupdateDataWithThumbData
Updates the this.thumbData with thumbData.
Top
Fields
  NameDescription
Public fieldcount

The count of rows in a directory.

Type: INTEGER

Public fielddata

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

Public fieldheight

The height of the thumbnail.

Type: INTEGER

Public fieldid

The unique ID for a row.

Type: INTEGER (long)

Public fieldimage_id

The original image for the thumbnal.

Type: INTEGER (ID from Image table)

Public fieldkind

The kind of the thumbnail.

Type: INTEGER (One of the values below)

Public fieldorientation

The orientation for the image expressed as degrees.

Only degrees 0, 90, 180, 270 will work.

Type: INTEGER

Public fieldposition

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

Public fieldvideo_id

The original image for the thumbnal.

Type: INTEGER (ID from Video table)

Public fieldwidth

The width of the thumbnal.

Type: INTEGER

Top
See Also