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