PaymentConnectionMode

Since: BlackBerry 10.0.0

#include <bb/platform/PaymentConnectionMode>

To link against this class, add the following line to your .pro file: LIBS += -lbbplatform

Set of Payment API connection modes.

The Payment API can be put into bb::platform::PaymentConnectionMode::Test connection mode for easier testing.


Overview

Public Types Index

enum Type

Test 0, Production 1

Public Types

Type

Set of Payment API connection modes.

Since:

BlackBerry 10.0.0

Test 0

Testing mode that bypasses the Payment server.

Production 1

Standard production mode.

When in this mode, purchases and retrievals of existing purchases proceed normally, contacting the Payment server as necessary. This is the default connection mode, and applications in production should not modify it.

This is the default connection mode.

Note:

Production code should use this mode.

Since:

BlackBerry 10.0.0

Last modified: 2014-09-30



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus