ChromeSystemStorage class

Properties

hashCode int
The hash code for this object.
no setterinherited
isAvailable bool
no setter
onAttached EventStream<StorageUnitInfo>
Fired when a new removable storage is attached to the system.
no setter
onDetached EventStream<String>
Fired when a removable storage is detached from the system.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

ejectDevice(String id) Future<EjectDeviceResultCode>
Ejects a removable storage device.
getAvailableCapacity(String id) Future<StorageAvailableCapacityInfo>
Get the available capacity of a specified |id| storage device. The |id| is the transient device ID from StorageUnitInfo.
getInfo() Future<List<StorageUnitInfo>>
Get the storage information from the system. The argument passed to the callback is an array of StorageUnitInfo objects.
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