SwiftenumSiriAppIntents

enum SiriAppIntents.TranscriptEventType

Members 50

  1. funcstatic from(payload: SiriAppIntents.TranscriptProtoPayload) -> SiriAppIntents.TranscriptEventType
  2. casecase actionCreated(SiriAppIntents.TranscriptProtoAction)
  3. casecase agentDirectResponse(SiriAppIntents.TranscriptProtoAgentDirectResponse)
  4. casecase agentEntityReferences(SiriAppIntents.TranscriptProtoAgentEntityReferences)
  5. casecase agentError(SiriAppIntents.TranscriptProtoAgentError)
  6. casecase agentFunctionCall(SiriAppIntents.TranscriptProtoAgentFunctionCall)
  7. casecase agentFunctionResult(SiriAppIntents.TranscriptProtoAgentFunctionResult)
  8. casecase agentPersistenceOutput(SiriAppIntents.TranscriptProtoAgentPersistenceOutput)
  9. casecase agentPrimitiveAction(SiriAppIntents.TranscriptProtoAgentPrimitiveAction)
  10. casecase agentRuntimeEnded(SiriAppIntents.TranscriptProtoAgentRuntimeEnded)
  11. casecase agentUserRequest(SiriAppIntents.TranscriptProtoAgentUserRequest)
  12. casecase companionRequired(SiriAppIntents.TranscriptProtoCompanionRequired)
  13. casecase contextRetrievalRequest(SiriAppIntents.TranscriptProtoContextRetrievalRequest)
  14. casecase contextRetrieved(SiriAppIntents.TranscriptProtoContextRetrieved)
  15. casecase criticalError(SiriAppIntents.TranscriptProtoSessionError)
  16. casecase deviceSelectionDecision(SiriAppIntents.TranscriptProtoDeviceSelectionDecision)
  17. casecase entitySpanMatched(SiriAppIntents.TranscriptProtoEntitySpanMatchResult)
  18. casecase executionError(SiriAppIntents.TranscriptProtoExecutionError)
  19. casecase executionUnlockedByClient(SiriAppIntents.TranscriptProtoExecutionUnlockedByClient)
  20. casecase externalAgentDialogOutcome(SiriAppIntents.TranscriptProtoExternalAgentDialogOutcome)
  21. casecase externalAgentOutcome(SiriAppIntents.TranscriptProtoExternalAgentOutcome)
  22. casecase externalAgentRequest(SiriAppIntents.TranscriptProtoExternalAgentRequest)
  23. casecase imageRetrievalResponse(SiriAppIntents.TranscriptProtoImageRetrievalResponse)
  24. casecase onScreenUserContext(SiriAppIntents.TranscriptProtoOnScreenUserContext)
  25. casecase plannerModelFacingError(SiriAppIntents.TranscriptProtoPlannerModelFacingError)
  26. casecase queryContextPrediction(SiriAppIntents.TranscriptProtoQueryContextPrediction)
  27. casecase recoverableError
  28. casecase remoteAgentPrimitiveAction(SiriAppIntents.TranscriptProtoRemoteAgentPrimitiveAction)
  29. casecase remoteCompanionSessionUpdate(SiriAppIntents.TranscriptProtoRemoteCompanionSessionUpdate)
  30. casecase request(SiriAppIntents.TranscriptProtoRequest)
  31. casecase runtimeActivationChanged(SiriAppIntents.TranscriptProtoRuntimeActivationChanged)
  32. casecase safetyIncident(SiriAppIntents.TranscriptProtoSafetyIncident)
  33. casecase sessionSummarizationRequest(SiriAppIntents.TranscriptProtoSessionSummarizationRequest)
  34. casecase sessionSummarizationResponse(SiriAppIntents.TranscriptProtoSessionSummarizationResponse)
  35. casecase siriRequestCanceled(SiriAppIntents.TranscriptProtoSiriRequestCanceled)
  36. casecase statementEvaluated(SiriAppIntents.TranscriptProtoStatementResult)
  37. casecase systemResponseGenerated(SiriAppIntents.TranscriptProtoSystemResponse)
  38. casecase toolCallExampleRetrievalResponse(SiriAppIntents.TranscriptProtoToolCallExampleRetrievalResponse)
  39. casecase toolRetrievalRequest(SiriAppIntents.TranscriptProtoToolRetrievalRequest)
  40. casecase toolWillExecute(SiriAppIntents.TranscriptProtoToolWillExecute)
  41. casecase toolsRetrieved(SiriAppIntents.TranscriptProtoToolRetrievalResponse)
  42. casecase unknown
  43. casecase userSelected(SiriAppIntents.UserContextProtoUser)
  44. varvar displayName: String { get }
  45. varvar eventContentType: SiriAppIntents.EventContentType { get }
  46. varvar isDisplayable: Bool { get }
  47. varvar isError: Bool { get }
  48. varvar isWarning: Bool { get }
  49. varvar payload: Sendable? { get }
  50. varvar supportsVerbosity: Bool { get }
