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.service.AppFunction.enabledByDefault to true in the androidx.appfunctions.service.AppFunction annotation.

Summary

Public constructors

Public constructors

AppFunctionDisabledException

Added in 1.0.0-alpha04
public AppFunctionDisabledException(String errorMessage)