Package ej.kf
Interface FeatureStateListener
-
- All Known Implementing Classes:
AbstractKFList,BluetoothAdapter,KernelSecurityPolicyManager,KFList,KFList2,ResourceMonitoringServiceImpl,SandboxedModuleManager,SharedPropertyRegistryKF,SharedServiceRegistryKF
public interface FeatureStateListenerThe listener interface for receiving notifications when the state of a Feature has changed. Object instances of classes that implement this interface must be added to the Kernel listener list usingKernel.addFeatureStateListener(FeatureStateListener)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidstateChanged(Feature feature, Feature.State previousState)Called when the state of a Feature has changed.
-
-
-
Method Detail
-
stateChanged
void stateChanged(Feature feature, @Nullable Feature.State previousState)
Called when the state of a Feature has changed.- Parameters:
feature- the Feature which state has changedpreviousState- the previous state,nullif Feature state isFeature.State.INSTALLED
-
-