ibm mobilefirst - Worklight 6 - What is the purgeEventTransmissionBuffer() -


i want know purpose of using purgeeventtransmissionbuffer() client api in worklight 6.

the worklight 6 api states:

 purgeeventtransmissionbuffer() purges internal event transmission buffer.  internal event transmission buffer purged, , events awaiting transmission permanently lost.  

this not clear.

an example or code snap highly appreciated.

the purgeeventtransmissionbuffer api method part of api set belonging location services feature (also in user documentation) introduced in worklight 6.1.

you can create event either using trigger or calling wl.client.transmitevent. api method above clears pending events.


Comments

Popular posts from this blog

how to proxy from https to http with lighttpd -

android - Automated my builds -

python - Flask migration error -