Added in API level 37

AppFunctionObservation


interface AppFunctionObservation
android.app.appfunctions.AppFunctionObservation

Result of AppFunctionManager.observeAppFunctions.

The caller should retain a reference to this object and call cancel when receiving updates to app functions is no longer required.

Summary

Public methods
abstract Unit

Stops the observation previously started using AppFunctionManager.observeAppFunctions from receiving updates.

Public methods

cancel

Added in API level 37
abstract fun cancel(): Unit

Stops the observation previously started using AppFunctionManager.observeAppFunctions from receiving updates.

If the observation is already canceled, this method has no effect.