mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01: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,41 @@
|
||||
package org.osmf.traits
|
||||
{
|
||||
import org.osmf.events.DVREvent;
|
||||
|
||||
public class DVRTrait extends MediaTraitBase
|
||||
{
|
||||
|
||||
private var _isRecording:Boolean;
|
||||
|
||||
public function DVRTrait(param1:Boolean = false)
|
||||
{
|
||||
_isRecording = param1;
|
||||
super("dvr");
|
||||
}
|
||||
|
||||
final public function get isRecording() : Boolean
|
||||
{
|
||||
return _isRecording;
|
||||
}
|
||||
|
||||
final protected function setIsRecording(param1:Boolean) : void
|
||||
{
|
||||
if(param1 != _isRecording)
|
||||
{
|
||||
isRecordingChangeStart(param1);
|
||||
_isRecording = param1;
|
||||
isRecordingChangeEnd();
|
||||
}
|
||||
}
|
||||
|
||||
protected function isRecordingChangeStart(param1:Boolean) : void
|
||||
{
|
||||
}
|
||||
|
||||
protected function isRecordingChangeEnd() : void
|
||||
{
|
||||
dispatchEvent(new DVREvent("isRecordingChange"));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user