Search Results for

    / fm / liveswitch / SourceInput

    Class: SourceInput

    fm.liveswitch.SourceInput

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

    Table of contents

    Constructors

    • constructor

    Methods

    • getId
    • getName
    • getTypeString
    • setId
    • setName
    • toJson
    • toString
    • fromJson
    • fromJsonArray
    • toJson
    • toJsonArray

    Constructors

    constructor

    + new SourceInput(): SourceInput

    Returns: SourceInput

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:15

    + new SourceInput(idValue: string, name: string): SourceInput

    Initializes a new instance of the [[fm.liveswitch.sourceInput]] class.

    Parameters:

    Name Type Description
    idValue string The identifier.
    name string The name.

    Returns: SourceInput

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:17

    Methods

    getId

    ▸ getId(): string

    Gets the identifier.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:124


    getName

    ▸ getName(): string

    Gets the name.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:136


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:9


    setId

    ▸ setId(value: string): void

    Sets the identifier.

    Parameters:

    Name Type
    value string

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:148


    setName

    ▸ setName(value: string): void

    Sets the name.

    Parameters:

    Name Type
    value string

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:160


    toJson

    ▸ toJson(): string

    Serializes this instance to JSON.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:172


    toString

    ▸ toString(): string

    Returns a string that represents this instance.

    Returns: string

    A string that represents this instance.

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:187


    fromJson

    ▸ StaticfromJson(sourceInputJson: string): SourceInput

    Deserializes an instance from JSON.

    Parameters:

    Name Type Description
    sourceInputJson string The source input JSON.

    Returns: SourceInput

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:49


    fromJsonArray

    ▸ StaticfromJsonArray(sourceInputsJson: string): SourceInput[]

    Deserializes an instance array from JSON.

    Parameters:

    Name Type Description
    sourceInputsJson string The source inputs JSON.

    Returns: SourceInput[]

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:75


    toJson

    ▸ StatictoJson(sourceInput: SourceInput): string

    Serializes an instance to JSON.

    Parameters:

    Name Type Description
    sourceInput SourceInput The source input.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:92


    toJsonArray

    ▸ StatictoJsonArray(sourceInputs: SourceInput[]): string

    Serializes an instance array to JSON.

    Parameters:

    Name Type Description
    sourceInputs SourceInput[] The source inputs.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/SourceInput.ts:112

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.14.6