com.samsung.android.penup

Interface ResourceCallback<E extends Resource>



  • public interface ResourceCallback<E extends Resource>
    This interface receives a response and a resource as an asynchronous callback.
    Since:
    PEN.UP 1.0
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      void onCompleted(ResponseResult responseResult, E resource)
      Called when the response has been received from the PEN.UP service.
    • Method Detail

      • onCompleted

        void onCompleted(ResponseResult responseResult,
                       E resource)
        Called when the response has been received from the PEN.UP service.
        Parameters:
        responseResult - The response result
        resource - The resource,
        null, if there is no corresponding resource
        Since:
        PEN.UP 1.0