C# Class Applicasa.Chat

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

Public Properties

Property Type Description
finalChat Applicasa.Chat[]
innerChat System.IntPtr
innerChatJavaObject UnityEngine.AndroidJavaObject

Public Methods

Method Description
Chat ( ) : System
Chat ( IntPtr chatPtr ) : System
Chat ( IntPtr chatPtr, AndroidJavaObject chatJavaObject ) : System
Delete ( System.Action action ) : void
GetArrayWithQuery ( Query query, QueryKind queryKind, GetChatArrayFinished callback ) : void
GetArrayWithQuerySync ( Query query, QueryKind queryKind ) : Applicasa.Chat[]
GetArrayWithQuerySyncIEnumerator ( Query query, QueryKind queryKind ) : IEnumerator
GetById ( string id, QueryKind queryKind, GetChatFinished callback ) : void
GetChatArray ( ChatArray chatArray ) : Applicasa.Chat[]
GetChatArrayIEnumerator ( ChatArray chatArray ) : IEnumerator
GetLocalArrayWithRawSqlQuery ( string rawQuery, GetChatArrayFinished 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
ApplicasaChat ( ) : IntPtr
ApplicasaChatDeleteWithBlock ( System chat, System.Action callback ) : void
ApplicasaChatGetArrayWithQuery ( IntPtr query, QueryKind queryKind, GetChatArrayFinished callback ) : void
ApplicasaChatGetArrayWithQuerySync ( IntPtr query, QueryKind queryKind ) : ChatArray
ApplicasaChatGetById ( string id, QueryKind queryKind, GetChatFinished callback ) : void
ApplicasaChatGetChatGhjgjgj ( System chat ) : string
ApplicasaChatGetChatID ( System chat ) : string
ApplicasaChatGetChatIsSender ( System chat ) : bool
ApplicasaChatGetChatLastUpdate ( System chat ) : double
ApplicasaChatGetChatReciepent ( System chat ) : IntPtr
ApplicasaChatGetChatSender ( System chat ) : IntPtr
ApplicasaChatGetChatText ( System chat ) : string
ApplicasaChatGetLocalArrayWithRawSqlQuery ( string rawQuery, GetChatArrayFinished callback ) : void
ApplicasaChatIncreaseFieldFloat ( System chat, Fields field, float val ) : void
ApplicasaChatIncreaseFieldInt ( System chat, Fields field, int val ) : void
ApplicasaChatSaveWithBlock ( System chat, System.Action callback ) : void
ApplicasaChatSetChatGhjgjgj ( System chat, string chatGhjgjgj ) : void
ApplicasaChatSetChatID ( System chat, string chatID ) : void
ApplicasaChatSetChatIsSender ( System chat, bool chatIsSender ) : void
ApplicasaChatSetChatReciepent ( System chat, IntPtr chatReciepent ) : void
ApplicasaChatSetChatSender ( System chat, IntPtr chatSender ) : void
ApplicasaChatSetChatText ( System chat, string chatText ) : void
ApplicasaChatUpdateLocalStorage ( IntPtr query, QueryKind queryKind ) : int
ApplicasaChatUploadFile ( System chat, Fields field, byte data, int dataLen, AMAZON_FILE_TYPES fileType, string extension, System.Action callback ) : void
setGetObjectArrayFinished ( GetChatArrayFinished callback, int uniqueActionID ) : void
setGetObjectFinished ( GetChatFinished callback, int uniqueActionID ) : void

Method Details

Chat() public method

public Chat ( ) : System
return System

Chat() public method

public Chat ( IntPtr chatPtr ) : System
chatPtr System.IntPtr
return System

Chat() public method

public Chat ( IntPtr chatPtr, AndroidJavaObject chatJavaObject ) : System
chatPtr System.IntPtr
chatJavaObject 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, GetChatArrayFinished callback ) : void
query Query
queryKind QueryKind
callback GetChatArrayFinished
return void

GetArrayWithQuerySync() public static method

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

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, GetChatFinished callback ) : void
id string
queryKind QueryKind
callback GetChatFinished
return void

GetChatArray() public static method

public static GetChatArray ( ChatArray chatArray ) : Applicasa.Chat[]
chatArray ChatArray
return Applicasa.Chat[]

GetChatArrayIEnumerator() public static method

public static GetChatArrayIEnumerator ( ChatArray chatArray ) : IEnumerator
chatArray ChatArray
return IEnumerator

GetLocalArrayWithRawSqlQuery() public static method

public static GetLocalArrayWithRawSqlQuery ( string rawQuery, GetChatArrayFinished callback ) : void
rawQuery string
callback GetChatArrayFinished
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

finalChat public_oe static_oe property

public static Chat[],Applicasa finalChat
return Applicasa.Chat[]

innerChat public_oe property

public IntPtr,System innerChat
return System.IntPtr

innerChatJavaObject public_oe property

public AndroidJavaObject,UnityEngine innerChatJavaObject
return UnityEngine.AndroidJavaObject