ws1-client-sdk/com.airwatch.event/WS1AnchorEvents
WS1AnchorEvents¶
interface WS1AnchorEvents
This need to be implemented by the App's and pass its reference via SDKClientConfig. This is first step of migration to Workmanager from JobIntentService.
Functions¶
| Name | Summary |
|---|---|
| handleAutoEnrollmentStatus | open fun handleAutoEnrollmentStatus(status: Int) Abstract method for the third party application to handle auto enrollment completion broadcast. |
| onAnchorAppCheckIn | open fun onAnchorAppCheckIn(context: Context) Method to handle device checked in (signed out) broadcast from AnchorApp. |
| onAnchorAppCheckOut | open fun onAnchorAppCheckOut(context: Context) Method to handle device checked out (signed in) broadcast from AnchorApp. |
| onAnchorAppUpgrade | abstract fun onAnchorAppUpgrade(context: Context, isUpgrade: Boolean) Method to handle broadcast for Anchor App Upgrade. |
| onApplicationConfigurationChange | abstract fun onApplicationConfigurationChange(applicationConfiguration: Bundle, context: Context) App should override and implement this method to receive application configuration changes from console. |
| onClearAppDataCommandReceived | abstract fun onClearAppDataCommandReceived(context: Context, reasonCode: ClearReasonCode) Clear app data requested from Workspace ONE SDK. |
| onEnrollmentComplete | open fun onEnrollmentComplete(context: Context, enrollmentFrom: String) Callback to perform actions on enrollment completion. |
| onLauncherEvent | open fun onLauncherEvent(eventType: String, bundle: Bundle) Method to handle broadcast from launcher. |
| onOGChangeStatusReceived | open fun onOGChangeStatusReceived(context: Context) App should override and implement this method to receive OG change command status. |