SourceInfo

public struct SourceInfo

Information about a Source

  • id

    The identifier of the source

    Declaration

    Swift

    public var id: String
  • The type of the source

    Declaration

    Swift

    public var type: SourceType
  • Create a SourceInfo value

    Declaration

    Swift

    public init(id: String, type: SourceType)

    Parameters

    id

    A source ID

    type

    A source type