AppFunctionDisabledException


public final class AppFunctionDisabledException extends AppFunctionRequestException

Thrown when the caller tried to execute a disabled app function. An app function can be enabled at runtime through the AppFunctionManager or by setting androidx.appfunctions.AppFunction.isEnabled to true in the androidx.appfunctions.AppFunction annotation.

Summary

Public constructors

Public constructors

AppFunctionDisabledException

Added in 1.0.0-alpha10
public AppFunctionDisabledException(String errorMessage)