Lớp: GetStatusRequest
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-07-25 UTC.
[null,null,["Cập nhật lần gần đây nhất: 2025-07-25 UTC."],[[["\u003cp\u003e\u003ccode\u003echrome.cast.media.GetStatusRequest\u003c/code\u003e is a class used to request the current status of media playback on a Cast receiver.\u003c/p\u003e\n"],["\u003cp\u003eIt includes a \u003ccode\u003ecustomData\u003c/code\u003e property, an optional object that can be used to send application-specific data to the receiver.\u003c/p\u003e\n"]]],["The `GetStatusRequest` class, part of the `chrome.cast.media` API, is used to retrieve the media status. It is instantiated using the `new GetStatusRequest()` constructor. A key property of this request is `customData`, which allows for sending custom data to the receiver application. This `customData` is an optional object and can be null.\n"],null,["# Class: GetStatusRequest\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).[media](/cast/docs/reference/web_sender/chrome.cast.media).GetStatusRequest\n======================================================================================================================================\n\nclass static\n\nA request to get the media status.\n\nConstructor\n-----------\n\n### GetStatusRequest\n\nnew\nGetStatusRequest()\n\nProperty\n--------\n\n### customData\n\nnullable Object\n\nCustom data for the receiver application."]]