#include <PVRGUIActionsPlayback.h>
◆ CPVRGUIActionsPlayback()
CPVRGUIActionsPlayback::CPVRGUIActionsPlayback |
( |
| ) |
|
◆ ~CPVRGUIActionsPlayback()
PVR::CPVRGUIActionsPlayback::~CPVRGUIActionsPlayback |
( |
| ) |
|
|
overridedefault |
◆ PlayChannelOnStartup()
bool CPVRGUIActionsPlayback::PlayChannelOnStartup |
( |
| ) |
const |
Plays the last played channel or the first channel of TV or Radio on startup.
- Returns
- True if playback was started, false otherwise.
◆ PlayEpgTag()
Play EPG tag.
- Parameters
-
item | containing an epg tag. |
mode | playback mode. |
- Returns
- true on success, false otherwise.
◆ PlayMedia()
bool CPVRGUIActionsPlayback::PlayMedia |
( |
const CFileItem & | item | ) |
const |
Playback the given file item.
- Parameters
-
item | containing a channel or a recording. |
- Returns
- True if the item could be played, false otherwise.
◆ PlayRecording()
bool CPVRGUIActionsPlayback::PlayRecording |
( |
const CFileItem & | item | ) |
const |
Play recording.
- Parameters
-
item | containing a recording or an epg tag. |
- Returns
- true on success, false otherwise.
◆ SeekBackward()
void CPVRGUIActionsPlayback::SeekBackward |
( |
unsigned int | iThreshold | ) |
|
Seek to the start of the previous epg event in timeshift buffer, relative to the currently playing event or if there is no previous event or if playback time is greater than given threshold, seek to the start of the playing event.
- Parameters
-
iThreshold | the value in seconds to trigger seek to start of current event instead of start of previous event. |
◆ SeekForward()
void CPVRGUIActionsPlayback::SeekForward |
( |
| ) |
|
Seek to the start of the next epg event in timeshift buffer, relative to the currently playing event. If there is no next event, seek to the end of the currently playing event (to the 'live' position).
◆ SwitchToChannel() [1/2]
bool CPVRGUIActionsPlayback::SwitchToChannel |
( |
const CFileItem & | item | ) |
const |
Switch channel.
- Parameters
-
item | containing a channel or an epg tag. |
- Returns
- true on success, false otherwise.
◆ SwitchToChannel() [2/2]
Start playback of the last played channel, and if there is none, play first channel in the current channelgroup.
- Parameters
-
type | The type of playback to be started (any, radio, tv). See PlaybackType enum |
- Returns
- True if playback was started, false otherwise.
The documentation for this class was generated from the following files: