mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-21 17:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,69 @@
|
||||
package org.osmf.traits
|
||||
{
|
||||
[Event(name="drmStateChange",type="org.osmf.events.DRMEvent")]
|
||||
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(username:String = null, password:String = null) : void
|
||||
{
|
||||
}
|
||||
|
||||
public function authenticateWithToken(token: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(value:Number) : void
|
||||
{
|
||||
this._period = value;
|
||||
}
|
||||
|
||||
final protected function setStartDate(value:Date) : void
|
||||
{
|
||||
this._startDate = value;
|
||||
}
|
||||
|
||||
final protected function setEndDate(value:Date) : void
|
||||
{
|
||||
this._endDate = value;
|
||||
}
|
||||
|
||||
final protected function setDrmState(value:String) : void
|
||||
{
|
||||
this._drmState = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user