Version: 2018.2
public static string[] names ;

Description

The indexed list of available Quality Settings.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { string[] names; names = QualitySettings.names; } }