seekToTime
Sets the playback point to a specified time.
Declaration
void seekToTime(
in int time
);Parameters
- time:
The time, in seconds from the beginning of media item, that play begins.
Discussion
Use this function to change where playback for a media item begins. The time where playback begins is passed, in seconds, by the time parameter. For example, to start a media item 5 minutes into playback, set the time parameter to 300.