ExtensionInfo Class
Contains static methods to expose extension-related context information.
The following are methods for ExtensionInfo.
-
Returns the version number of the Client API for the extension context.
-
getCustomParameterField(fieldName)
Returns a custom parameter field value, if available, for the extension context.
-
Returns the locale for the extension context.
-
Indicates whether custom parameters are available for the extension context.
Returns the version number of the Client API for the extension context.
public static Double getClientApiVersion()
Type: Double
Version number of the Client API for the extension context.
Returns a custom parameter field value, if available, for the extension context.
public static String getCustomParameterField(String fieldName)
-
fieldName:
Type: String
Custom parameter field name.
Type: String
Custom parameter field value for the extension context.
Returns the locale for the extension context.
public static String getLocaleString()
Type: String
Locale for the extension context.
Indicates whether custom parameters are available for the extension context.
public static Boolean isCustomParametersAvailable()
Type: Boolean
Value indicating if custom parameters are available in the extension context (true) or not (false).