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 IO2GSession.getPriceUpdateMode method.

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

mSession.setPriceUpdateMode(O2GPriceUpdateMode.NoPrice);

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

mSession.setPriceUpdateMode(O2GPriceUpdateMode.Default);

Declared in O2GPriceUpdateMode

back