GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • leancloud-storage
  • ACL
  • Captcha
  • Conversation
  • Error
  • File
  • Friendship
  • GeoPoint
  • InboxQuery
  • JobQuery
  • Leaderboard
  • LiveQuery
  • Object
  • Query

This view

  • Original page
  • New address

GeezerVison is showing leancloud.github.io — LiveQuery - Documentation

Constructor

new LiveQuery()

Source:
  • live-query.js, line 29
Since:
  • 3.0.0

Methods

(static) pause()

Source:
  • live-query.js, line 159
Pause the LiveQuery connection. This is useful to deactivate the SDK when the app is swtiched to background.
Returns:
void

(static) resume()

Source:
  • live-query.js, line 168
Resume the LiveQuery connection. All subscriptions will be restored after reconnection.
Returns:
void

unsubscribe() → {Promise}

Source:
  • live-query.js, line 99
unsubscribe the query
Returns:
Type
Promise

Events

create

Source:
  • live-query.js, line 80
A new AV.Object which fulfills the Query you subscribe is created.
Parameters:
Name Type Description
target AV.Object | AV.File updated object

delete

Source:
  • live-query.js, line 85
An existing AV.Object which fulfills the Query you subscribe is deleted.
Parameters:
Name Type Description
target AV.Object | AV.File updated object

enter

Source:
  • live-query.js, line 66
An existing AV.Object which doesn't fulfill the Query is updated and now it fulfills the Query.
Parameters:
Name Type Description
target AV.Object | AV.File updated object
updatedKeys Array.<String> updated keys

leave

Source:
  • live-query.js, line 72
An existing AV.Object which fulfills the Query is updated and now it doesn't fulfill the Query.
Parameters:
Name Type Description
target AV.Object | AV.File updated object
updatedKeys Array.<String> updated keys

update

Source:
  • live-query.js, line 60
An existing AV.Object which fulfills the Query you subscribe is updated.
Parameters:
Name Type Description
target AV.Object | AV.File updated object
updatedKeys Array.<String> updated keys
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.