static public field O2GPriceUpdateMode.NoPrice

Brief

The constant represents the price update mode at which a session object does not receive price updates.

Details

To find out whether a session object receives price updates or not, use the O2GSession.getPriceUpdateMode method.

The session object receives price updates by default. To stop price updates, use the O2GSession.setPriceUpdateMode method passing the O2GPriceUpdateMode.NO_PRICE as an argument. For example,

mSession.setPriceUpdateMode(O2GPriceUpdateMode.NoPrice);

To enable price updates after you have stopped them, use the O2GSession.setPriceUpdateMode method passing the O2GPriceUpdateMode.Default as an argument. For example,

mSession.setPriceUpdateMode(O2GPriceUpdateMode.Default);

Declared in O2GPriceUpdateMode

back