(Can be used on v3.3.0 or later)
Your app can use the setHttpRequestTimeoutInterval
to set HTTP request’s timeout interval in RFP.
public class MyActivity extends Activity {
...
// ※Be sure to set the setHttpRequestTimeoutInterval before RFP.init
RFP.setHttpRequestTimeoutInterval(15); //set HTTP request interval to 15s
RFP.init(this.getApplicationContext(), "YOUR_MEDIA_ID");
int interval = RFP.getHttpRequestTimeoutInterval(); // Acquire current setting value
...
}
A very short interval could lead to failed to get ads. Please set the value according to the situation.
If timeout interval exceeding the system maximum value is set, the system maximum value is applied.