Skip to content

ws1-client-sdk/com.airwatch.sdk/SDKManager/init

init

open fun init(context: Context): SDKManager

Initializes the WS1 SDK. This should be the first API to be called to do the binding with WS1 MDM Agent. This is a Blocking call, so should not be made on a UI thread.

Parameters

Name Description
context Requires Application Context

Return

SDKManager singleton instance on successful initialization. null in case of failure.

Throws

Exception Condition
com.airwatch.sdk.AirWatchSDKException if connection with anchor application fails