Package 

Class BranchRemoteInterface

    • Method Detail

      • doRestfulGet

         abstract BranchRemoteInterface.BranchResponse doRestfulGet(String url)

        Abstract method to implement the network layer to do a RESTful GET to Branch servers.This method is called whenever Branch SDK want to make a GET request to Branch servers.Please note that this methods always called on the background thread and no need for thread switching for the network operations.

        Parameters:
        url - The url end point
      • doRestfulPost

         abstract BranchRemoteInterface.BranchResponse doRestfulPost(String url, JSONObject payload)

        Abstract method to implement the network layer to do a RESTful GET to Branch servers.This method is called whenever Branch SDK want to make a GET request to Branch servers.Please note that this methods always called on the background thread and no need for thread switching to execute network operations.

        Parameters:
        url - The url end point
        payload - The JSon object payload for the post request