داده های اعتبار مورد استفاده برای شناسایی اعتبار فرستنده.
زبان
رشته پوچ
زبان اختیاری برای افزودن به مقدار هدر Accept-Language هنگام راهاندازی برنامه گیرنده. در صورت پیوستن به یک جلسه از قبل نادیده گرفته می شود. مقدار به صورت ' نمایش داده می شود - برچسب ' مطابق RFC 5646. برای مثال 'es-ES'.
requestSessionTimeout
عدد
بازه زمانی مورد استفاده برای درخواست جلسه برای برنامه در میلی ثانیه. مقدار پیشفرض chrome.cast.timeout.requestSession.
تاریخ آخرین بهروزرسانی 2025-01-10 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-10 بهوقت ساعت هماهنگ جهانی."],[[["`chrome.cast.SessionRequest` is used to initiate or join a Google Cast session with a receiver application."],["It requires the receiver application ID (`appId`) and optionally accepts capabilities, timeout, Android receiver compatibility, and credentials data."],["Key properties include `appId`, `capabilities`, `credentialsData`, and `androidReceiverCompatible` for configuring the session request."],["It allows specifying the required capabilities of the receiver device and credentials for sender identification."],["Developers can set a timeout for the session request and indicate Android receiver compatibility."]]],["The `SessionRequest` class facilitates starting or connecting to a session. It requires an `appId` and accepts optional parameters: `capabilities` (receiver requirements), `timeout` (session request duration), `androidReceiverCompatible` (Android compatibility), and `credentialsData` (sender credentials). Properties include these parameters, plus `language` for receiver launch and `requestSessionTimeout` for request duration. It defines the specifications to request a casting session.\n"]]