Click or drag to resize

FileColumns Class

Common fields for most MediaProvider tables.
Inheritance Hierarchy
SystemObject
  Object
    Component
      Behaviour
        MonoBehaviour
          AndroidLocalGalleryPluginFileColumns

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

The FileColumns type exposes the following members.

Constructors
  NameDescription
Public methodFileColumns
Initializes a new instance of the FileColumns class
Top
Fields
  NameDescription
Public fieldStatic member_ID

The unique ID for a row.

Type: INTEGER (long)

Public fieldStatic memberDATA

Path to the 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

Public fieldStatic memberDATE_ADDED

The time the file was added to the media provider.

Units are seconds since 1970.

Type: INTEGER (long)

Public fieldStatic memberDATE_MODIFIED

The time the file was last modified.

Units are seconds since 1970.

NOTE: This is for internal use by the media scanner.

Type: INTEGER (long)

Public fieldStatic memberDATE_TAKEN

The date and time that the image was taken in units of milliseconds since jan 1, 1970.

Type: INTEGER (long)

Public fieldStatic memberDESCRIPTION

The description of the image.

Type: TEXT

Public fieldStatic memberDISPLAY_NAME

The display name of the file.

Type: TEXT

Public fieldStatic memberFULL_SCREEN_KIND
One of the kinds of thumbnail. This kind is not recommended to use.
Public fieldStatic memberHEIGHT

The height of the image/video in pixels.

Type: INTEGER

Public fieldStatic memberIMAGE_ID

The original image for the thumbnal.

Type: INTEGER (ID from Image table)

Public fieldStatic memberIS_DIRECTORY

The flag indicates whether data(path) is a directory or file.

Type: BOOL

Public fieldStatic memberIS_PRIVATE

Whether the video should be published as public or private.

Type: INTEGER

Public fieldStatic memberKIND

The kind of the thumbnail.

Type: INTEGER (One of the values below)

Public fieldStatic memberLATITUDE

The latitude where the image was captured.

Type: DOUBLE

Public fieldStatic memberLONGITUDE

The longitude where the image was captured.

Type: DOUBLE

Public fieldStatic memberMEDIA_TYPE

The media type (audio, video, image or playlist) of the file, or 0 for not a media file

Type: INTEGER

Public fieldStatic memberMEDIA_TYPE_AUDIO

Constant for the {@link #MEDIA_TYPE} column indicating that file is an audio file.

Type: INTEGER

Public fieldStatic memberMEDIA_TYPE_IMAGE

Constant for the {@link #MEDIA_TYPE} column indicating that file is an image file.

Type: INTEGER

Public fieldStatic memberMEDIA_TYPE_NONE

Constant for the {@link #MEDIA_TYPE} column indicating that file is not an audio, image, video or playlist file.

Type: INTEGER

Public fieldStatic memberMEDIA_TYPE_PLAYLIST

Constant for the {@link #MEDIA_TYPE} column indicating that file is a playlist file.

Type: INTEGER

Public fieldStatic memberMEDIA_TYPE_VIDEO

Constant for the {@link #MEDIA_TYPE} column indicating that file is a video file.

Type: INTEGER

Public fieldStatic memberMICRO_KIND
One of the kinds of thumbnail. This kind is not recommended to use.
Public fieldStatic memberMIME_TYPE

The MIME type of the file.

Type: TEXT

Public fieldStatic memberMINI_KIND
One of the kinds of thumbnail.
Public fieldStatic memberMINI_THUMB_MAGIC

The mini thumb id.

Type: INTEGER

Public fieldStatic memberORIENTATION

The orientation for the image expressed as degrees.

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

Type: INTEGER

Public fieldStatic memberPARENT

The index of the parent directory of the file.

Type: INTEGER

Public fieldStatic memberPOSITION

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 fieldStatic memberSIZE

The size of the file in bytes.

Type: INTEGER (long)

Public fieldStatic memberTITLE

The title of the content.

Type: TEXT

Public fieldStatic memberVIDEO_ID

The original image for the thumbnal.

Type: INTEGER (ID from Video table)

Public fieldStatic memberWIDTH

The width of the image/video in pixels.

Type: INTEGER

Top
See Also