FileDocCategorySizeDatePackage
SearchIndexableResource.javaAPI DocAndroid 5.1 API2431Thu Mar 12 22:22:10 GMT 2015android.provider

SearchIndexableResource

public class SearchIndexableResource extends SearchIndexableData
Search Indexable Resource. This class wraps a set of reference information representing data that can be indexed from a resource which would typically be a {@link android.preference.PreferenceScreen}. xmlResId: the resource ID of a {@link android.preference.PreferenceScreen} XML file.
see
SearchIndexableData
see
android.preference.PreferenceScreen
hide

Fields Summary
public int
xmlResId
Resource ID of the associated {@link android.preference.PreferenceScreen} XML file.
Constructors Summary
public SearchIndexableResource(int rank, int xmlResId, String className, int iconResId)
Constructor.

param
rank the rank of the data.
param
xmlResId the resource ID of a {@link android.preference.PreferenceScreen} XML file.
param
className the class name associated with the data (generally a {@link android.app.Fragment}).
param
iconResId the resource ID associated with the data.

        super();
        this.rank = rank;
        this.xmlResId = xmlResId;
        this.className = className;
        this.iconResId = iconResId;
    
public SearchIndexableResource(android.content.Context context)
Constructor.

param
context the Context associated with the data.

        super(context);
    
Methods Summary
public java.lang.StringtoString()

        final StringBuilder sb = new StringBuilder();
        sb.append("SearchIndexableResource[");
        sb.append(super.toString());
        sb.append(", ");
        sb.append("xmlResId: ");
        sb.append(xmlResId);
        sb.append("]");

        return sb.toString();