Skip to main content

TdxCloudStorageProvider Class

The base class for all classes that implement cloud storage data providers.

Declaration

TdxCloudStorageProvider = class abstract(TcxInterfacedPersistent)

Remarks

This abstract class implements the core online file data provider functionality, including settings common to all provider types. To connect the associated cloud storage component to an online file storage service, the data provider authenticates and authorizes in an account on behalf of an end-user via the compatible configured authorization agent component.

The TdxCloudStorageProvider class provides the following members that allow you to:

  • Associate the cloud storage data provider with the compatible authorization agent component (AuthorizationAgent);

  • Obtain the target cloud file storage service’s descriptive name (GetDisplayName);

  • Identify the filename extension corresponding to the specified metadata container (GetExtension);

  • Access the cloud storage component to which the data provider belongs (Storage).

TdxCloudStorageProvider is an abstract class. You can create a specific online file data provider for a cloud storage component by assigning the class name of a TdxCloudStorageProvider descendant (TdxCloudStorageGoogleDriveProvider, for instance) to the component’s ProviderClassName property. The newly created data provider is accessible via the component’s Provider property.

See Also