InspectorCommandResult

Types

Link copied to clipboard
data class Disabled(val capability: String) : InspectorCommandResult
Link copied to clipboard
data class Failed(val message: String) : InspectorCommandResult
Link copied to clipboard
data class Invalid(val message: String) : InspectorCommandResult
Link copied to clipboard
data class Success(val summary: String, val statusCode: Int? = null, val body: String? = null, val sharePath: String? = null) : InspectorCommandResult

sharePath is set only by the export actions (InspectorAction.ExportHar, InspectorAction.ExportPostman, InspectorAction.ExportSessionZip): an absolute path to the artifact just written, already inside a FileProvider-covered sandbox root, so the ViewModel can hand it straight to the same one-shot Share-sheet flow InspectorAction.ShareFile uses.

Link copied to clipboard