Language

AppFunctionMetadataAccessLevel Enum

Definition

Specifies which callers can execute an app function.

public enum AppFunctionMetadataAccessLevel
type AppFunctionMetadataAccessLevel = 
Inheritance
AppFunctionMetadataAccessLevel

Fields

Name Value Description
Self 100

A constant indicating that the app function is strictly restricted to the app itself.

Android reference for android.app.appfunctions.AppFunctionMetadata.ACCESS_LEVEL_SELF.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

System 200

A constant indicating that the app function is accessible by holders of the android.Manifest.permission.EXECUTE_APP_FUNCTIONS_SYSTEM permission.

Includes access for: ACCESS_LEVEL_SELF.

Android reference for android.app.appfunctions.AppFunctionMetadata.ACCESS_LEVEL_SYSTEM.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

AndroidTrusted 300

A constant indicating that the app function is accessible by any caller certified by Android that holds the Manifest.permission.EXECUTE_APP_FUNCTIONS permission.

This is the broadest access level. It includes access for all narrower levels: ACCESS_LEVEL_SYSTEM, and ACCESS_LEVEL_SELF.

Android reference for android.app.appfunctions.AppFunctionMetadata.ACCESS_LEVEL_ANDROID_TRUSTED.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Remarks

AccessLevel uses these values to describe the function's access requirement. The levels are hierarchical: broader access includes narrower access. Self is the narrowest level, followed by System and AndroidTrusted.

Applies to