類別:PlayRequest
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003echrome.cast.media.PlayRequest\u003c/code\u003e enables resuming playback of paused media on a cast receiver.\u003c/p\u003e\n"],["\u003cp\u003eIt's a class with a constructor to create a new request and a \u003ccode\u003ecustomData\u003c/code\u003e property for application-specific information.\u003c/p\u003e\n"]]],["The `PlayRequest` class in the `chrome.cast.media` namespace is used to request the playback of currently paused media. It's initiated with the `new PlayRequest()` constructor. The class includes a single property, `customData`, which is a nullable object. This property allows developers to send custom data to the receiver application along with the play request.\n"],null,["# Class: PlayRequest\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).PlayRequest\n=================================================================================================================================\n\nclass static\n\nA request to play the currently paused media.\n\nConstructor\n-----------\n\n### PlayRequest\n\nnew\nPlayRequest()\n\nProperty\n--------\n\n### customData\n\nnullable Object\n\nCustom data for the receiver application."]]