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.AppFunctionDeclaration.isEnabled to true in the androidx.appfunctions.AppFunctionDeclaration annotation.

Summary

Public constructors

Public constructors

AppFunctionDisabledException

Added in 1.0.0-alpha13
public AppFunctionDisabledException(String errorMessage)