enum TranscriptEventType {
    case request(SiriAppIntents.TranscriptProtoRequest)
    case entitySpanMatched(SiriAppIntents.TranscriptProtoEntitySpanMatchResult)
    case contextRetrievalRequest(SiriAppIntents.TranscriptProtoContextRetrievalRequest)
    case contextRetrieved(SiriAppIntents.TranscriptProtoContextRetrieved)
    case toolRetrievalRequest(SiriAppIntents.TranscriptProtoToolRetrievalRequest)
    case toolsRetrieved(SiriAppIntents.TranscriptProtoToolRetrievalResponse)
    case systemResponseGenerated(SiriAppIntents.TranscriptProtoSystemResponse)
    case imageRetrievalResponse(SiriAppIntents.TranscriptProtoImageRetrievalResponse)
    case toolCallExampleRetrievalResponse(SiriAppIntents.TranscriptProtoToolCallExampleRetrievalResponse)
    case actionCreated(SiriAppIntents.TranscriptProtoAction)
    case statementEvaluated(SiriAppIntents.TranscriptProtoStatementResult)
    case criticalError(SiriAppIntents.TranscriptProtoSessionError)
    case toolWillExecute(SiriAppIntents.TranscriptProtoToolWillExecute)
    case siriRequestCanceled(SiriAppIntents.TranscriptProtoSiriRequestCanceled)
    case agentPrimitiveAction(SiriAppIntents.TranscriptProtoAgentPrimitiveAction)
    case executionError(SiriAppIntents.TranscriptProtoExecutionError)
    case agentError(SiriAppIntents.TranscriptProtoAgentError)
    case plannerModelFacingError(SiriAppIntents.TranscriptProtoPlannerModelFacingError)
    case agentFunctionCall(SiriAppIntents.TranscriptProtoAgentFunctionCall)
    case agentFunctionResult(SiriAppIntents.TranscriptProtoAgentFunctionResult)
    case agentEntityReferences(SiriAppIntents.TranscriptProtoAgentEntityReferences)
    case agentUserRequest(SiriAppIntents.TranscriptProtoAgentUserRequest)
    case agentDirectResponse(SiriAppIntents.TranscriptProtoAgentDirectResponse)
    case sessionSummarizationRequest(SiriAppIntents.TranscriptProtoSessionSummarizationRequest)
    case sessionSummarizationResponse(SiriAppIntents.TranscriptProtoSessionSummarizationResponse)
    case queryContextPrediction(SiriAppIntents.TranscriptProtoQueryContextPrediction)
    case externalAgentRequest(SiriAppIntents.TranscriptProtoExternalAgentRequest)
    case externalAgentOutcome(SiriAppIntents.TranscriptProtoExternalAgentOutcome)
    case externalAgentDialogOutcome(SiriAppIntents.TranscriptProtoExternalAgentDialogOutcome)
    case agentPersistenceOutput(SiriAppIntents.TranscriptProtoAgentPersistenceOutput)
    case agentRuntimeEnded(SiriAppIntents.TranscriptProtoAgentRuntimeEnded)
    case onScreenUserContext(SiriAppIntents.TranscriptProtoOnScreenUserContext)
    case safetyIncident(SiriAppIntents.TranscriptProtoSafetyIncident)
    case deviceSelectionDecision(SiriAppIntents.TranscriptProtoDeviceSelectionDecision)
    case runtimeActivationChanged(SiriAppIntents.TranscriptProtoRuntimeActivationChanged)
    case userSelected(SiriAppIntents.UserContextProtoUser)
    case remoteCompanionSessionUpdate(SiriAppIntents.TranscriptProtoRemoteCompanionSessionUpdate)
    case remoteAgentPrimitiveAction(SiriAppIntents.TranscriptProtoRemoteAgentPrimitiveAction)
    case companionRequired(SiriAppIntents.TranscriptProtoCompanionRequired)
    case executionUnlockedByClient(SiriAppIntents.TranscriptProtoExecutionUnlockedByClient)
    case recoverableError
    case unknown

    var displayName: Swift.String {
        get
    }
    var eventContentType: SiriAppIntents.EventContentType {
        get
    }
    var isDisplayable: Swift.Bool {
        get
    }
    var isError: Swift.Bool {
        get
    }
    var isWarning: Swift.Bool {
        get
    }
    var payload: (any Swift.Sendable)? {
        get
    }
    var supportsVerbosity: Swift.Bool {
        get
    }

    static func from(payload: SiriAppIntents.TranscriptProtoPayload) -> SiriAppIntents.TranscriptEventType
}