getHeaderTextTranslation method
- int index
Get header text translation specified by index.
Parameters
- IN index Index of the header text translation
Returns
- Valid PTTranslation object for corresponding index
- Empty PTTranslation if index is out of bounds.
Throws
- An exception if it fails.
Implementation
PTTranslation getHeaderTextTranslation(final int index) {
final OperationResult resultString = objectMethod(
_pointerId,
'PTAlert',
'getHeaderTextTranslation',
args: index,
);
return PTTranslation.fromJson(resultString['result']);
}