/**@class android.preference.PreferenceGroup implements android.preference.GenericInflater.Parent @extends android.preference.Preference A container for multiple {@link android.preference.Preference} objects. It is a base class for Preference objects that are parents, such as {@link android.preference.PreferenceCategory} and {@link android.preference.PreferenceScreen}. <div class="special reference"> <h3>Developer Guides</h3> <p>For information about building a settings UI with Preferences, read the <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a> guide.</p> </div> @attr ref android.R.styleable#PreferenceGroup_orderingFromXml @deprecated Use the <a href="{@docRoot}jetpack/androidx.html">AndroidX</a> <a href="{@docRoot}reference/androidx/preference/package-summary.html"> Preference Library</a> for consistent behavior across all devices. For more information on using the AndroidX Preference Library see <a href="{@docRoot}guide/topics/ui/settings.html">Settings</a>. */ var PreferenceGroup = { /**Whether to order the {@link android.preference.Preference} children of this group as they are added. If this is false, the ordering will follow each Preference order and default to alphabetic for those without an order. <p> If this is called after preferences are added, they will not be re-ordered in the order they were added, hence call this method early on. @param {Boolean} orderingAsAdded Whether to order according to the order added. @see Preference#setOrder(int) */ setOrderingAsAdded : function( ) {}, /**Whether this group is ordering preferences in the order they are added. @return {Boolean} Whether this group orders based on the order the children are added. @see #setOrderingAsAdded(boolean) */ isOrderingAsAdded : function( ) {}, /**Called by the inflater to add an item to this group. */ addItemFromInflater : function( ) {}, /**Returns the number of children {@link android.preference.Preference}s. @return {Number} The number of preference children in this group. */ getPreferenceCount : function( ) {}, /**Returns the {@link android.preference.Preference} at a particular index. @param {Number} index The index of the {@link Preference} to retrieve. @return {Object {android.preference.Preference}} The {@link Preference}. */ getPreference : function( ) {}, /**Adds a {@link android.preference.Preference} at the correct position based on the preference's order. @param {Object {Preference}} preference The preference to add. @return {Boolean} Whether the preference is now in this group. */ addPreference : function( ) {}, /**Removes a {@link android.preference.Preference} from this group. @param {Object {Preference}} preference The preference to remove. @return {Boolean} Whether the preference was found and removed. */ removePreference : function( ) {}, /**Removes all {@link android.preference.Preference android.preference.Preferences} from this group. */ removeAll : function( ) {}, /**Finds a {@link android.preference.Preference} based on its key. If two {@link android.preference.Preference} share the same key (not recommended), the first to appear will be returned (to retrieve the other preference with the same key, call this method on the first preference). If this preference has the key, it will not be returned. <p> This will recursively search for the preference into children that are also {@link android.preference.PreferenceGroup android.preference.PreferenceGroups}. @param {Object {CharSequence}} key The key of the preference to retrieve. @return {Object {android.preference.Preference}} The {@link Preference} with the key, or null. */ findPreference : function( ) {}, /** */ notifyDependencyChange : function( ) {}, };