ColorPalette
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
ユニバーサル大気質指数(UAQI)によって提供されるデータに使用するカラーパレットを決定します。このカラーパレットは UAQI 専用です。他の AQI にはあらかじめ決められたカラーパレットがあり、コントロールできません。
列挙型 |
COLOR_PALETTE_UNSPECIFIED |
デフォルト値。パラメータとして渡された場合は無視されます。 |
RED_GREEN |
赤/緑パレットを使用するかどうかを指定します。 |
INDIGO_PERSIAN_DARK |
インディゴ/ペルシャパレット(ダークモード)を使用するかどうかを指定します。 |
INDIGO_PERSIAN_LIGHT |
インディゴ/ペルシャパレット(ライトモード)を使用するかどうかを決定します。 |
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-08-31 UTC。
[null,null,["最終更新日 2025-08-31 UTC。"],[[["\u003cp\u003eDefines the color scheme applied to data from the "Universal Air Quality Index" (UAQI).\u003c/p\u003e\n"],["\u003cp\u003eOffers a choice between a red/green palette or two indigo/persian palettes (one for dark themes and one for light themes).\u003c/p\u003e\n"],["\u003cp\u003eThis color palette selection only affects UAQI data visualization and does not apply to other AQIs, which use their own predetermined color palettes.\u003c/p\u003e\n"]]],[],null,["# ColorPalette\n\nDetermines the color palette used for the data provided by the \"Universal Air Quality Index\" (UAQI). This color palette is relevant just for UAQI, other AQIs have a predetermined color palette that can't be controlled.\n\n| Enums ||\n|-----------------------------|-------------------------------------------------------------------|\n| `COLOR_PALETTE_UNSPECIFIED` | The default value. Ignored if passed as a parameter. |\n| `RED_GREEN` | Determines whether to use a red/green palette. |\n| `INDIGO_PERSIAN_DARK` | Determines whether to use a indigo/persian palette (dark theme). |\n| `INDIGO_PERSIAN_LIGHT` | Determines whether to use a indigo/persian palette (light theme). |"]]