com.samsung.android.sdk.coldwallet

Class ScwService.ScwSignEthTransactionCallback

  • java.lang.Object
    • com.samsung.android.sdk.coldwallet.ScwService.ScwSignEthTransactionCallback
  • Enclosing class:
    ScwService


    public abstract static class ScwService.ScwSignEthTransactionCallback
    extends java.lang.Object
    Callback for signEthTransaction API
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      abstract void onFailure(int errorCode) 
      abstract void onSuccess(byte[] signedEthTransaction) 
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ScwSignEthTransactionCallback

        public ScwSignEthTransactionCallback()
    • Method Detail

      • onSuccess

        public abstract void onSuccess(byte[] signedEthTransaction)
        Parameters:
        signedEthTransaction - A byte array of a RLP-encoded signed Ethereum transaction
      • onFailure

        public abstract void onFailure(int errorCode)
        Parameters:
        errorCode - Error code, ScwErrorCode