Package 

Interface SessionReplayInternalCallback


  • 
    public interface SessionReplayInternalCallback
    
                        

    Defines points of change for clients to override existing functionality with platform specific code.

    • Method Detail

      • getCurrentActivity

         abstract Activity getCurrentActivity()

        Retrieves the current activity, allowing clients to pass it when needed. This is used by SessionReplayRecorder to register fragment lifecycle callbacks that were missed because the client was initialized after the Application.onCreate phase.

      • addResourceItem

         abstract Unit addResourceItem(String identifier, ByteArray resourceData, String mimeType)

        Adds a resource item to the current resource queue.

        Parameters:
        identifier - A unique identifier for the resource.
        resourceData - The raw content of the resource.
        mimeType - Optional MIME type describing the resource data (e.g.