---
title: "getVariantsForCurrentReferenceStyle | Mobile sdk | Mobile sdk android | Android"
description: "getVariantsForCurrentReferenceStyle"
---

> 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.

# getVariantsForCurrentReferenceStyle

fun [getVariantsForCurrentReferenceStyle](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style/-m-t-style/get-variants-for-current-reference-style/)(): [List](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.collections/-list/index.html)<[MTMapStyleVariant](https://docs.maptiler.com/mobile-sdk/android/api/-map-tiler-s-d-k/com.maptiler.maptilersdk.map.style/-m-t-map-style-variant/)\>?

Returns variants for the current reference style if they exist.
