প্রেরকের শংসাপত্র সনাক্ত করতে ব্যবহৃত শংসাপত্র ডেটা।
ভাষা
বাতিলযোগ্য স্ট্রিং
রিসিভার অ্যাপ্লিকেশন চালু করার সময় Accept-Language হেডার মান যোগ করার জন্য ঐচ্ছিক ভাষা। আগে থেকে বিদ্যমান সেশনে যোগদান করলে উপেক্ষা করা হয়। মানটি ' হিসাবে উপস্থাপিত হয় - ' ট্যাগ RFC 5646 অনুযায়ী। যেমন 'es-ES'।
অনুরোধ সেশন টাইমআউট
সংখ্যা
মিলিসেকেন্ডে অ্যাপ্লিকেশনের জন্য একটি সেশনের অনুরোধ করার জন্য ব্যবহৃত সময়সীমা। chrome.cast.timeout.requestSession এর মান ডিফল্ট।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-24 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["\u003cp\u003e\u003ccode\u003echrome.cast.SessionRequest\u003c/code\u003e is used to initiate or join a Google Cast session with a receiver application.\u003c/p\u003e\n"],["\u003cp\u003eIt requires the receiver application ID (\u003ccode\u003eappId\u003c/code\u003e) and optionally accepts capabilities, timeout, Android receiver compatibility, and credentials data.\u003c/p\u003e\n"],["\u003cp\u003eKey properties include \u003ccode\u003eappId\u003c/code\u003e, \u003ccode\u003ecapabilities\u003c/code\u003e, \u003ccode\u003ecredentialsData\u003c/code\u003e, and \u003ccode\u003eandroidReceiverCompatible\u003c/code\u003e for configuring the session request.\u003c/p\u003e\n"],["\u003cp\u003eIt allows specifying the required capabilities of the receiver device and credentials for sender identification.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can set a timeout for the session request and indicate Android receiver compatibility.\u003c/p\u003e\n"]]],["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"],null,["# Class: SessionRequest\n\nchrome.[cast](/cast/docs/reference/web_sender/chrome.cast).SessionRequest\n=========================================================================\n\nclass static\n\nA request to start or connect to a session.\n\nConstructor\n-----------\n\n### SessionRequest\n\nnew\nSessionRequest(appId, capabilities, timeout, androidReceiverCompatible, credentialsData)\n\n| #### Parameter ||\n|---------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| appId | string The receiver application id. |\n| capabilities | Optional Array of non-null [chrome.cast.Capability](/cast/docs/reference/web_sender/chrome.cast#.Capability) Required capabilities for the receiver. Value must not be null. |\n| timeout | Optional number Optional timeout for requesting a session for this application. |\n| androidReceiverCompatible | Optional boolean Indicates if the app is compatible with an Android Receiver. |\n| credentialsData | Optional [chrome.cast.CredentialsData](/cast/docs/reference/web_sender/chrome.cast.CredentialsData) Credentials data used to identify the credentials of the sender. Value may be null. |\n\nProperties\n----------\n\n### androidReceiverCompatible\n\nboolean\n\nIndicates if the app is compatible with an Android Receiver.\n\n### appId\n\nstring\n\nThe receiver application id.\n\n### capabilities\n\nnon-null Array of non-null [chrome.cast.Capability](/cast/docs/reference/web_sender/chrome.cast#.Capability)\n\nCapabilities required of the receiver device.\n\n### credentialsData\n\nnullable [chrome.cast.CredentialsData](/cast/docs/reference/web_sender/chrome.cast.CredentialsData)\n\nCredentials data used to identify the credentials of the sender.\n\n### language\n\nnullable string\n\nOptional language to add to the Accept-Language header value when\nlaunching the receiver application. Ignored if joining an already\nexisting session. The value is represented as '-' tag as per RFC 5646. For example 'es-ES'.\n\n### requestSessionTimeout\n\nnumber\n\nThe timeout used for requesting a session for the application in\nmilliseconds. Defaults to the value of\nchrome.cast.timeout.requestSession."]]