Metode Picker.setRelayUrl
Tentukan URL relai untuk mengakali masalah lintas-domain.
Tanda Tangan
setRelayUrl(url: string): Picker;
Detail
Opsional |
Tidak |
Final |
Tidak |
Dengan kontrasepsi |
Tidak |
Statis |
Tidak |
Parameter
Nama |
Jenis |
Opsional |
Deskripsi |
url |
string |
Tidak |
|
Hasil
Picker
Kecuali dinyatakan lain, konten di halaman ini dilisensikan berdasarkan Lisensi Creative Commons Attribution 4.0, sedangkan contoh kode dilisensikan berdasarkan Lisensi Apache 2.0. Untuk mengetahui informasi selengkapnya, lihat Kebijakan Situs Google Developers. Java adalah merek dagang terdaftar dari Oracle dan/atau afiliasinya.
Terakhir diperbarui pada 2024-11-09 UTC.
[null,null,["Terakhir diperbarui pada 2024-11-09 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."]]],[]]