方法 PickerBuilder.setRelayUrl
設定用於 gadgets.rpc 的轉送網址。
簽名
setRelayUrl(url: string): PickerBuilder;
詳細資料
參數
傳回
PickerBuilder
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-11-07 (世界標準時間)。
[null,null,["上次更新時間:2024-11-07 (世界標準時間)。"],[[["`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"]]