Package com.inmobi.media.network.okhttp
Interface InMobiNetworkClient
-
- All Implemented Interfaces:
public interface InMobiNetworkClientInterface for executing network operations in the InMobi SDK.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classInMobiNetworkClient.Companion
-
Method Summary
Modifier and Type Method Description abstract NetworkResponsehitSync(NetworkRequest request)Executes the network operation synchronously and returns the result. abstract Deferred<NetworkResponse>hitAsync(NetworkRequest request)Executes the network operation asynchronously and returns a Deferred result. -
-
Method Detail
-
hitSync
@WorkerThread() abstract NetworkResponse hitSync(NetworkRequest request)
Executes the network operation synchronously and returns the result.
- Returns:
NetworkResponse containing the response data.
-
hitAsync
abstract Deferred<NetworkResponse> hitAsync(NetworkRequest request)
Executes the network operation asynchronously and returns a Deferred result.
- Returns:
Deferred of NetworkResponse or null if the operation is aborted.
-
-
-
-