C# Class Applicasa.DataManager

Mostra file Open project: Applicasa/Sample-App-Unity Class Usage Examples

Public Properties

Property Type Description
finalDataManager Applicasa.DataManager[]
innerDataManager System.IntPtr
innerDataManagerJavaObject UnityEngine.AndroidJavaObject

Public Methods

Method Description
DataManager ( ) : System
DataManager ( IntPtr dataManagerPtr ) : System
DataManager ( IntPtr dataManagerPtr, AndroidJavaObject dataManagerJavaObject ) : System
Delete ( System.Action action ) : void
GetArrayWithQuery ( Query query, QueryKind queryKind, GetDataManagerArrayFinished callback ) : void
GetArrayWithQuerySync ( Query query, QueryKind queryKind ) : Applicasa.DataManager[]
GetArrayWithQuerySyncIEnumerator ( Query query, QueryKind queryKind ) : IEnumerator
GetById ( string id, QueryKind queryKind, GetDataManagerFinished callback ) : void
GetDataManagerArray ( DataManagerArray dataManagerArray ) : Applicasa.DataManager[]
GetDataManagerArrayIEnumerator ( DataManagerArray dataManagerArray ) : IEnumerator
GetLocalArrayWithRawSqlQuery ( string rawQuery, GetDataManagerArrayFinished callback ) : void
IncreaseField ( Fields field, float val ) : void
IncreaseField ( Fields field, int val ) : void
Save ( System.Action action ) : void
UpdateLocalStorage ( Query query, QueryKind queryKind ) : int
UploadFile ( byte data, Fields field, AMAZON_FILE_TYPES fileType, string extension, System.Action action ) : void

Private Methods

Method Description
ApplicasaDataManager ( ) : IntPtr
ApplicasaDataManagerDeleteWithBlock ( System dataManager, System.Action callback ) : void
ApplicasaDataManagerGetArrayWithQuery ( IntPtr query, QueryKind queryKind, GetDataManagerArrayFinished callback ) : void
ApplicasaDataManagerGetArrayWithQuerySync ( IntPtr query, QueryKind queryKind ) : DataManagerArray
ApplicasaDataManagerGetById ( string id, QueryKind queryKind, GetDataManagerFinished callback ) : void
ApplicasaDataManagerGetDataManagerAaa ( System dataManager ) : int
ApplicasaDataManagerGetDataManagerID ( System dataManager ) : string
ApplicasaDataManagerGetDataManagerLastUpdate ( System dataManager ) : double
ApplicasaDataManagerGetDataManagerName ( System dataManager ) : string
ApplicasaDataManagerGetLocalArrayWithRawSqlQuery ( string rawQuery, GetDataManagerArrayFinished callback ) : void
ApplicasaDataManagerIncreaseFieldFloat ( System dataManager, Fields field, float val ) : void
ApplicasaDataManagerIncreaseFieldInt ( System dataManager, Fields field, int val ) : void
ApplicasaDataManagerSaveWithBlock ( System dataManager, System.Action callback ) : void
ApplicasaDataManagerSetDataManagerAaa ( System dataManager, int dataManagerAaa ) : void
ApplicasaDataManagerSetDataManagerID ( System dataManager, string dataManagerID ) : void
ApplicasaDataManagerSetDataManagerName ( System dataManager, string dataManagerName ) : void
ApplicasaDataManagerUpdateLocalStorage ( IntPtr query, QueryKind queryKind ) : int
ApplicasaDataManagerUploadFile ( System dataManager, Fields field, byte data, int dataLen, AMAZON_FILE_TYPES fileType, string extension, System.Action callback ) : void
setGetObjectArrayFinished ( GetDataManagerArrayFinished callback, int uniqueActionID ) : void
setGetObjectFinished ( GetDataManagerFinished callback, int uniqueActionID ) : void

Method Details

DataManager() public method

public DataManager ( ) : System
return System

DataManager() public method

public DataManager ( IntPtr dataManagerPtr ) : System
dataManagerPtr System.IntPtr
return System

DataManager() public method

public DataManager ( IntPtr dataManagerPtr, AndroidJavaObject dataManagerJavaObject ) : System
dataManagerPtr System.IntPtr
dataManagerJavaObject UnityEngine.AndroidJavaObject
return System

Delete() public method

public Delete ( System.Action action ) : void
action System.Action
return void

GetArrayWithQuery() public static method

public static GetArrayWithQuery ( Query query, QueryKind queryKind, GetDataManagerArrayFinished callback ) : void
query Query
queryKind QueryKind
callback GetDataManagerArrayFinished
return void

GetArrayWithQuerySync() public static method

public static GetArrayWithQuerySync ( Query query, QueryKind queryKind ) : Applicasa.DataManager[]
query Query
queryKind QueryKind
return Applicasa.DataManager[]

GetArrayWithQuerySyncIEnumerator() public static method

public static GetArrayWithQuerySyncIEnumerator ( Query query, QueryKind queryKind ) : IEnumerator
query Query
queryKind QueryKind
return IEnumerator

GetById() public static method

public static GetById ( string id, QueryKind queryKind, GetDataManagerFinished callback ) : void
id string
queryKind QueryKind
callback GetDataManagerFinished
return void

GetDataManagerArray() public static method

public static GetDataManagerArray ( DataManagerArray dataManagerArray ) : Applicasa.DataManager[]
dataManagerArray DataManagerArray
return Applicasa.DataManager[]

GetDataManagerArrayIEnumerator() public static method

public static GetDataManagerArrayIEnumerator ( DataManagerArray dataManagerArray ) : IEnumerator
dataManagerArray DataManagerArray
return IEnumerator

GetLocalArrayWithRawSqlQuery() public static method

public static GetLocalArrayWithRawSqlQuery ( string rawQuery, GetDataManagerArrayFinished callback ) : void
rawQuery string
callback GetDataManagerArrayFinished
return void

IncreaseField() public method

public IncreaseField ( Fields field, float val ) : void
field Fields
val float
return void

IncreaseField() public method

public IncreaseField ( Fields field, int val ) : void
field Fields
val int
return void

Save() public method

public Save ( System.Action action ) : void
action System.Action
return void

UpdateLocalStorage() public static method

public static UpdateLocalStorage ( Query query, QueryKind queryKind ) : int
query Query
queryKind QueryKind
return int

UploadFile() public method

public UploadFile ( byte data, Fields field, AMAZON_FILE_TYPES fileType, string extension, System.Action action ) : void
data byte
field Fields
fileType AMAZON_FILE_TYPES
extension string
action System.Action
return void

Property Details

finalDataManager public_oe static_oe property

public static DataManager[],Applicasa finalDataManager
return Applicasa.DataManager[]

innerDataManager public_oe property

public IntPtr,System innerDataManager
return System.IntPtr

innerDataManagerJavaObject public_oe property

public AndroidJavaObject,UnityEngine innerDataManagerJavaObject
return UnityEngine.AndroidJavaObject