Skip to content

ws1-framework/com.airwatch.app/AWSDKApplicationDelegate

AWSDKApplicationDelegate

class AWSDKApplicationDelegate : AWSDKApplication

Delegation class for AWSDKApplication interface to support the functioning of WS1 SDK Framework.

Functions

Name Summary
getApplicationConfigType open override fun getApplicationConfigType(): String?
If your application needs to fetch application-specific settings, override this method. Otherwise it can be ignored.
getApplicationConfigVersion open override fun getApplicationConfigVersion(): String?
Returns the application configuration version.
getAwAppContext open override fun getAwAppContext(): Context
Returns the WS1 application context.
getDelegate open override fun getDelegate(): AWSDKApplicationDelegate
Gets the delegate instance. This is very helpful if using Kotlin's class delegation model and want to intercept a delegation call.
getFlags open override fun getFlags(): AppSettingFlags
Returns an instance of AppSettingFlags that contains all the flags the application needs to communicate with the SDK framework. These flags are in-memory and the app needs to take care of the storage and making it available when the SDK needs it.
getSDKConfigType open override fun getSDKConfigType(): String
If your application needs to fetch SDK settings, the default value is 21 unless it is a wrapped app, in which case it is 22.
isGeofencingSupported open override fun isGeofencingSupported(): Boolean
Indicates whether geofencing is supported by the application.
onPostCreate open override fun onPostCreate()
android.app.Application.onCreate may get called by another SDK process very frequently and cause unintended effects. To avoid this, place application-specific initialization in onPostCreate. onPostCreate will not be called during Direct boot mode.
shouldRetainContentBetweenSessions open override fun shouldRetainContentBetweenSessions(): Boolean
Returns whether the application should retain content between sessions.