TransferStatistics class Core
Provides data transfer statistics for a specific online service.
This object exposes total upload/download/request counters as well as per-network-type breakdowns. Instances are returned by service singletons (for example ContentStore.transferStatistics, SdkSettings.transferStatistics) or via GemMapController.getTransferStatistics.
Use the getters to read the overall totals and the getUpload / getDownload / getRequests methods to obtain values for a specific NetworkType.
See also:
- NetworkType - Network types for transfer statistics breakdown.
- ViewOnlineServiceType - Online service types for views.
Properties
- download → int
-
Total downloaded data size in bytes.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasRegisteredAutoReleaseObject ↔ bool
-
getter/setter pairinherited
- pointerId → int
-
The pointer ID of the native object
no setterinherited
- requests → int
-
Total number of requests performed by the service.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- upload → int
-
Total uploaded data size in bytes.
no setter
Methods
-
dispose(
) → void -
Disposes the native object.
inherited
-
getDownload(
NetworkType networkType) → int - Downloaded data size in bytes for the given network type.
-
getRequests(
NetworkType networkType) → int - Number of requests for the given network type.
-
getUpload(
NetworkType networkType) → int - Uploaded data size in bytes for the given network type.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerAutoReleaseObject(
int pointerId) → void -
Registers an object for auto release.
inherited
-
resetStatistics(
) → void - Reset all transfer statistics counters to zero.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited