Metoda PickerBuilder.setDeveloperKey
Ustawia klucz interfejsu Browser API uzyskany z Konsoli Google Developers. Zobacz
Przewodnik dla programistów zawiera szczegółowe informacje o tym, jak uzyskać klucz interfejsu API przeglądarki.
Podpis
setDeveloperKey(key: string): PickerBuilder;
Szczegóły
Opcjonalnie |
Nie |
Finał |
Nie |
Chroniony |
Nie |
Statyczny |
Nie |
Parametry
Nazwa |
Typ |
Opcjonalnie |
Opis |
key |
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-10-14 UTC.
[null,null,["Ostatnia aktualizacja: 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."]]],[]]