Packageat.datacollection
Classpublic class DataItemVideo
InheritanceDataItemVideo Inheritance DataItemGeneric



Public Properties
 PropertyDefined by
 InheritedbookEnd : BookEndRow
The Book End for this data collection element per the IDataItem implementation
DataItemGeneric
 InheritedbookEndTime : Date
Internal variable to store the Book End date for this item.
DataItemGeneric
 InheritedbookStart : BookStartRow
The Book Start for this data collection element per the IDataItem implementation
DataItemGeneric
 InheritedbookStartTime : Date
Internal variable to store the Book Start date for this item.
DataItemGeneric
 InheriteddataWorkerOptions : uint
An unsigned integer (uint) that disables various elements of the data collection to be stored into the database
DataItemGeneric
  duration : int
Provide Documentation
DataItemVideo
 InheritedendEvent : String
The event that will dispatch signaling the end of data collection of the generic item.
DataItemGeneric
  filePath : String
Provide Documentation
DataItemVideo
 InheritedfriendlyName : String
A human readable name for your generic item
DataItemGeneric
  itemType : String
[read-only]
DataItemVideo
  lastPosition : int
Provide Documentation
DataItemVideo
 Inheritedproperties : Array
An array of string that correlate to public properties of the Target object.
DataItemGeneric
 InheritedremoveOnEndEvent : Boolean
A boolean to tell the data item worker to remove it from it's internal list once it has been pushed to the database.
DataItemGeneric
 InheritedstartEvent : String
The event that will dispatch signaling the beginning of data collection
DataItemGeneric
 Inheritedtarget : *
This will be the object responsible for providing values for the properties and dispatching the begin and end data collection events.
DataItemGeneric
  videoLength : int
Provide Documentation
DataItemVideo
Protected Properties
 PropertyDefined by
  _defaultProperties : Array
DataItemVideo
Public Methods
 MethodDefined by
  
DataItemVideo(target:*, friendlyName:String, dataWorkerOptions:uint, removeOnEndEvent:Boolean = false)
This method enables data collection of video players within an eVE Application or within a Content Slide.
DataItemVideo
 Inherited
addBookEndSlotData(args:Array):void
Pushes an array of data to be stored into the data collection database.
DataItemGeneric
 Inherited
addBookEndSlotDataSingle(args:Array):void
Similar to the addBookEndSlotData it will add data to the data slots, however, it will store an unlimited amount to the database.
DataItemGeneric
 Inherited
addBookStartSlotData(args:Array):void
Pushes an array of data to be stored into the DataCollection database.
DataItemGeneric
 Inherited
addBookStartSlotDataSingle(args:Array):void
Similar to the addBookStartSlotData it will add data to the data slots, however, it will store an unlimited amount to the database.
DataItemGeneric
  
DataItemVideo
Property detail
_defaultPropertiesproperty
protected var _defaultProperties:Array
durationproperty 
duration:int  [read-write]

Provide Documentation

Implementation
    public function get duration():int
    public function set duration(value:int):void
filePathproperty 
filePath:String  [read-write]

Provide Documentation

Implementation
    public function get filePath():String
    public function set filePath(value:String):void
itemTypeproperty 
itemType:String  [read-only]Implementation
    public function get itemType():String
lastPositionproperty 
lastPosition:int  [read-write]

Provide Documentation

Implementation
    public function get lastPosition():int
    public function set lastPosition(value:int):void
videoLengthproperty 
videoLength:int  [read-write]

Provide Documentation

Implementation
    public function get videoLength():int
    public function set videoLength(value:int):void
Constructor detail
DataItemVideo()constructor
public function DataItemVideo(target:*, friendlyName:String, dataWorkerOptions:uint, removeOnEndEvent:Boolean = false)

This method enables data collection of video players within an eVE Application or within a Content Slide. This can either be set up within Flex as a component or from a Flash project. From Flex it is recommended that you declare this item in the initalize event. However, it may be declared elsewhere in your project as long as it is added to the data collection module before the ADDED_TO_STAGE event is dispatched from the video playback. From Flash it is recommended that you declare this item within the constructor of the document class. You may also declare this item in the timeline as long as it is added to the data collection module before the ADDED_TO_STAGE event is dispatched from the video playback. Example: You have a flash project that contains an FLVPlayback component named "vid1". In the first frame of the timeline you would add the following actionscript. import at.datacollection. import at.datacollection.data. DataCollectionModule.addDataCollectionItem(new DataItemVideo(this.vid1,"My Video",DataWorkerOptions.USE_DEFAULTS));

Parameters
target:* — The instance of the video object.
 
friendlyName:String — A human readable title for this video.
 
dataWorkerOptions:uint — Any options that you would like to be disabled.
 
removeOnEndEvent:Boolean (default = false) — A boolean to tell the data item worker to remove it from it's internal list once it has been pushed to the database.
Method detail
removeListeners()method
public function removeListeners():void