方法 PickerBuilder.setRelayUrl
设置用于 gadgets.rpc 的中继网址。
签名
setRelayUrl(url: string): PickerBuilder;
详细信息
参数
返回
PickerBuilder
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-11-07。
[null,null,["最后更新时间 (UTC):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"]]