类:PauseRequest
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-25。
[null,null,["最后更新时间 (UTC):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."]]