패키지 | org.osmf.net.metrics |
클래스 | public class MetricBase |
상속 | MetricBase ![]() |
하위 클래스 | ActualBitrateMetric, AvailableQualityLevelsMetric, BandwidthMetric, BufferFragmentsMetric, BufferLengthMetric, BufferOccupationRatioMetric, CurrentStatusMetric, DroppedFPSMetric, EmptyBufferMetric, FPSMetric, FragmentCountMetric, RecentSwitchMetric |
언어 버전: | ActionScript 3.0 |
제품 버전: | OSMF 2.0 |
런타임 버전: | Flash Player 10, AIR 1.5 |
MetricBase is a base class for metrics used for Adaptive Bitrate. A metric's value is computed based on QoSInfoHistory. A metric is identified by its type.
The base class handles the caching of the computed value. The subclasses should only implement the actual computation.
All subclasses should have qosInfoHistory
as the first parameter in the constructor.
All subclasses must set the _type
in the constructor.
관련 API 요소
org.osmf.net.abr.MetricType
org.osmf.net.abr.MetricValue
org.osmf.net.abr.QoSInfoHistory
org.osmf.net.abr.MetricValue
org.osmf.net.abr.QoSInfoHistory
공용 속성
속성 | 정의 주체 | ||
---|---|---|---|
![]() | constructor : Object
지정된 객체 인스턴스의 클래스 객체 또는 생성자 함수에 대한 참조입니다. | Object |
보호 속성
속성 | 정의 주체 |
---|
공용 메서드
메서드 | 정의 주체 | ||
---|---|---|---|
Constructor. | MetricBase | ||
![]() |
지정된 속성이 객체에 정의되어 있는지 여부를 나타냅니다. | Object | |
![]() |
Object 클래스의 인스턴스가 매개 변수로 지정된 객체의 프로토타입 체인에 있는지 여부를 나타냅니다. | Object | |
![]() |
지정된 속성이 존재하고 열거 가능한지 여부를 나타냅니다. | Object | |
![]() |
루프 작업에서 동적 속성을 사용할 수 있는지 여부를 설정합니다. | Object | |
![]() |
로캘별 규칙에 따라 서식이 지정된 이 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 문자열 표현을 반환합니다. | Object | |
![]() |
지정된 객체의 프리미티브 값을 반환합니다. | Object |
보호 메서드
메서드 | 정의 주체 |
---|
속성 세부 정보
생성자 세부 정보
MetricBase | () | 생성자 |
public function MetricBase(qosInfoHistory:QoSInfoHistory, type:String)
Constructor.
매개 변수qosInfoHistory:QoSInfoHistory — The QoSInfoHistory to be used for computing the metric
| |
type:String — The type of the metric
|
메서드 세부 정보
Tue Jun 12 2018, 03:17 PM Z