LeanCloud C# SDK
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Properties | List of all members
LeanCloud.LiveQuery.LCLiveQuery Class Reference

LeanCloud LiveQuery. More...

Public Member Functions

async Task Subscribe ()
 
async Task Unsubscribe ()
 

Public Attributes

Action< LCObjectOnCreate
 A new LCObject which fulfills the LCQuery you subscribe is created.
 
Action< LCObject, ReadOnlyCollection< string > > OnUpdate
 An existing LCObject which fulfills the LCQuery you subscribe is updated.
 
Action< string > OnDelete
 An existing LCObject which fulfills the LCQuery you subscribe is deleted.
 
Action< LCObject, ReadOnlyCollection< string > > OnEnter
 An existing LCObject which doesn't fulfill the LCQuery is updated and now it fulfills the LCQuery.
 
Action< LCObject, ReadOnlyCollection< string > > OnLeave
 An existing LCObject which fulfills the LCQuery is updated and now it doesn't fulfill the LCQuery.
 
Action< LCUserOnLogin
 A LCUser logged in successfully.
 

Properties

string Id [get]
 
LCQuery Query [get, set]
 

Detailed Description

LeanCloud LiveQuery.

Member Function Documentation

◆ Subscribe()

async Task LeanCloud.LiveQuery.LCLiveQuery.Subscribe ( )
inline

◆ Unsubscribe()

async Task LeanCloud.LiveQuery.LCLiveQuery.Unsubscribe ( )
inline

Member Data Documentation

◆ OnCreate

Action<LCObject> LeanCloud.LiveQuery.LCLiveQuery.OnCreate

A new LCObject which fulfills the LCQuery you subscribe is created.

◆ OnDelete

Action<string> LeanCloud.LiveQuery.LCLiveQuery.OnDelete

An existing LCObject which fulfills the LCQuery you subscribe is deleted.

◆ OnEnter

Action<LCObject, ReadOnlyCollection<string> > LeanCloud.LiveQuery.LCLiveQuery.OnEnter

An existing LCObject which doesn't fulfill the LCQuery is updated and now it fulfills the LCQuery.

◆ OnLeave

Action<LCObject, ReadOnlyCollection<string> > LeanCloud.LiveQuery.LCLiveQuery.OnLeave

An existing LCObject which fulfills the LCQuery is updated and now it doesn't fulfill the LCQuery.

◆ OnLogin

Action<LCUser> LeanCloud.LiveQuery.LCLiveQuery.OnLogin

A LCUser logged in successfully.

◆ OnUpdate

Action<LCObject, ReadOnlyCollection<string> > LeanCloud.LiveQuery.LCLiveQuery.OnUpdate

An existing LCObject which fulfills the LCQuery you subscribe is updated.

Property Documentation

◆ Id

string LeanCloud.LiveQuery.LCLiveQuery.Id
get

◆ Query

LCQuery LeanCloud.LiveQuery.LCLiveQuery.Query
getset

The documentation for this class was generated from the following file: