کلاس: PlayRequest
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\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."]]