類別:GetStatusRequestData
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-25 (世界標準時間)。
[null,null,["上次更新時間:2025-07-25 (世界標準時間)。"],[[["\u003cp\u003e\u003ccode\u003eGetStatusRequestData\u003c/code\u003e is a class representing the data for a GET_STATUS request in the media event, extending \u003ccode\u003ecast.framework.messages.RequestData\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt includes properties like \u003ccode\u003ecustomData\u003c/code\u003e for application-specific data, \u003ccode\u003emediaSessionId\u003c/code\u003e for the relevant media session, and \u003ccode\u003eoptions\u003c/code\u003e for request-specific configurations.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003erequestId\u003c/code\u003e property correlates the request and its response, while \u003ccode\u003esequenceNumber\u003c/code\u003e helps synchronize queue commands, both inherited from \u003ccode\u003eRequestData\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eoptions\u003c/code\u003e property specifically holds the settings for a GET_STATUS request, providing further control over the operation.\u003c/p\u003e\n"]]],["`GetStatusRequestData` is a class for media event status requests. It includes properties for `customData`, enabling application-specific data exchange between sender and receiver, and `mediaSessionId` to identify the target media session. It also contains `options` for request configurations. Additional inherited properties such as `requestId` for request/response correlation, and `sequenceNumber` for queue command synchronization, are included. This class extends `RequestData`, inheriting some of its properties.\n"],null,["# Class: GetStatusRequestData\n\ncast.[framework](/cast/docs/reference/web_receiver/cast.framework).[messages](/cast/docs/reference/web_receiver/cast.framework.messages).GetStatusRequestData\n=============================================================================================================================================================\n\nclass static\n\nMedia event GET_STATUS request data.\n\nConstructor\n-----------\n\n### GetStatusRequestData\n\nnew\nGetStatusRequestData()\n\nExtends\n: [cast.framework.messages.RequestData](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData)\n\nProperties\n----------\n\n### customData\n\n(non-null Object or undefined)\n\nApplication-specific data for this request. It enables the sender and\nreceiver to easily extend the media protocol without having to use a new\nnamespace with custom messages.\n\nInherited from\n: [cast.framework.messages.RequestData#customData](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData#customData)\n\n### mediaSessionId\n\n(number or undefined)\n\nId of the media session that the request applies to.\n\nInherited from\n: [cast.framework.messages.RequestData#mediaSessionId](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData#mediaSessionId)\n\n### options\n\n(non-null [cast.framework.messages.GetStatusOptions](/cast/docs/reference/web_receiver/cast.framework.messages#.GetStatusOptions) or undefined)\n\nThe options of a GET_STATUS request.\n\n### requestId\n\nnumber\n\nId of the request, used to correlate request/response.\n\nInherited from\n: [cast.framework.messages.RequestData#requestId](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData#requestId)\n\n### sequenceNumber\n\n(number or undefined)\n\nA number to synchronize all queue commands.\nIf provided for a queue command, the SDK will verify the queue latest\nsequence number match the request.\nCurrent sequenceNumber is provided as part of outgoing queue changed\nmessages.\n\nInherited from\n: [cast.framework.messages.RequestData#sequenceNumber](/cast/docs/reference/web_receiver/cast.framework.messages.RequestData#sequenceNumber)"]]