Package 

Class LocalTimestampProviderKt

    • Field Summary

      Fields 
      Modifier and Type Field Description
      private final static ProvidableCompositionLocal<TimestampProvider> LocalTimestampProvider
    • Method Summary

      Modifier and Type Method Description
      final ProvidableCompositionLocal<TimestampProvider> getLocalTimestampProvider() TimestampProvider used to generate timestamps for predicting progress.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getLocalTimestampProvider

         final ProvidableCompositionLocal<TimestampProvider> getLocalTimestampProvider()

        TimestampProvider used to generate timestamps for predicting progress. The timestamps must match those used to create com.google.android.horologist.media.model.MediaPositionPredictor and com.google.android.horologist.media.model.LiveMediaPositionPredictor instances.