(Beta)
Package | org.osmf.net.metrics |
Class | public class RecentSwitchMetric |
Inheritance | RecentSwitchMetric MetricBase Object |
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Public Properties
Protected Properties
Public Methods
Method | Defined By | ||
---|---|---|---|
RecentSwitchMetric(qosInfoHistory:QoSInfoHistory)
Constructor. | RecentSwitchMetric | ||
The value of this metric
If the value has already been computed for the most recent QoSInfo,
return the cached result.
This method is internal so it can be overriden by metric mockers,
for testing purposes
| MetricBase | ||
Indicates whether an object has a specified property defined. | Object | ||
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | ||
Indicates whether the specified property exists and is enumerable. | Object | ||
Sets the availability of a dynamic property for loop operations. | Object | ||
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | ||
Returns the string representation of the specified object. | Object | ||
Returns the primitive value of the specified object. | Object |
Protected Methods
Method | Defined By | ||
---|---|---|---|
[override]
Specifies the difference between the indices of the last downloaded fragment
and the previous one. | RecentSwitchMetric |
Constructor Detail
RecentSwitchMetric | () | Constructor |
public function RecentSwitchMetric(qosInfoHistory:QoSInfoHistory)
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Constructor.
ParametersqosInfoHistory:QoSInfoHistory — The QoSInfoHistory to be used for computing the metric
|
Method Detail
getValueForced | () | method |
override protected function getValueForced():MetricValue
Language Version: | ActionScript 3.0 |
Product Version: | OSMF 2.0 |
Runtime Versions: | Flash Player 10, AIR 1.5 |
Specifies the difference between the indices of the last downloaded fragment and the previous one. In case only one fragment is in the history, the metric will return 0.
ReturnsMetricValue |
Wed Nov 21 2018, 06:34 AM -08:00