メソッド PickerBuilder.setDeveloperKey
Google Developers Console から取得したブラウザの API キーを設定します。Browser API キーの取得方法については、デベロッパー ガイドをご覧ください。
署名
setDeveloperKey(key: string): PickerBuilder;
詳細
省略可 |
いいえ |
決勝 |
いいえ |
保護 |
いいえ |
静的 |
いいえ |
パラメータ
名前 |
Type |
省略可能 |
説明 |
key |
string |
いいえ |
|
戻り値
PickerBuilder
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-07 UTC。
[null,null,["最終更新日 2024-11-07 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"]]