Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SourceInput

A source input (e.g. device, track, screen).

Hierarchy

  • SourceInput

Index

Constructors

constructor

  • Initializes a new instance of the fm.icelink.sourceInput class.

    Returns SourceInput

  • Initializes a new instance of the fm.icelink.sourceInput class.

    Parameters

    • id: string

      The identifier.

    • name: string

      The name.

    Returns SourceInput

Properties

Private _id

_id: string
internal

Private _name

_name: string
internal

Methods

getId

  • getId(): string
  • Gets the identifier.

    Returns string

getName

  • getName(): string
  • Gets the name.

    Returns string

getTypeString

  • getTypeString(): string
  • Returns string

Private setId

  • setId(value: string): void
  • internal

    Parameters

    • value: string

    Returns void

Private setName

  • setName(value: string): void
  • internal

    Parameters

    • value: string

    Returns void

toJson

  • toJson(): string
  • Serializes this instance to JSON.

    Returns string

toString

  • toString(): string
  • Returns a string that represents this instance.

    Returns string

    A string that represents this instance.

Static fromJson

  • fromJson(sourceInputJson: string): SourceInput
  • Deserializes an instance from JSON.

    Parameters

    • sourceInputJson: string

      The source input JSON.

    Returns SourceInput

Static fromJsonArray

  • fromJsonArray(sourceInputsJson: string): SourceInput[]
  • Deserializes an instance array from JSON.

    Parameters

    • sourceInputsJson: string

      The source inputs JSON.

    Returns SourceInput[]

Static toJson

  • toJson(sourceInput: SourceInput): string
  • Serializes an instance to JSON.

    Parameters

    • sourceInput: SourceInput

      The source input.

    Returns string

Static toJsonArray

  • toJsonArray(sourceInputs: SourceInput[]): string
  • Serializes an instance array to JSON.

    Parameters

    • sourceInputs: SourceInput[]

      The source inputs.

    Returns string