---
title: "MTBuiltinColorRamp.values | Mobile sdk | Mobile sdk android | Android"
description: "values"
---

> For AI agents: a documentation index is available at [/llms.txt](https://docs.maptiler.com/llms.txt). Markdown versions of all pages are available by appending .md to any URL.

# MTBuiltinColorRamp.values

fun [values](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.colorramp/-m-t-builtin-color-ramp/values/)(): [Array](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html)<[MTBuiltinColorRamp](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.colorramp/-m-t-builtin-color-ramp/)\>

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.
