Package | com.distriqt.extension.firebase.database |
Interface | public interface OnDisconnect extends flash.events.IEventDispatcher |
Method | Defined By | ||
---|---|---|---|
cancel():Boolean
Cancel any disconnect operations that are queued up at this location
| OnDisconnect | ||
removeValue():Boolean
Remove the value at this location when the client disconnects
| OnDisconnect | ||
setValue(value:*, priority:String = null):Boolean
Ensure the data at this location is set to the specified value and
priority when the client is disconnected (due to closing the browser,
navigating to a new page, or network issues). | OnDisconnect | ||
updateChildren(update:Object):Boolean
Ensure the data has the specified child values updated when the client is disconnected
| OnDisconnect |
cancel | () | method |
public function cancel():Boolean
Cancel any disconnect operations that are queued up at this location
ReturnsBoolean — true if successfully started and
false if the extension is in an invalid state
or if the value provided is an unsupported type
|
removeValue | () | method |
public function removeValue():Boolean
Remove the value at this location when the client disconnects
ReturnsBoolean — true if successfully started and
false if the extension is in an invalid state
or if the value provided is an unsupported type
|
setValue | () | method |
public function setValue(value:*, priority:String = null):Boolean
Ensure the data at this location is set to the specified value and priority when the client is disconnected (due to closing the browser, navigating to a new page, or network issues).
Parameters
value:* — The value to set at this location
| |
priority:String (default = null ) — The priority to set at this location
|
Boolean — true if successfully started and
false if the extension is in an invalid state
or if the value provided is an unsupported type
|
updateChildren | () | method |
public function updateChildren(update:Object):Boolean
Ensure the data has the specified child values updated when the client is disconnected
Parameters
update:Object — The update(s) to apply to the children
|
Boolean — true if successfully started and
false if the extension is in an invalid state
or if the value provided is an unsupported type
|