getVirtualId

open suspend override fun getVirtualId(strategy: GetStrategy): Result<VirtualId>

Get data without launching Virtual ID screen.

Can be useful to pre-cache or refresh data before launching the Virtual ID screen. If data are cached already, data won't be refreshed by default. Data retrieval strategy can be affected by strategy parameter.

Return

Result of the operation. In case of failure, IsicSdkException may be returned.

Parameters

strategy

(optional) Strategy of retrieval of data. See GetStrategy class for more information.

Throws

in case that SDK was not configured. To prevent this exception, call configure before calling this method.