Files
wristivo/Adapters/WatchBridge/Sources/Watch/WatchCommandPayload.swift
T

11 lines
390 B
Swift

import RemoteCore
import WatchBridgeCommon
/// Pure outgoing container construction: does not activate WCSession, grant a
/// session, queue a command, or transmit it. Live delivery belongs to B.
public enum WatchCommandPayload {
public static func container(for envelope: CommandEnvelope) throws -> RelayContainer {
try RelayContainer(kind: .command, value: envelope)
}
}