Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

ExponentialBackoffRetryPolicy

open class ExponentialBackoffRetryPolicy : FontRequestEmojiCompatConfig.RetryPolicy
kotlin.Any
   ↳ androidx.emoji.text.FontRequestEmojiCompatConfig.RetryPolicy
   ↳ androidx.emoji.text.FontRequestEmojiCompatConfig.ExponentialBackoffRetryPolicy

A retry policy implementation that doubles the amount of time in between retries. If downloading hasn't finish within given amount of time, this policy give up and the EmojiCompat will get into EmojiCompat#LOAD_STATE_FAILED state.

Summary

Public constructors
<init>(totalMs: Long)

Public methods
open Long

Public constructors

<init>

ExponentialBackoffRetryPolicy(totalMs: Long)
Parameters
totalMs Long: A total amount of time to wait in milliseconds.

Public methods

getRetryDelay

open fun getRetryDelay(): Long