Message
public protocol Message : CustomDebugStringConvertible
An interpreted message coming from an ATEM device
-
The title of the message. This is referred to as CMD in Skarhoj’s protocol documentation
Declaration
Swift
static var title: MessageTitle { get }
-
Initialize a new message from the given binary string
Throws
when the message cannot be interpretedDeclaration
Swift
init(with bytes: ArraySlice<UInt8>) throws
Parameters
bytes
the binary string to interpret
-
prefix()
Extension methodUndocumented
Declaration
Swift
static func prefix() -> [UInt8]
-
execute(_:)
Extension methodUndocumented
Declaration
Swift
func execute(_ unknownHandler: Any)
-
execute(_:in:)
Extension methodUndocumented
Declaration
Swift
func execute(_ unknownHandler: Any, in context: ContextualMessageHandler.Context)