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