mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09:37:50 -05:00
69 lines
1.5 KiB
ActionScript
69 lines
1.5 KiB
ActionScript
package org.osmf.traits
|
|
{
|
|
public class DRMTrait extends MediaTraitBase
|
|
{
|
|
|
|
private var _drmState:String = "uninitialized";
|
|
|
|
private var _period:Number = 0;
|
|
|
|
private var _endDate:Date;
|
|
|
|
private var _startDate:Date;
|
|
|
|
public function DRMTrait()
|
|
{
|
|
super(MediaTraitType.DRM);
|
|
}
|
|
|
|
public function authenticate(param1:String = null, param2:String = null) : void
|
|
{
|
|
}
|
|
|
|
public function authenticateWithToken(param1:Object) : void
|
|
{
|
|
}
|
|
|
|
public function get drmState() : String
|
|
{
|
|
return this._drmState;
|
|
}
|
|
|
|
public function get startDate() : Date
|
|
{
|
|
return this._startDate;
|
|
}
|
|
|
|
public function get endDate() : Date
|
|
{
|
|
return this._endDate;
|
|
}
|
|
|
|
public function get period() : Number
|
|
{
|
|
return this._period;
|
|
}
|
|
|
|
final protected function setPeriod(param1:Number) : void
|
|
{
|
|
this._period = param1;
|
|
}
|
|
|
|
final protected function setStartDate(param1:Date) : void
|
|
{
|
|
this._startDate = param1;
|
|
}
|
|
|
|
final protected function setEndDate(param1:Date) : void
|
|
{
|
|
this._endDate = param1;
|
|
}
|
|
|
|
final protected function setDrmState(param1:String) : void
|
|
{
|
|
this._drmState = param1;
|
|
}
|
|
}
|
|
}
|
|
|