ConfigParameters

The ConfigParameters class shall represent the configuration parameters that are required by the 3DS SDK for initialization. The following are characteristics of the configuration parameters:

  • All related configuration parameters can be placed in a single group. Note: A group is not pre-defined. The 3DS SDK implementer can define it to logically group configuration parameters.

  • Explicit parameter grouping is optional. If a group name is not provided, then parameters are grouped under a default group.

  • Duplicate parameter names cannot be used within a given group or the default group.

The app creates a ConfigParameters object and sets the required parameter values.

Functions

Link copied to clipboard
abstract fun addParam(groupName: String?, paramName: String, paramValue: String?)

The addParam method shall add a configuration parameter either to the specified group or to the default group.

Link copied to clipboard
abstract fun getParamValue(groupName: String?, paramName: String): String?

The getParamValue method shall return a configuration parameter’s value either from the specified group or from the default group.

Link copied to clipboard
abstract fun removeParam(groupName: String?, paramName: String): String?

The removeParam method shall remove a configuration parameter either from the specified groupName or from the default groupName. It should return the value of the parameter that it removes.