IncomingDeviceCommand
public enum IncomingDeviceCommand
extension IncomingDeviceCommand: Equatable, Hashable
A command invoked by another device.
This enum represents all possible commands that can be invoked on the device. It is the responsibility of the application to interpret each command.
-
Indicates that a tab has been sent to this device.
Declaration
Swift
case tabReceived(sender: Device?, payload: SendTabPayload )
-
Indicates that the sender wants to close one or more tabs on this device.
Declaration
Swift
case tabsClosed(sender: Device?, payload: CloseTabsPayload )