RumResourceInputStream - DataDog/dd-sdk-android GitHub Wiki
class RumResourceInputStream@JvmOverloadsconstructor(val delegate: InputStream, val url: String, val sdkCore: SdkCore = Datadog.getInstance()) : InputStream
An InputStream wrapper that will report the stream read as a RUM Resource.
Parameters
delegate | the actual InputStream to wrap |
url | the URL associated with the underlying resource, as you want it displayed in Datadog |
sdkCore | the SdkCore instance to report resources to. If not provided, default instance will be used. |
Constructors
RumResourceInputStream
constructor(delegate: InputStream, url: String, sdkCore: SdkCore = Datadog.getInstance())
Parameters
delegate | the actual InputStream to wrap |
url | the URL associated with the underlying resource, as you want it displayed in Datadog |
sdkCore | the SdkCore instance to report resources to. If not provided, default instance will be used. |
Properties
delegate
val delegate: InputStream
Parameters
delegate | the actual InputStream to wrap |
sdkCore
val sdkCore: SdkCore
Parameters
sdkCore | the SdkCore instance to report resources to. If not provided, default instance will be used. |
url
Parameters
url | the URL associated with the underlying resource, as you want it displayed in Datadog |
Functions
available
close
open override fun close()
mark
markSupported
open override fun markSupported(): Boolean
read
open override fun read(b: ByteArray, off: Int, len: Int): Int
reset
open override fun reset()