お知らせ:
2025 年 4 月 15 日より前に Earth Engine の使用を登録したすべての非商用プロジェクトは、Earth Engine へのアクセスを維持するために
非商用目的での利用資格を確認する必要があります。
ee.data.authenticateViaPopup
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ユーザーの権限を求めるポップアップを表示します。ee.data.authenticate() が過去に opt_onImmediateFailed 引数を呼び出した場合にのみ呼び出す必要があります。
ユーザーが開始したハンドラの外部で呼び出された場合、ポップアップ ブロッカーによってブロックされる可能性があります。
用途 | 戻り値 |
---|
ee.data.authenticateViaPopup(success, error) | |
引数 | タイプ | 詳細 |
---|
success | 関数(省略可) | 認証が成功した場合に呼び出す関数。 |
error | 関数(省略可) | 認証に失敗した場合に呼び出す関数。エラー メッセージを渡します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[[["\u003cp\u003eThis function triggers a popup for user authentication, but only if a previous authentication attempt failed.\u003c/p\u003e\n"],["\u003cp\u003ePopup blockers may prevent the authentication popup if not initiated by a user action.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eee.data.authenticateViaPopup()\u003c/code\u003e allows specifying success and error callback functions.\u003c/p\u003e\n"]]],[],null,["# ee.data.authenticateViaPopup\n\n\u003cbr /\u003e\n\nShows a popup asking for the user's permission. Should only be called if ee.data.authenticate() called its opt_onImmediateFailed argument in the past.\n\n\u003cbr /\u003e\n\nMay be blocked by pop-up blockers if called outside a user-initiated handler.\n\n| Usage | Returns |\n|---------------------------------------------------------|---------|\n| `ee.data.authenticateViaPopup(`*success* `, `*error*`)` | |\n\n| Argument | Type | Details |\n|-----------|--------------------|--------------------------------------------------------------------------|\n| `success` | Function, optional | The function to call if authentication succeeds. |\n| `error` | Function, optional | The function to call if authentication fails, passing the error message. |"]]