SDK setup
In order to setup the SDK you first need to initialise the SDK, this is handled in a separate loop
@Override
public void onCreate() {
super.onCreate();
BrouwerVosSoftPOSSDK.getInstance().initialize(getApplicationContext(), new BrouwerVosSDK.InitializationCallback() {
@Override
public void onSuccess() {
// todo handle success
}
@Override
public void onFailure(Exception e) {
// todo handle failure
}
});
}If you do not care about the 'outcome' of the initialisation, you can also omit the callback by sending null
BrouwerVosSoftPOSSDK.getInstance().initialize(getApplicationContext(), new BrouwerVosSDK.InitializationCallback() nul);@Override
public void onCreate() {
super.onCreate();
BrouwerVosSoftPOSSDK.getInstance().initialize(getApplicationContext(), new BrouwerVosSDK.InitializationCallback() {
@Override
public void onSuccess() {
// todo handle success
}
@Override
public void onFailure(Exception e) {
// todo handle failure
}
});
}If you do not care about the 'outcome' of the initialisation, you can also omit the callback by sending null
After successful initialisation, the BrouwerVosSDK is also initialized. You can then also use:
Last updated