Skip to content

ws1-framework/com.airwatch.app/AWSDKApplication

AWSDKApplication

interface AWSDKApplication : AppSettingsContext, SDKLoginDataCollector, P2PContext, CommandProcessorContext, UnifiedPinContext, PushNotificationContext, BrandingProvider, IOnConfigurationChangeListener, SSLPinningContext, BeaconContext, CopyPasteContext, ClientTLSCertificateRotationListener

To support SDK Login and Authentication, application class (which extends android.app.Application) have to implement this. AWSDKApplicationDelegate should be used for delegation.

Functions

Name Summary
getDelegate abstract fun getDelegate(): AWSDKApplication
Gets the delegate instance. This is very helpful if using Kotlin's class delegation model and want to intercept a delegation call.
onPostCreate abstract 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.