com.samsung.android.penup

Interface ResourceListCallback<E extends Resource>



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

      Methods 
      Modifier and Type Method and Description
      void onCompleted(ResponseResult responseResult, java.util.List<E> resourceList, java.lang.String nextPageToken)
      Called when the response has been received from the PEN.UP service.
    • Method Detail

      • onCompleted

        void onCompleted(ResponseResult responseResult,
                       java.util.List<E> resourceList,
                       java.lang.String nextPageToken)
        Called when the response has been received from the PEN.UP service.
        Parameters:
        responseResult - The response result
        resourceList - The resource list,
        null, if there is no corresponding resource
        nextPageToken - The next page token, which is used to page through large result sets,
        null, if there is no next page any more
        Since:
        PEN.UP 1.0