Added in API level 37.2
OnPersonalContextModeChangedListener
interface OnPersonalContextModeChangedListener
| android.app.personalcontext.PersonalContextManager.OnPersonalContextModeChangedListener |
Callback interface to receive updates when personal context mode for an application changes.
Summary
| Public methods | |
|---|---|
| abstract Unit |
onPersonalContextModeChanged(packageName: String)Called when the personal context mode for the target application changes. |
Public methods
onPersonalContextModeChanged
Added in API level 37.2
abstract fun onPersonalContextModeChanged(packageName: String): Unit
Called when the personal context mode for the target application changes.
| Parameters | |
|---|---|
packageName |
String: package name of the application whose setting changed. This value cannot be null. |