Inherits from NSObject
Conforms to NSCopying
Declared in DBFileInfo.h

Overview

The file info class contains basic information about a file or folder.

Tasks

  •   path

    The path of the file or folder.

    property
  •   isFolder

    Whether the item at path is a folder or a file.

    property
  •   modifiedTime

    The last time the file or folder was modified.

    property
  •   size

    The file’s size. This property is always 0 for folders.

    property
  •   thumbExists

    Whether a thumbnail for this file can be requested from the server, based on the file format. Since thumbnails are generated only by the server, this value will be false on a locally-modified file until it finishes uploading.

    property
  •   iconName

    The name of an appropriate icon to display for the file, taken from the Dropbox icon library. Will be nil if no suggested icon is available. For more information see the metadata#metadata ) documentation.

    property

Properties

iconName

@property (nonatomic, readonly) NSString *iconName
Discussion

The name of an appropriate icon to display for the file, taken from the Dropbox icon library. Will be nil if no suggested icon is available. For more information see the metadata#metadata ) documentation.

Declared In

DBFileInfo.h

isFolder

@property (nonatomic, readonly) BOOL isFolder
Discussion

Whether the item at path is a folder or a file.

Declared In

DBFileInfo.h

modifiedTime

@property (nonatomic, readonly) NSDate *modifiedTime
Discussion

The last time the file or folder was modified.

Declared In

DBFileInfo.h

path

@property (nonatomic, readonly) DBPath *path
Discussion

The path of the file or folder.

Declared In

DBFileInfo.h

size

@property (nonatomic, readonly) long long size
Discussion

The file’s size. This property is always 0 for folders.

Declared In

DBFileInfo.h

thumbExists

@property (nonatomic, readonly) BOOL thumbExists
Discussion

Whether a thumbnail for this file can be requested from the server, based on the file format. Since thumbnails are generated only by the server, this value will be false on a locally-modified file until it finishes uploading.

Declared In

DBFileInfo.h