getState

fun getState(): TrayState

Get a copy of the tray's current internal state.

This state can be transferred to a Bundle in onSaveInstanceState:

outState.putParcelable("tray_state", getState())

Return

A copy of the tray's internal state.