Drive class

Defines the main enterence class of HUAWEI Drive Kit.

HUAWEI Drive Flutter Plugin implementation class, which manages files on drives, including file upload, download, search, comment and change detection.

Properties

batch ↔ Batch
Batch API.
getter/setter pair
changes ↔ Changes
Changes API.
getter/setter pair
channels Channels
Channels API.
getter/setter pair
comments Comments
Comments API.
getter/setter pair
files Files
Files API.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
historyVersions HistoryVersions
HistoryVersions API.
getter/setter pair
replies Replies
Replies API.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

about(AboutRequest request) Future<DriveAbout>
Obtains a user's Drive information, such as its storage quota limit and maximum size of a file that can be uploaded by the user.
disableLogger() Future<void>
This method disables the HMSLogger capability which is used for sending usage analytics of Drive SDK's methods to improve the service quality.
enableLogger() Future<void>
This method enables the HMSLogger capability which is used for sending usage analytics of Drive SDK's methods to improve the service quality.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

init(DriveCredentials driveCredentials) Future<Drive>
Initializes the Drive instance for managing files.