Package 

Class TimeBasedInitialResourceIdentifier

  • All Implemented Interfaces:
    com.datadog.android.rum.metric.networksettled.InitialResourceIdentifier

    
    public final class TimeBasedInitialResourceIdentifier
     implements InitialResourceIdentifier
                        

    An InitialResourceIdentifier that validates the initial resource based on the time elapsed. The resource is considered initial if the time elapsed between creation of the view and the start of the resource is less than the provided threshold in milliseconds.By default, the threshold is set to 100 milliseconds.

    • Constructor Detail

      • TimeBasedInitialResourceIdentifier

        TimeBasedInitialResourceIdentifier(Long timeThresholdInMilliseconds)
        Parameters:
        timeThresholdInMilliseconds - The threshold in milliseconds.