AVLiveQueryDelegate Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | AVLiveQuery.h |
– liveQuery:objectDidCreate:
Called when an object created and it matches the query.
- (void)liveQuery:(AVLiveQuery *)liveQuery objectDidCreate:(id)object
Parameters
liveQuery |
The live query object. |
---|---|
object |
The object that matches live query. |
Discussion
Called when an object created and it matches the query.
Declared In
AVLiveQuery.h
– liveQuery:objectDidUpdate:updatedKeys:
Called when an object updated and it matches the query.
- (void)liveQuery:(AVLiveQuery *)liveQuery objectDidUpdate:(id)object updatedKeys:(NSArray<NSString*> *)updatedKeys
Parameters
liveQuery |
The live query object. |
---|---|
object |
The object that matches live query. |
updatedKeys |
The updated keys. |
Discussion
Called when an object updated and it matches the query.
Declared In
AVLiveQuery.h
– liveQuery:objectDidDelete:
Called when an object deleted and it matches the query.
- (void)liveQuery:(AVLiveQuery *)liveQuery objectDidDelete:(id)object
Parameters
liveQuery |
The live query object. |
---|---|
object |
The object that matches live query. |
Discussion
Called when an object deleted and it matches the query.
Declared In
AVLiveQuery.h
– liveQuery:objectDidEnter:updatedKeys:
Called when an object matches query after updated.
- (void)liveQuery:(AVLiveQuery *)liveQuery objectDidEnter:(id)object updatedKeys:(NSArray<NSString*> *)updatedKeys
Parameters
liveQuery |
The live query object. |
---|---|
object |
The object that matches live query. |
Discussion
Called when an object matches query after updated.
Declared In
AVLiveQuery.h
– liveQuery:objectDidLeave:updatedKeys:
Called when an object mismatches query after updated.
- (void)liveQuery:(AVLiveQuery *)liveQuery objectDidLeave:(id)object updatedKeys:(NSArray<NSString*> *)updatedKeys
Parameters
liveQuery |
The live query object. |
---|---|
object |
The object that matches live query. |
Discussion
Called when an object mismatches query after updated.
Declared In
AVLiveQuery.h
– liveQuery:userDidLogin:
Called when an user did login and who matches the query.
- (void)liveQuery:(AVLiveQuery *)liveQuery userDidLogin:(AVUser *)user
Parameters
liveQuery |
The live query object. |
---|---|
user |
The user who did login. |
Discussion
Called when an user did login and who matches the query.
Declared In
AVLiveQuery.h