Files
openclaw/apps/shared/OpenClawKit/Sources/OpenClawKit/ScreenCommands.swift

28 lines
711 B
Swift
Raw Normal View History

import Foundation
2026-01-30 03:15:10 +01:00
public enum OpenClawScreenCommand: String, Codable, Sendable {
case record = "screen.record"
}
2026-01-30 03:15:10 +01:00
public struct OpenClawScreenRecordParams: Codable, Sendable, Equatable {
public var screenIndex: Int?
public var durationMs: Int?
public var fps: Double?
public var format: String?
2025-12-19 03:16:25 +01:00
public var includeAudio: Bool?
public init(
screenIndex: Int? = nil,
durationMs: Int? = nil,
fps: Double? = nil,
2025-12-19 03:16:25 +01:00
format: String? = nil,
includeAudio: Bool? = nil)
{
self.screenIndex = screenIndex
self.durationMs = durationMs
self.fps = fps
self.format = format
2025-12-19 03:16:25 +01:00
self.includeAudio = includeAudio
}
}