ITMSFNCCustomCloudFileConversion Interface
Provider abstraction implemented by each conversion back end. It builds the HTTP requests and parses the responses for every conversion operation, isolating the component from provider-specific details.
API unit family: TMSFNCCloudFileConversion
Extends: IInterface
Syntax
ITMSFNCCustomCloudFileConversion = interface(IInterface)
Methods
| Name | Description |
|---|---|
| AddHeaders | Adds the provider-specific authentication headers to a request. |
| BuildCancelFileRequest | Fills the request with the call that cancels a conversion job. |
| BuildCreateJobRequest | Fills the request with the call that creates a conversion job from a URL or base64 payload. |
| BuildCreateJobRequestFile | Fills the request with the call that creates a conversion job for a file that will be uploaded. |
| BuildDownloadJobFileRequest | Fills the request with the call that downloads an output file. |
| BuildGetJobDetailsRequest | Fills the request with the call that retrieves the details of a conversion job. |
| BuildGetJobsRequest | Fills the request with the call that retrieves the list of conversion jobs. |
| BuildUploadFileRequest | Fills the request with the call that uploads the source file for a conversion job. |
| DestroyCloudFileConversion | Releases the provider instance and any resources it holds. |
| IsValid | Returns whether the provider has the credentials it needs to operate. |
| ParseCancelJob | Parses the response of a cancel-job request and updates the job. |
| ParseCreateJob | Parses the response of a create-job request and adds the new job to the collection. |
| ParseDownloadJobFile | Parses the response of a download request and stores the file content or save location. |
| ParseGetJobDetails | Parses the response of a job-details request and updates the job's status and output files. |
| ParseJobList | Parses the response of a job-list request into the given collection. |
| ParseUploadFile | Parses the response of a file-upload request and updates the job. |