Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

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