iOS/Sources/App/WebView/WebViewExternalBusMessage.swift
Bruno Pantaleão Gonçalves 3235b05c00
Add Improv setup UI (#2855)
2024-07-18 17:43:30 +02:00

26 lines
957 B
Swift

import Foundation
enum WebViewExternalBusMessage: String, CaseIterable {
case configGet = "config/get"
case configScreenShow = "config_screen/show"
case haptic
case connectionStatus = "connection-status"
case tagRead = "tag/read"
case tagWrite = "tag/write"
case themeUpdate = "theme-update"
case matterCommission = "matter/commission"
case threadImportCredentials = "thread/import_credentials"
case threadStoreCredentialInAppleKeychain = "thread/store_in_platform_keychain"
case barCodeScanner = "bar_code/scan"
case barCodeScannerClose = "bar_code/close"
case barCodeScannerNotify = "bar_code/notify"
case assistShow = "assist/show"
case scanForImprov = "improv/scan"
}
enum WebViewExternalBusOutgoingMessage: String, CaseIterable {
case showAutomationEditor = "automation/editor/show"
case barCodeScanResult = "bar_code/scan_result"
case barCodeScanAborted = "bar_code/aborted"
}