Metodo PickerBuilder.setDeveloperKey
Imposta la chiave API del browser ottenuta da Google Developers Console. Consulta le
Guida per gli sviluppatori per informazioni dettagliate su come ottenere la chiave API del browser.
Firma
setDeveloperKey(key: string): PickerBuilder;
Dettagli
Facoltativo |
No |
Finale |
No |
Protetto |
No |
Statica |
No |
Parametri
Nome |
Tipo |
Facoltativo |
Descrizione |
key |
string |
No |
|
Resi
PickerBuilder
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2024-10-14 UTC.
[null,null,["Ultimo aggiornamento 2024-10-14 UTC."],[[["Allows developers to configure the Picker by setting the Browser API key obtained from the Google Developers Console."],["Requires a mandatory `key` parameter of type `string`, representing the Browser API key."],["Returns a `PickerBuilder` instance for further customization and building of the Picker widget."],["This method is not optional, final, protected, or static."],["Refer to the Developer's Guide for instructions on obtaining the Browser API key."]]],["This document describes the `setDeveloperKey` function, which configures the Browser API key for a service, sourced from the Google Developers Console. The function accepts a mandatory string parameter, `key`, representing the API key. It's a non-static, non-protected, non-final method with no optional parameters. Calling `setDeveloperKey` returns a `PickerBuilder` object, allowing for method chaining. Obtaining the API key is detailed in the Developer's Guide.\n"]]