-
public interface SessionReplayInternalResourceQueueInternal API for queuing custom resources in Session Replay.
This interface provides access to the Session Replay resource queue, allowing clients to manually add custom resources (e.g., SVG images, custom assets) that will be uploaded alongside standard Session Replay data.
Note: This is an internal API intended for advanced use cases where standard image capture mechanisms don't apply. For regular image resources, the SDK handles resource capture automatically.
-
-
Method Summary
Modifier and Type Method Description abstract UnitaddResourceItem(String identifier, ByteArray resourceData, String mimeType)Adds a custom resource item to the Session Replay upload queue. -
-
Method Detail
-
addResourceItem
abstract Unit addResourceItem(String identifier, ByteArray resourceData, String mimeType)
Adds a custom resource item to the Session Replay upload queue.
Resources are deduplicated based on their identifier. If a resource with the same identifier has already been queued or uploaded in this session, it will not be queued again.
- Parameters:
identifier- A unique identifier for this resource.resourceData- The raw binary data of the resource to upload.mimeType- Optional MIME type of the resource (e.g., "image/svg+xml").
-
-
-
-