public enum

SystemApi.Client

extends java.lang.Enum<SystemApi.Client>

 java.lang.Object

↳java.lang.Enum<SystemApi.Client>

↳androidx.appsearch.annotation.SystemApi.Client

Summary

Enum Constants
MODULE_LIBRARIESSpecifies that the intended clients of a SystemApi are used by classes in
PRIVILEGED_APPSSpecifies that the intended clients of a SystemApi are privileged apps.
SYSTEM_SERVERSpecifies that the system API is available only in the system server process.
Methods
public static SystemApi.ClientvalueOf(java.lang.String name)

public static SystemApi.Clientvalues()

from java.lang.Enum<E>clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
from java.lang.ObjectgetClass, notify, notifyAll, wait, wait, wait

Enum Constants

PRIVILEGED_APPS

Specifies that the intended clients of a SystemApi are privileged apps. This is the default value for SystemApi.client().

MODULE_LIBRARIES

Specifies that the intended clients of a SystemApi are used by classes in

BOOTCLASSPATH
in mainline modules. Mainline modules can also expose this type of system APIs too when they're used only by the non-updatable platform code.

SYSTEM_SERVER

Specifies that the system API is available only in the system server process. Use this to expose APIs from code loaded by the system server process but not in

BOOTCLASSPATH
.

Methods

public static SystemApi.Client values()

public static SystemApi.Client valueOf(java.lang.String name)