public static interface

PopulateSdFolderTask.Callback

com.pdftron.demo.asynctask.PopulateSdFolderTask.Callback
Known Indirect Subclasses

Class Overview

Callback interface invoked regarding PopulateSdFolderTask.

Summary

Public Methods
abstract void onCurrentRootRemoved()
Called when the current root is no longer available
abstract void onPopulateSdFilesTaskFinished()
Called when the task has been terminated.
abstract void onPopulateSdFilesTaskProgressUpdated(List<ExternalFileInfo> rootList)
Called when the task has updated file info list.
abstract void onPopulateSdFilesTaskProgressUpdated(ExternalFileInfo savedRoot, ExternalFileInfo savedFolder, ExternalFileInfo savedLeaf)
Called when the task has built special saved folder.
abstract void onPopulateSdFilesTaskStarted()
Called when the task has started.

Public Methods

public abstract void onCurrentRootRemoved ()

Called when the current root is no longer available

public abstract void onPopulateSdFilesTaskFinished ()

Called when the task has been terminated.

public abstract void onPopulateSdFilesTaskProgressUpdated (List<ExternalFileInfo> rootList)

Called when the task has updated file info list.

Parameters
rootList The populated root list

public abstract void onPopulateSdFilesTaskProgressUpdated (ExternalFileInfo savedRoot, ExternalFileInfo savedFolder, ExternalFileInfo savedLeaf)

Called when the task has built special saved folder.

Parameters
savedRoot The saved root
savedFolder The saved folder
savedLeaf The saved leaf

public abstract void onPopulateSdFilesTaskStarted ()

Called when the task has started.