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.
RUNTIME_CLIENT: Represents a runtime client.
SMART_CLIENT: Represents a smart client.
WEB_CLIENT: Represents a web 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
Constant for application type headless_client.
Constant for application type mobile client.
Constant for application type ng client.
Constant for application type runtime_client.
Constant for application type smart_client.
Constant for application type web_client.
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
RUNTIME_CLIENT
Constant for application type runtime_client.
Type Number
Sample
SMART_CLIENT
Constant for application type smart_client.
Type Number
Sample
WEB_CLIENT
Constant for application type web_client.
Type Number
Sample
Last updated
Was this helpful?