GoogleDrive

Last Updated On 2021-07-16

Version 1MinSDK 7Tutorial Video

A non-visible component that provide assess to the GoogleDrive storage. You can upload your files like Image, Videos, Audios & Docs etc to your google drive


Properties

You can set the below properties in the UI part of the builder.

  • FileName - it's a text value which is set to blank by default.
  • FolderID - it's a text value which is set to blank by default.
  • ServerURL - it's a text value which is set to blank by default.

Block Properties

You can set the below blocks properties in the blocks section of the builder.

FileName

Set File Name/Title


FolderID

Set Google Drive Folder ID


ServerURL

Set Google Drive Server Url



Methods

You can set the below method blocks in the blocks section of the builder.

DownloadURL

Return date when file created from response data

FileCreatedOn

Return date when file created from response data

FileID

Return file ID from response data

FileName

Return file name from response data

FileSize

Return file Size from response data

GetFolder

Get all files of a folder.

TotalFiles

Return total number of files from response data

UploadMedia

Upload the specified media to your Google Drive Storage.


Events

You can set the below event blocks in the blocks section of the builder.

ErrorOccurred

Triggered after upload failed

GotFolder

Triggered after got folder data

MediaUploaded

Triggered after media upload successfully