Package 

Class DatadogCoilRequestListener

  • All Implemented Interfaces:
    coil.request.ImageRequest.Listener

    
    public final class DatadogCoilRequestListener
     implements ImageRequest.Listener
                        

    Provides an implementation of coil.request.ImageRequest.Listener already set up to send relevant information to Datadog.

    It will automatically send RUM error events whenever a Coil ImageRequest throws any Exception.

    • Method Summary

      Modifier and Type Method Description
      Unit onError(ImageRequest request, Throwable throwable)
      • Methods inherited from class cloud.flashcat.android.coil.DatadogCoilRequestListener

        onCancel, onStart, onSuccess
      • Methods inherited from class java.lang.Object

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

      • DatadogCoilRequestListener

        DatadogCoilRequestListener(SdkCore sdkCore)
        Parameters:
        sdkCore - SDK instance to use for the reporting.
      • DatadogCoilRequestListener

        DatadogCoilRequestListener()