Maps SDK for C++ 1.0.0
Loading...
Searching...
No Matches
gem::PTTranslation Class Reference

PTTranslation object. More...

Inheritance diagram for gem::PTTranslation:
Collaboration diagram for gem::PTTranslation:

Public Member Functions

const StringRef getText () const noexcept
 Get text message.
const StringRef getLanguage () const noexcept
 Get the language code of the text message, in BCP-47 format.

Detailed Description

PTTranslation object.

Implements share-read / copy-on-write Api object over IPTTranslation.

Member Function Documentation

◆ getLanguage()

const StringRef gem::PTTranslation::getLanguage ( ) const
inlinenoexcept

Get the language code of the text message, in BCP-47 format.

Returns
Language code.

◆ getText()

const StringRef gem::PTTranslation::getText ( ) const
inlinenoexcept

Get text message.

Returns
Text message.