|
Twitch SDK (Internal)
|
#include <ichatreplay.h>
Public Member Functions | |
| virtual | ~IChatReplay () |
| virtual TTV_ErrorCode | Dispose ()=0 |
| virtual TTV_ErrorCode | Play ()=0 |
| virtual TTV_ErrorCode | Pause ()=0 |
| virtual TTV_ErrorCode | Seek (Timestamp timestamp)=0 |
| virtual TTV_ErrorCode | NudgePlayhead (uint64_t timestampMilliseconds)=0 |
| virtual TTV_ErrorCode | GetCurrentTime (Timestamp ×tamp) const =0 |
| virtual TTV_ErrorCode | DeleteMessage (const std::string &messageId)=0 |
| virtual TTV_ErrorCode | GetChannelId (UserId &result) const =0 |
| virtual TTV_ErrorCode | GetReplayState (ChatReplayState &result) const =0 |
The interface for chat replay functionality.
|
virtual |
|
pure virtual |
Deletes the given message from the replay on the backend so that it cannot be viewed by any other users. The user's OAuth token must have permission to perform the deletion.
Implemented in ttv::chat::ChatReplay.
|
pure virtual |
This should be called when the application is done with the instance.
Implemented in ttv::chat::ChatReplay.
|
pure virtual |
Puts the channel ID in result.
Implemented in ttv::chat::ChatReplay.
|
pure virtual |
Retrieves the time for the playhead.
Implemented in ttv::chat::ChatReplay.
|
pure virtual |
Puts the current replay state in result. Set to PAUSED initially.
Implemented in ttv::chat::ChatReplay.
|
pure virtual |
Moves the playhead to absolute time in milliseconds, should be called periodically by the player to correct millisecond clock drift.
Implemented in ttv::chat::ChatReplay.
|
pure virtual |
Pauses the playhead. Should be called when the video player's pause is called, or when the video player starts buffering.
Implemented in ttv::chat::ChatReplay.
|
pure virtual |
Initiates playback of the messages and causes the playhead to advance. Should be called when the video player starts playing, or resumes from buffering, with a NudgePlayhead() if necessary. Has no effect when current ChatReplayState is BUFFERING, because playback will automatically resume when done buffering.
Implemented in ttv::chat::ChatReplay.
|
pure virtual |
Sets the current playhead time to be the given time. If the state is playing this may cause buffering if the messages around the given time are not locally cached.
Implemented in ttv::chat::ChatReplay.
1.8.13