Navigation
API > API/Runtime > API/Runtime/Media > API/Runtime/Media/IMediaControls
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Change the media's playback time. | IMediaControls.h | ||
virtual bool Seek
(
const FTimespan& InNewTime, |
Same as Seek(), but with additional options. | IMediaControls.h | |
bool Seek
(
const FTimespan& TimeOffset, |
Change the playback time of the media by a relative offset in the given direction. | IMediaControls.h |
Seek(const FTimespan &)
Description
Change the media's playback time.
| Name | Seek |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaControls.h |
| Include Path | #include "IMediaControls.h" |
bool Seek
(
const FTimespan & Time
)
true on success, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| Time | The playback time to set. |
See Also
Seek(const FTimespan &, const FMediaSeekParams &)
Description
Same as Seek(), but with additional options. This default implementation just calls Seek() and ignores options.
| Name | Seek |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaControls.h |
| Include Path | #include "IMediaControls.h" |
virtual bool Seek
(
const FTimespan & InNewTime,
const FMediaSeekParams & InAdditionalParams
)
Seek(const FTimespan &, EMediaSeekDirection)
Description
Change the playback time of the media by a relative offset in the given direction.
| Name | Seek |
| Type | function |
| Header File | /Engine/Source/Runtime/Media/Public/IMediaControls.h |
| Include Path | #include "IMediaControls.h" |
bool Seek
(
const FTimespan & TimeOffset,
EMediaSeekDirection Direction
)
true on success, false otherwise.
Parameters
| Name | Remarks |
|---|---|
| TimeOffset | The offset to apply to the time. |
| Direction | The direction to seek in. |