esmska.transfer
Interface ImageCodeResolver
- All Known Implementing Classes:
- DefaultImageCodeResolver, GUIImageCodeResolver
public interface ImageCodeResolver
Security image resolver. Takes an sms with a security image and provides
textual representation of the security image, if it is possible.
Method Summary |
boolean |
resolveImageCode(SMS sms)
Resolve security image and provide security code in textual form if
possible. |
resolveImageCode
boolean resolveImageCode(SMS sms)
- Resolve security image and provide security code in textual form if
possible. The security image is extracted from the provided sms (may be
null) and the result is stored also in the sms. The resulting code may
be null or empty if the resolution was cancelled or did not succeed.
- Parameters:
sms
- sms for which to resolve the security image; not null
- Returns:
- true if resolution was successful, false otherwise (did not
succeed or was cancelled)