> For the complete documentation index, see [llms.txt](https://sandbox-docs.verifone.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/namespaces/namespacesdi/classsdi_1_1_sdi_language.md).

# SdiLanguage

[Public Member Functions](#pub-methods)

`#include <`[sdi\_lang.h](/s-adk-5.1-programmers-guide/sdi__lang_8h_source.md)`>`

|                         |                                                                                                      |
| ----------------------- | ---------------------------------------------------------------------------------------------------- |
| Public Member Functions |                                                                                                      |
|                         | [SdiLanguage](#abc54ed2510efb580f8711c926aabe00c) ()                                                 |
|                         | [SdiLanguage](#a4c407563d255fd4d430e5c8c9429b728) (Language languageId)                              |
| Language                | [getLanguageId](#ae5df9397daec6a1bdfcad90944d695f5) ()                                               |
| void                    | [setLanguageId](#a23dd2f74c3cff798256d8816ad01016c) (Language languageId)                            |
| void                    | [selectLanguage](#aca0270944a7126b2cb3f3ead6ce3b3fb) (unsigned char \*rsp, unsigned short \*rspSize) |

### Constructor& Destructor Documentation

### SdiLanguage()\[1/2] <a href="#abc54ed2510efb580f8711c926aabe00c" id="abc54ed2510efb580f8711c926aabe00c"></a>

[SdiLanguage](/s-adk-5.1-programmers-guide/readme/namespaces/namespacesdi/classsdi_1_1_sdi_language.md)

default constructor

### SdiLanguage()\[2/2] <a href="#a4c407563d255fd4d430e5c8c9429b728" id="a4c407563d255fd4d430e5c8c9429b728"></a>

[SdiLanguage](/s-adk-5.1-programmers-guide/readme/namespaces/namespacesdi/classsdi_1_1_sdi_language.md)

explicit

constructor with predefined language id

**Parameters**

**languageId** preset of language id

### MemberFunction Documentation <a href="#member-function-documentation" id="member-function-documentation"></a>

### getLanguageId() <a href="#ae5df9397daec6a1bdfcad90944d695f5" id="ae5df9397daec6a1bdfcad90944d695f5"></a>

Language getLanguageId

get language id

#### Returns

language id

### selectLanguage() <a href="#aca0270944a7126b2cb3f3ead6ce3b3fb" id="aca0270944a7126b2cb3f3ead6ce3b3fb"></a>

void selectLanguage

select language from response

**Parameters**

**rsp** response **rspSize** size of response

### setLanguageId() <a href="#a23dd2f74c3cff798256d8816ad01016c" id="a23dd2f74c3cff798256d8816ad01016c"></a>

void setLanguageId

set language id

**Parameters**

**languageId** language id to set

***

The documentation for this class was generated from the following files:

* sdi/src/[sdi\_lang.h](/s-adk-5.1-programmers-guide/sdi__lang_8h_source.md)
* sdi/src/[sdi\_lang.cpp](/s-adk-5.1-programmers-guide/readme/files/dir_44d926a17fc606d3c25449ba60427c63/dir_048f823fee1bfb22502a8732b9a001aa/sdi__lang_8cpp.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://sandbox-docs.verifone.com/s-adk-5.1-programmers-guide/readme/namespaces/namespacesdi/classsdi_1_1_sdi_language.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
