মেথড পিকার.setRelayUrl
ক্রস-ডোমেন সমস্যাগুলি এড়াতে একটি রিলে URL নির্দিষ্ট করুন৷
স্বাক্ষর
setRelayUrl(url: string): Picker;
বিস্তারিত
ঐচ্ছিক | না |
---|
ফাইনাল | না |
---|
সুরক্ষিত | না |
---|
স্থির | না |
---|
পরামিতি
নাম | টাইপ | ঐচ্ছিক | বর্ণনা |
---|
url | string | না | |
রিটার্নস
Picker
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-11-12 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["The `setRelayUrl` method allows you to define a relay URL for the Picker."],["This is primarily used to bypass cross-domain restrictions that may arise during file uploads or other interactions."],["Using this method, you provide a `string` representing the relay URL to the `setRelayUrl` function, which then applies this setting to the Picker instance."],["This is an optional configuration, but it can be crucial for ensuring seamless functionality in environments with cross-domain policies."],["The method is not static, protected, or final, indicating its role as an instance-level configuration option within the Picker class."]]],["The core function `setRelayUrl` accepts a mandatory string parameter `url` to define a relay URL, addressing cross-domain problems. This method is neither optional, final, protected, nor static. It returns a `Picker` object and requires a URL string as input. The function allows specifying a relay URL to solve cross domain problems, through the use of a string parameter, that is required, called `url`.\n"]]