Be-Bound

The Be-Bound Developer Hub

Welcome to the Be-Bound developer hub. You'll find comprehensive guides and documentation to help you start working with Be-Bound as quickly as possible, as well as support if you get stuck. Let's jump right in!

Get Started    

Setting up the SDK

Create an instance of Application and override the method onCreate() to call BeBound.init().

The parameters needed are:

  • Application Context.
  • The implementation of SdkConfig. This interface allows you to customize the SDK to your preferences.
  • Logs level (Optional). When used this constant give you access to different log levels for debug purpose.
  • The implementation of PushListener (Optional).
class MainApplication: Application(), SdkConfig {
  
    override fun onCreate() {
        super.onCreate()
        BeBound.init(this, this, BeBound.LogConfig.ALL, MyPushListener())
    }
  
    override fun appUuid(): String = "App UUID" // Generated in the Be-Bound Console

    override fun appVersion(): Int = appVersion // Defined in the Be-Bound Console

    override fun smsBinaryEnabled(): Boolean = true

    override fun httpsEnabled(): Boolean = true

    override fun mqttEnabled(): Boolean = true

    override fun smsTextEnabled(): Boolean = true
}
public class MyApplication extends Application implements SdkConfig {
   @Override
    public void onCreate() {
        super.onCreate();
        BeBound.init(this, this, BeBound.LogConfig.ALL, new MyPushListener());
    }
  
    @Override
    public String appUuid() {
        return "App UUID"; // Generated in the Be-Bound Console;
    }

    @Override
    public int appVersion() {
        return appVersion; // Defined in the Be-Bound Console
    }

    @Override
    public boolean mqttEnabled() {
        return true;
    }

    @Override
    public boolean httpsEnabled() {
        return true;
    }

    @Override
    public boolean smsBinaryEnabled() {
        return true;
    }

    @Override
    public boolean smsTextEnabled() {
        return true;
    }
}

Setting up the SDK


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.