メソッド Picker.setRelayUrl
クロスドメインの問題を回避するためにリレー URL を指定します。
署名
setRelayUrl(url: string): Picker;
詳細
省略可 |
いいえ |
決勝 |
いいえ |
保護 |
いいえ |
静的 |
いいえ |
パラメータ
名前 |
Type |
省略可能 |
説明 |
url |
string |
いいえ |
|
戻り値
Picker
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-09 UTC。
[null,null,["最終更新日 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."]]],[]]