Added in API level 37

AppFunctionObservation


public 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 void cancel()

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

Public methods

cancel

Added in API level 37
public abstract void cancel ()

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

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