Class FileInfoManager
Inheritance
System.Object
FileInfoManager
Assembly: PDFViewCtrlTools.dll
public class FileInfoManager : Object
Constructors
Declaration
protected FileInfoManager(IntPtr javaReference, JniHandleOwnership transfer)
Parameters
Type |
Name |
Description |
System.IntPtr |
javaReference |
|
Android.Runtime.JniHandleOwnership |
transfer |
|
Declaration
protected FileInfoManager(string keyPreferenceFiles, int maxNumFiles)
Parameters
Type |
Name |
Description |
System.String |
keyPreferenceFiles |
|
System.Int32 |
maxNumFiles |
|
Properties
Declaration
public override JniPeerMembers JniPeerMembers { get; }
Property Value
Type |
Description |
Java.Interop.JniPeerMembers |
|
Declaration
protected string MKeyPreferenceFiles { get; set; }
Property Value
Type |
Description |
System.String |
|
Declaration
protected override IntPtr ThresholdClass { get; }
Property Value
Type |
Description |
System.IntPtr |
|
Declaration
protected override Type ThresholdType { get; }
Property Value
Type |
Description |
System.Type |
|
Methods
AddFile(Context, FileInfo)
Declaration
public virtual void AddFile(Context context, FileInfo fileInfo)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
FileInfo |
fileInfo |
|
AddPreferenceItem(ISharedPreferences, String, Int32)
Declaration
protected virtual void AddPreferenceItem(ISharedPreferences prefs, string data, int index)
Parameters
Type |
Name |
Description |
Android.Content.ISharedPreferences |
prefs |
|
System.String |
data |
|
System.Int32 |
index |
|
ClearFiles(Context)
Declaration
public virtual void ClearFiles(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Declaration
protected virtual FileInfo CloneFileInfo(FileInfo fileInfo)
Parameters
Returns
ContainsFile(Context, FileInfo)
Declaration
public virtual bool ContainsFile(Context context, FileInfo fileInfo)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
FileInfo |
fileInfo |
|
Returns
Type |
Description |
System.Boolean |
|
GetFile(Context, FileInfo)
Declaration
public virtual FileInfo GetFile(Context context, FileInfo fileInfo)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
FileInfo |
fileInfo |
|
Returns
GetFile(Context, Int32)
Declaration
public virtual FileInfo GetFile(Context context, int index)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Int32 |
index |
|
Returns
Declaration
protected virtual FileInfo GetFileInfo(JSONObject jsonObject)
Parameters
Type |
Name |
Description |
Org.Json.JSONObject |
jsonObject |
|
Returns
GetFiles(Context)
Declaration
public virtual IList<FileInfo> GetFiles(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.Collections.Generic.IList<FileInfo> |
|
IsEmpty(Context)
Declaration
public virtual bool IsEmpty(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.Boolean |
|
LoadPreferenceRefs(ISharedPreferences)
Declaration
protected virtual void LoadPreferenceRefs(ISharedPreferences prefs)
Parameters
Type |
Name |
Description |
Android.Content.ISharedPreferences |
prefs |
|
RemoveFile(Context, FileInfo)
Declaration
public virtual bool RemoveFile(Context context, FileInfo fileToRemove)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
FileInfo |
fileToRemove |
|
Returns
Type |
Description |
System.Boolean |
|
RemoveFiles(Context, IList<FileInfo>)
Declaration
public virtual IList<FileInfo> RemoveFiles(Context context, IList<FileInfo> filesToRemove)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Collections.Generic.IList<FileInfo> |
filesToRemove |
|
Returns
Type |
Description |
System.Collections.Generic.IList<FileInfo> |
|
SaveFiles(Context, IList<FileInfo>)
Declaration
public virtual void SaveFiles(Context context, IList<FileInfo> files)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
System.Collections.Generic.IList<FileInfo> |
files |
|
Size(Context)
Declaration
public virtual int Size(Context context)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
Returns
Type |
Description |
System.Int32 |
|
UpdateFile(Context, FileInfo)
Declaration
public virtual void UpdateFile(Context context, FileInfo fileInfo)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
FileInfo |
fileInfo |
|
UpdateFile(Context, FileInfo, FileInfo)
Declaration
public virtual bool UpdateFile(Context context, FileInfo oldFile, FileInfo newFile)
Parameters
Type |
Name |
Description |
Android.Content.Context |
context |
|
FileInfo |
oldFile |
|
FileInfo |
newFile |
|
Returns
Type |
Description |
System.Boolean |
|