new Record(data)
Wrapper with stop method for record data obtained by calling pvrManager.GetAllTasks().
If record information would be changed it will emit corresponding event.
Parameters:
Name | Type | Description |
---|---|---|
data |
Object | result of pvrManager.GetAllTasks() call |
Example
var record = new Record(JSON.parse(pvrManager.GetAllTasks())[0]);
Extends
Namespaces
Methods
stop(callback)
Stop recording. Record end time will be set to current and as result it will change state to finished.
Parameters:
Name | Type | Description |
---|---|---|
callback |
callback | callback function |