Metoda PickerBuilder.setRelayUrl
Ustaw adres URL przekaźnika, który jest używany w przypadku gadgets.rpc.
Podpis
setRelayUrl(url: string): PickerBuilder;
Szczegóły
Opcjonalnie |
Nie |
Finał |
Nie |
Chroniony |
Nie |
Statyczny |
Nie |
Parametry
Nazwa |
Typ |
Opcjonalnie |
Opis |
url |
string |
Nie |
|
Zwroty
PickerBuilder
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-11-07 UTC.
[null,null,["Ostatnia aktualizacja: 2024-11-07 UTC."],[[["`setRelayUrl` configures the relay URL necessary for gadget RPC communication."],["This method accepts a mandatory `url` parameter of type string and is chainable, returning a `PickerBuilder` instance for further configurations."],["It's an instance-level method and can be adjusted anytime before finalizing the picker setup."]]],["The `setRelayUrl` function configures the relay URL for gadgets.rpc. It accepts a mandatory string parameter, `url`, which represents the relay URL to be set. This function is not optional, final, protected, or static. It returns a `PickerBuilder` object, allowing for further configuration. The `url` is a required string, and no further description for it is available in this provided content.\n"]]