Table of Contents

TTMSFNCCloudBox Class

Component that connects to the Box cloud service and publishes its file, folder, search, sharing, and account operations and events for design-time use.

API unit family: TMSFNCCloudBox Inherits from: TTMSFNCCustomCloudBox

Syntax

TTMSFNCCloudBox = class(TTMSFNCCustomCloudBox)

Properties

Name Description
BDrive Returns the current Box drive item collection. (inherited from TTMSFNCCustomCloudBox)
FileLimit Maximum number of items returned by a single folder listing. (inherited from TTMSFNCCustomCloudBox)
Info Gets or sets the latest Box account information. (inherited from TTMSFNCCustomCloudBox)
Language Preferred language used by the service for localized responses. (inherited from TTMSFNCCustomCloudBox)
PromiseFileInfo Returns the file metadata resolved by the most recent file-info promise. (inherited from TTMSFNCCustomCloudBox)

Methods

Name Description
CreateFolder Creates a folder below the specified Box folder. (inherited from TTMSFNCCustomCloudBox)
CreateFolderPromise Creates a folder asynchronously and returns a promise that resolves when the request completes. (inherited from TTMSFNCCustomCloudBox)
Delete Deletes a Box item. (inherited from TTMSFNCCustomCloudBox)
Download Downloads a Box item to a local target file. (inherited from TTMSFNCCustomCloudBox)
GetAccountInfo Requests account information for the connected Box account. (inherited from TTMSFNCCustomCloudBox)
GetAccountInfoPromise Requests account information asynchronously and returns a promise that resolves when the request completes. (inherited from TTMSFNCCustomCloudBox)
GetDriveInfo Requests drive quota and usage information for the connected Box account. (inherited from TTMSFNCCustomCloudBox)
GetFileByID Returns a Box item by item identifier. (inherited from TTMSFNCCustomCloudBox)
GetFileInfo Requests metadata for a Box file by name or path. (inherited from TTMSFNCCustomCloudBox)
GetFileInfoPromise Requests file metadata asynchronously and returns a promise that resolves when the request completes. (inherited from TTMSFNCCustomCloudBox)
GetFolderInfo Requests metadata for a Box folder. (inherited from TTMSFNCCustomCloudBox)
GetFolderInfoPromise Requests folder metadata asynchronously and returns a promise that resolves when the request completes. (inherited from TTMSFNCCustomCloudBox)
GetFolderList Returns the items in a Box folder. (inherited from TTMSFNCCustomCloudBox)
GetFolderListHierarchical Returns a hierarchical Box folder listing. (inherited from TTMSFNCCustomCloudBox)
GetFolderListHierarchicalPromise Lists a folder hierarchically and asynchronously and returns a promise that resolves when the request completes. (inherited from TTMSFNCCustomCloudBox)
GetFolderListPromise Lists a folder asynchronously and returns a promise that resolves when the request completes. (inherited from TTMSFNCCustomCloudBox)
GetLink Requests a shared link for a Box item. (inherited from TTMSFNCCustomCloudBox)
GetLinkPromise Requests a shared link for an item asynchronously and returns a promise that resolves with the link. (inherited from TTMSFNCCustomCloudBox)
GetShare Requests a share URL for a Box item. (inherited from TTMSFNCCustomCloudBox)
GetSharePromise Requests a share URL for an item asynchronously and returns a promise that resolves with the share URL. (inherited from TTMSFNCCustomCloudBox)
GetTestTokensResult Returns whether a Box token-test request succeeded. (inherited from TTMSFNCCustomCloudBox)
MoveFile Moves a Box item to another folder. (inherited from TTMSFNCCustomCloudBox)
MoveFileToRoot Moves a Box item to the root folder. (inherited from TTMSFNCCustomCloudBox)
RenameFile Renames a Box item. (inherited from TTMSFNCCustomCloudBox)
Search Searches Box items in a folder. (inherited from TTMSFNCCustomCloudBox)
SearchList Searches Box items and returns the result list. (inherited from TTMSFNCCustomCloudBox)
SearchListPromise Searches items asynchronously and returns a promise that resolves when the request completes. (inherited from TTMSFNCCustomCloudBox)
SearchPromise Searches items in a folder asynchronously and returns a promise that resolves when the request completes. (inherited from TTMSFNCCustomCloudBox)
TestTokens Tests the current Box tokens and optionally reports the request result. (inherited from TTMSFNCCustomCloudBox)
Upload Uploads a local file to a Box folder. (inherited from TTMSFNCCustomCloudBox)

Events

Name Description
OnCreateFolder Occurs when a folder has been created. (inherited from TTMSFNCCustomCloudBox)
OnDeleteItem Occurs when a delete operation has finished. (inherited from TTMSFNCCustomCloudBox)
OnDownloadFile Occurs when a download has finished. (inherited from TTMSFNCCustomCloudBox)
OnGetCurrentAccount Occurs when the current account information has been retrieved. (inherited from TTMSFNCCustomCloudBox)
OnGetFileInfo Occurs when metadata for a single file has been retrieved. (inherited from TTMSFNCCustomCloudBox)
OnGetFolderInfo Occurs when a folder-info request has finished. (inherited from TTMSFNCCustomCloudBox)
OnGetFolderList Occurs when a folder listing returns its first page of items. (inherited from TTMSFNCCustomCloudBox)
OnGetLink Occurs when a direct link to an item has been retrieved. (inherited from TTMSFNCCustomCloudBox)
OnGetShare Occurs when a shared link for an item has been retrieved. (inherited from TTMSFNCCustomCloudBox)
OnGetSpaceUsage Occurs when account storage usage has been retrieved. (inherited from TTMSFNCCustomCloudBox)
OnMoveFile Occurs when a file or folder has been moved. (inherited from TTMSFNCCustomCloudBox)
OnRenameFile Occurs when a file or folder has been renamed. (inherited from TTMSFNCCustomCloudBox)
OnSearch Occurs when a search request completes, exposing the matched items. (inherited from TTMSFNCCustomCloudBox)
OnUploadFile Occurs when an upload has finished. (inherited from TTMSFNCCustomCloudBox)

Used by