public class

SettingsManager

extends PdfViewCtrlSettingsManager
java.lang.Object
   ↳ com.pdftron.pdf.utils.PdfViewCtrlSettingsManager
     ↳ com.pdftron.demo.utils.SettingsManager

Summary

Constants
String KEY_PREF_BROWSER_NAV_TAB
String KEY_PREF_BROWSER_NAV_TAB_DEFAULT_VALUE
String KEY_PREF_CATEGORY_ABOUT
String KEY_PREF_CATEGORY_ANNOTATING
String KEY_PREF_CATEGORY_GENERAL
String KEY_PREF_CATEGORY_STYLUS
String KEY_PREF_CATEGORY_TABS
String KEY_PREF_CATEGORY_VIEWING
String KEY_PREF_FIRST_TIME_RUN
boolean KEY_PREF_FIRST_TIME_RUN_DEFAULT_VALUE
String KEY_PREF_LAST_OPENED_FILE_POSITION_IN_ALL_DOCUMENTS
int KEY_PREF_LAST_OPENED_FILE_POSITION_IN_ALL_DOCUMENTS_DEFAULT
String KEY_PREF_NAV_TAB
String KEY_PREF_NAV_TAB_DEFAULT_VALUE
String KEY_PREF_NAV_TAB_EXTERNAL
String KEY_PREF_NAV_TAB_FAVORITES
String KEY_PREF_NAV_TAB_FILES
String KEY_PREF_NAV_TAB_FOLDERS
String KEY_PREF_NAV_TAB_INTERNAL_CACHE
String KEY_PREF_NAV_TAB_NONE
String KEY_PREF_NAV_TAB_RECENT
String KEY_PREF_NAV_TAB_VIEWER
[Expand]
Inherited Constants
From class com.pdftron.pdf.utils.PdfViewCtrlSettingsManager
[Expand]
Inherited Fields
From class com.pdftron.pdf.utils.PdfViewCtrlSettingsManager
Public Constructors
SettingsManager()
Public Methods
static void clearLastOpenedFilePositionInAllDocuments(Context context)
Clears the previously opened file position in the all documents browser (sets value to -1)
static String getBrowserNavTab(Context context)
static boolean getFirstTimeRun(Context context)
static int getLastOpenedFilePositionInAllDocuments(Context context)
Gets the previously opened file position in the all documents browser.
static String getNavTab(Context context)
static void updateBrowserNavTab(Context context, String navTab)
static void updateFirstTimeRun(Context context, boolean value)
static void updateLastOpenedFilePositionInAllDocuments(Context context, int filePositionInAdapter)
Sets the previously opened file position in the all documents browser
static void updateNavTab(Context context, String navTab)
[Expand]
Inherited Methods
From class com.pdftron.pdf.utils.PdfViewCtrlSettingsManager
From class java.lang.Object

Constants

public static final String KEY_PREF_BROWSER_NAV_TAB

Constant Value: "browser_nav_tab"

public static final String KEY_PREF_BROWSER_NAV_TAB_DEFAULT_VALUE

Constant Value: "none"

public static final String KEY_PREF_CATEGORY_ABOUT

Constant Value: "pref_category_about"

public static final String KEY_PREF_CATEGORY_ANNOTATING

Constant Value: "pref_category_annotating"

public static final String KEY_PREF_CATEGORY_GENERAL

Constant Value: "pref_category_general"

public static final String KEY_PREF_CATEGORY_STYLUS

Constant Value: "pref_category_stylus"

public static final String KEY_PREF_CATEGORY_TABS

Constant Value: "pref_category_tabs"

public static final String KEY_PREF_CATEGORY_VIEWING

Constant Value: "pref_category_viewing"

public static final String KEY_PREF_FIRST_TIME_RUN

Constant Value: "pref_first_time_run"

public static final boolean KEY_PREF_FIRST_TIME_RUN_DEFAULT_VALUE

Constant Value: true

public static final String KEY_PREF_LAST_OPENED_FILE_POSITION_IN_ALL_DOCUMENTS

Constant Value: "last_opened_file_in_all_documents"

public static final int KEY_PREF_LAST_OPENED_FILE_POSITION_IN_ALL_DOCUMENTS_DEFAULT

Constant Value: -1 (0xffffffff)

public static final String KEY_PREF_NAV_TAB

Constant Value: "pref_nav_tab"

public static final String KEY_PREF_NAV_TAB_DEFAULT_VALUE

Constant Value: "none"

public static final String KEY_PREF_NAV_TAB_EXTERNAL

Constant Value: "external"

public static final String KEY_PREF_NAV_TAB_FAVORITES

Constant Value: "favorites"

public static final String KEY_PREF_NAV_TAB_FILES

Constant Value: "files"

public static final String KEY_PREF_NAV_TAB_FOLDERS

Constant Value: "folders"

public static final String KEY_PREF_NAV_TAB_INTERNAL_CACHE

Constant Value: "internal_cache"

public static final String KEY_PREF_NAV_TAB_NONE

Constant Value: "none"

public static final String KEY_PREF_NAV_TAB_RECENT

Constant Value: "recent"

public static final String KEY_PREF_NAV_TAB_VIEWER

Constant Value: "viewer"

Public Constructors

public SettingsManager ()

Public Methods

public static void clearLastOpenedFilePositionInAllDocuments (Context context)

Clears the previously opened file position in the all documents browser (sets value to -1)

public static String getBrowserNavTab (Context context)

public static boolean getFirstTimeRun (Context context)

public static int getLastOpenedFilePositionInAllDocuments (Context context)

Gets the previously opened file position in the all documents browser. Returns -1 if file position is not initalized or has been cleared

public static String getNavTab (Context context)

public static void updateBrowserNavTab (Context context, String navTab)

public static void updateFirstTimeRun (Context context, boolean value)

public static void updateLastOpenedFilePositionInAllDocuments (Context context, int filePositionInAdapter)

Sets the previously opened file position in the all documents browser

public static void updateNavTab (Context context, String navTab)