AppFunctionPermissionRequiredException


class AppFunctionPermissionRequiredException : AppFunctionAppException


Thrown when the app lacks the necessary permission to fulfill the request.

This occurs when the app attempts an operation requiring user-granted permission that has not been provided. For example, creating a calendar event requires access to the calendar content. If the user hasn't granted this permission, this error should be thrown.

This is different from AppFunctionDeniedException in that the required permission is missing from the target app, as opposed to the caller.

Summary

Public constructors

Inherited properties

From androidx.appfunctions.AppFunctionException
String?

The error message.

From kotlin.Throwable

Public constructors

AppFunctionPermissionRequiredException

Added in 1.0.0-alpha01
AppFunctionPermissionRequiredException(errorMessage: String? = null)