DownloadSpeed Structure |
Namespace: UMod.Streaming
[SerializableAttribute] public struct DownloadSpeed : IEquatable<DownloadSpeed>
The DownloadSpeed type exposes the following members.
| Name | Description | |
|---|---|---|
| Speed |
The current speed represented by this instance.
The measurment unit depends on Unit | |
| Unit |
The current unit of measurement used by this download speed.
|
| Name | Description | |
|---|---|---|
| Equals(Object) |
Overriden equals.
(Overrides ValueTypeEquals(Object).) | |
| Equals(DownloadSpeed) |
Additional equals.
| |
| FromBytesPerSecond |
Convert the specified number of bytes to a DownloadSpeed representing the transfer rate per second.
| |
| GetHashCode |
Overriden hash code.
(Overrides ValueTypeGetHashCode.) | |
| Measure |
Get the DownloadSpeed for the downloaded data based on the last measure time.
| |
| MeasureAverage |
Get the average DownloadSpeed for the downloaded data based on the last measure time.
| |
| StartMeasuring |
Resets all measue data so that new measures can be taken from the current time.
| |
| ToString |
Get the current downlaod speed as a string value.
(Overrides ValueTypeToString.) | |
| ToString(Boolean) |
Get the current downlod speed as a string value.
| |
| UnitString |
Get a string value representing the current units used by the download speed.
See also DownloadUnit |