com.samsung.android.sdk.coldwallet

Class ScwService.ScwSignKlayTransactionCallback

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


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

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

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

      • ScwSignKlayTransactionCallback

        public ScwSignKlayTransactionCallback()
    • Method Detail

      • onSuccess

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

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