Package com.pubmatic.sdk.common.network
Class POBVolley
-
-
Constructor Summary
Constructors Constructor Description POBVolley()
-
Method Summary
Modifier and Type Method Description static POBRequestQueuenewRequestQueue(@NonNull() Context context, @NonNull() Network network)Method is to create new request of volley static POBRequestQueuenewRequestQueueWithBackgroundThreadDelivery(@NonNull() Context context)Method is to create new request of volley to deliver response on background thread. -
-
Method Detail
-
newRequestQueue
static POBRequestQueue newRequestQueue(@NonNull() Context context, @NonNull() Network network)
Method is to create new request of volley
- Parameters:
context- android contextnetwork- of type volley Network- Returns:
value of POBRequestQueue
-
newRequestQueueWithBackgroundThreadDelivery
static POBRequestQueue newRequestQueueWithBackgroundThreadDelivery(@NonNull() Context context)
Method is to create new request of volley to deliver response on background thread.
- Parameters:
context- to initialize the cache directory file.- Returns:
Instance of POBRequestQueue
-
-
-
-