Open this page in the API Guide

NaturalLanguageBar.getContextState Method

Set the UI context state to be saved in dundas.UIContextFocus