מחלקה: PlayRequest
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-25 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-25 (שעון UTC)."],[[["\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."]]