ColorPalette
決定「通用空氣品質指數」(UAQI) 所提供資料所使用的調色盤。這個調色盤僅適用於 UAQI,其他 AQI 有預定的調色盤,無法控制。
列舉 |
COLOR_PALETTE_UNSPECIFIED |
預設值。如果以參數的形式傳遞,則系統會忽略這項設定。 |
RED_GREEN |
決定是否要使用紅色/綠色調色盤。 |
INDIGO_PERSIAN_DARK |
決定是否要使用靛藍色/波斯文調色盤 (深色主題)。 |
INDIGO_PERSIAN_LIGHT |
決定是否要使用靛藍色/波斯文調色盤 (淺色主題)。 |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-11-01 (世界標準時間)。
[null,null,["上次更新時間:2023-11-01 (世界標準時間)。"],[[["Defines the color scheme applied to data from the \"Universal Air Quality Index\" (UAQI)."],["Offers a choice between a red/green palette or two indigo/persian palettes (one for dark themes and one for light themes)."],["This color palette selection only affects UAQI data visualization and does not apply to other AQIs, which use their own predetermined color palettes."]]],[]]