Sensorberg Smart Spaces SDK for Android / com.sensorberg.smartworkspace.sdk / SmartWorkspaceSdk / Builder / <init>

<init>

Builder(context: Context)

Builder for the real Smart Workspace implementation. All parameters are required and can be found on the Smart Workspaces admin panel.

Typical implementation looks like:

    SmartWorkspaceSdk
        .Builder(context) // Android context
        .baseUrl(baseUrl) // base URL to the server
        .oauthId(oauthId) // oauth ID of the Android application on the server
        .certificate(certificate) // server public key certificate hash on the format: "sha256/AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA="
        .build()