obtainSecondaryDisplayIds

fun obtainSecondaryDisplayIds(): List<DisplayId>

Obtains the list of all available secondary displays. Throws IllegalStateException if there are no secondary displays available.