Table of Contents

TTMSFNCCustomCloudHubic Class

Base class that implements access to a Hubic cloud storage account, including OAuth authentication, account profile and quota retrieval, drive listing, and public share-link creation. Exposes the protected members that the published component publishes.

API unit family: TMSFNCCloudHubic Inherits from: TTMSFNCCloudCustomOpenStack

Syntax

TTMSFNCCustomCloudHubic = class(TTMSFNCCloudCustomOpenStack)

Properties

Name Description
HubicDrive Provides typed access to the files and folders of the connected account drive.
Info Provides the profile and storage quota information of the connected account, populated by GetAccountInfo.

Methods

Name Description
GetAccountInfo Requests the account profile and storage usage, raising OnGetSpaceUsage and OnGetCurrentAccount when each response arrives.
GetDriveInfo Clears the current drive listing and requests an up-to-date listing from the service.
GetShare Requests creation of a public share link for the specified item and raises OnGetShare when the link is available.
GetTestTokensResult Interprets the result of a token validation request and updates the storage endpoint and token from the response.
TestTokens Validates the stored access and refresh tokens by issuing a credentials request to the service.