Removed variant with callback
This commit is contained in:
parent
d055b61ed9
commit
5d7ea48a46
|
@ -25,19 +25,6 @@ open class FinTsClientDeprecated(
|
||||||
constructor(callback: FinTsClientCallback) : this(FinTsClientConfiguration(), callback)
|
constructor(callback: FinTsClientCallback) : this(FinTsClientConfiguration(), callback)
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Retrieves information about bank (e.g. supported HBCI versions, FinTS server address,
|
|
||||||
* supported jobs, ...).
|
|
||||||
*
|
|
||||||
* On success [bank] parameter is updated afterwards.
|
|
||||||
*/
|
|
||||||
open fun getAnonymousBankInfoAsync(bank: BankData, callback: (FinTsClientResponse) -> Unit) {
|
|
||||||
|
|
||||||
GlobalScope.launch {
|
|
||||||
callback(getAnonymousBankInfo(bank))
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieves information about bank (e.g. supported HBCI versions, FinTS server address,
|
* Retrieves information about bank (e.g. supported HBCI versions, FinTS server address,
|
||||||
* supported jobs, ...).
|
* supported jobs, ...).
|
||||||
|
|
Loading…
Reference in New Issue