CamoServiceState
public enum CamoServiceState
The service state represents the state of an active Camo controller. You will receive this from the CamoControllerState
when the server is running.
When there is an active connection to Camo Studio, you can retrieve it by using the convenience connection
property.
-
We are currently connected to Camo Studio, and should be sending frames.
Declaration
Swift
case active(CamoConnection)
-
We are currently connected to Camo Studio, but the user has paused the video output.
Declaration
Swift
case paused(CamoConnection)
-
The Camo controller is currently running and available for new connections, but we are not connected to Camo Studio.
Declaration
Swift
case notConnected
-
A convenience property for accessing the enclosed connection.
Declaration
Swift
public var connection: CamoConnection? { get }
-
A convenience property for quickly determining if the connection is currently active.
If the connection is active, you should be sending frames.
Declaration
Swift
public var isActive: Bool { get }