Thời gian mới cho nội dung nghe nhìn, tính bằng giây sau khi bắt đầu nội dung đa phương tiện. Nếu loại nội dung đa phương tiện là chrome.cast.media.StreamType.LIVE, thì currentTime là không bắt buộc; nếu bạn không đặt chính sách này, luồng sẽ tiếp tục ở vị trí nội dung nghe nhìn trực tiếp.
Trạng thái trình phát nội dung đa phương tiện mà bạn muốn sau khi tìm kiếm xong. Nếu bạn không đặt thì chính sách này sẽ giữ nguyên trạng thái trước khi tìm kiếm.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003eSeekRequest\u003c/code\u003e objects are used to manage seeking within media playback on a cast device.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecurrentTime\u003c/code\u003e specifies the desired playback position, with optional behavior for live streams.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eresumeState\u003c/code\u003e controls whether media should play, pause, or remain unchanged after seeking.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003ecustomData\u003c/code\u003e allows for application-specific data to be sent alongside the seek request.\u003c/p\u003e\n"]]],[],null,["# Class: SeekRequest\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).SeekRequest\n=================================================================================================================================\n\nclass static\n\nA request to seek the current media.\n\nConstructor\n-----------\n\n### SeekRequest\n\nnew\nSeekRequest()\n\nProperties\n----------\n\n### currentTime\n\nnullable number\n\nThe new current time for the media, in seconds after the start of the\nmedia. If the media type is chrome.cast.media.StreamType.LIVE, then\ncurrentTime is optional; if not set, the stream will resume at the live\nmedia position.\n\n### customData\n\nnullable Object\n\nCustom data for the receiver application.\n\n### resumeState\n\nnullable [chrome.cast.media.ResumeState](/cast/docs/reference/web_sender/chrome.cast.media#.ResumeState)\n\nThe desired media player state after the seek is complete. If unset, it\nwill retain the state it had before seeking."]]