APPLICATION_TYPES
Overview
Constants are defined to represent different application types, each assigned a numeric value. These constants enable applications to identify and handle specific client environments dynamically. The constants include:
HEADLESS_CLIENT: Represents a headless client.
MOBILE_CLIENT: Represents a mobile client.
NG_CLIENT: Represents an NG client.
Key Points
Type: All constants are of type
Number.Usage: These constants can be used in conditional logic to execute code tailored for the respective application type.
These constants provide a structured approach to managing diverse application environments, ensuring that applications can adapt their behavior based on the client type dynamically and efficiently.
Constants Summarized
Constants Detailed
HEADLESS_CLIENT
Constant for application type headless_client.
Type Number
Sample
MOBILE_CLIENT
Constant for application type mobile client.
Type Number
Sample
NG_CLIENT
Constant for application type ng client.
Type Number
Sample
Last updated
Was this helpful?