fun <T : BaseRecord> delete(wallet: Wallet, type: Class<T>, id: String): Single<Boolean>
Deletes a non-secret a record from wallet by id. This method is important because Java doesn't work with inline methods with reified generic.
wallet
- where the record will be deleted
type
- is kind of the returning record
id
- is unique identifier of the record in the wallet
Return
if the record is removed, the method will return true. Otherwise, the method will return false.
fun <reified T : BaseRecord> delete(wallet: Wallet, id: String): Single<Boolean>
Deletes a non-secret a record from wallet by id
wallet
- where the record will be deleted
id
- is unique identifier of the record in the wallet
Return
if the record is removed, the method will return true. Otherwise, the method will return false.