Search Results for

    / fm / liveswitch / sdp / RepeatTime

    Class: RepeatTime

    liveswitch.sdp.RepeatTime

    An SDP repeat time element.

    Table of contents

    Constructors

    • constructor

    Methods

    • addOffset
    • getActiveDuration
    • getOffsets
    • getRepeatInterval
    • getTypeString
    • removeOffset
    • toString
    • parse

    Constructors

    constructor

    + new RepeatTime(repeatInterval: TimeSpan, activeDuration: TimeSpan): RepeatTime

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

    Parameters:

    Name Type Description
    repeatInterval TimeSpan The repeat interval.
    activeDuration TimeSpan The active duration.

    Returns: RepeatTime

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:17

    + new RepeatTime(repeatInterval: TimeSpan, activeDuration: TimeSpan, offsets: TimeSpan[]): RepeatTime

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

    Parameters:

    Name Type Description
    repeatInterval TimeSpan The repeat interval.
    activeDuration TimeSpan The active duration.
    offsets TimeSpan[] The offsets from the start time.

    Returns: RepeatTime

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:26

    Methods

    addOffset

    ▸ addOffset(offset: TimeSpan): void

    Adds an offset from the start time.

    Parameters:

    Name Type Description
    offset TimeSpan The offset from the start time to add.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:103


    getActiveDuration

    ▸ getActiveDuration(): TimeSpan

    Gets the active duration.

    Returns: TimeSpan

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:115


    getOffsets

    ▸ getOffsets(): TimeSpan[]

    Gets the array of offsets from the start time.

    Returns: TimeSpan[]

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:127


    getRepeatInterval

    ▸ getRepeatInterval(): TimeSpan

    Gets the repeat interval.

    Returns: TimeSpan

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:139


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:9


    removeOffset

    ▸ removeOffset(offset: TimeSpan): boolean

    Removes an offset from the start time.

    Parameters:

    Name Type Description
    offset TimeSpan The offset from the start time to remove.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:152


    toString

    ▸ toString(): string

    Converts this instance to a string.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:180


    parse

    ▸ Staticparse(s: string): RepeatTime

    Creates an [[fm.liveswitch.sdp.repeatTime]] instance from a string.

    Parameters:

    Name Type Description
    s string The string to parse.

    Returns: RepeatTime

    Defined in: Generated/TypeScript/fm.liveswitch/sdp/RepeatTime.ts:82

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