Search Results for

    / fm / liveswitch / ConnectionStateRecord

    Class: ConnectionStateRecord

    fm.liveswitch.ConnectionStateRecord

    Represents a single connection state transition record with timing information.

    Table of contents

    Constructors

    • constructor

    Methods

    • fmliveswitchConnectionStateRecordInit
    • getAnswer
    • getConnectionStateString
    • getDateTime
    • getError
    • getMediaIntent
    • getOffer
    • getSent
    • getState
    • getTimeStamp
    • getTypeString
    • setAnswer
    • setDateTime
    • setError
    • setMediaIntent
    • setOffer
    • setSent
    • setState
    • setTimeStamp

    Constructors

    constructor

    + new ConnectionStateRecord(): ConnectionStateRecord

    Returns: ConnectionStateRecord

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:36

    Methods

    fmliveswitchConnectionStateRecordInit

    ▸ PrivatefmliveswitchConnectionStateRecordInit(): void

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:29


    getAnswer

    ▸ getAnswer(): boolean

    Gets the value indicating that an answer was processed.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:54


    getConnectionStateString

    ▸ getConnectionStateString(): string

    Gets the string representation of the connection state.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:66


    getDateTime

    ▸ getDateTime(): DateTime

    Gets the UTC datetime when the state transition occurred.

    Returns: DateTime

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:102


    getError

    ▸ getError(): string

    Gets the error.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:114


    getMediaIntent

    ▸ getMediaIntent(): boolean

    Gets the value indicating that a media intent was processed.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:126


    getOffer

    ▸ getOffer(): boolean

    Gets the value indicating that an offer was processed.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:138


    getSent

    ▸ getSent(): boolean

    Gets the value indicating whether a message was sent or received.

    Returns: boolean

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:150


    getState

    ▸ getState(): ConnectionState

    Gets the connection state.

    Returns: ConnectionState

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:162


    getTimeStamp

    ▸ getTimeStamp(): number

    Gets the millisecond timestamp when the state transition occurred.

    Returns: number

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:174


    getTypeString

    ▸ getTypeString(): string

    Returns: string

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


    setAnswer

    ▸ setAnswer(value: boolean): void

    Sets the value indicating that an answer was processed.

    Parameters:

    Name Type
    value boolean

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:186


    setDateTime

    ▸ setDateTime(value: DateTime): void

    Sets the UTC datetime when the state transition occurred.

    Parameters:

    Name Type
    value DateTime

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:198


    setError

    ▸ setError(value: string): void

    Sets the error.

    Parameters:

    Name Type
    value string

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:210


    setMediaIntent

    ▸ setMediaIntent(value: boolean): void

    Sets the value indicating that a media intent was processed.

    Parameters:

    Name Type
    value boolean

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:222


    setOffer

    ▸ setOffer(value: boolean): void

    Sets the value indicating that an offer was processed.

    Parameters:

    Name Type
    value boolean

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:234


    setSent

    ▸ setSent(value: boolean): void

    Sets the value indicating whether a message was sent or received.

    Parameters:

    Name Type
    value boolean

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:246


    setState

    ▸ setState(value: ConnectionState): void

    Sets the connection state.

    Parameters:

    Name Type
    value ConnectionState

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:258


    setTimeStamp

    ▸ setTimeStamp(value: number): void

    Sets the millisecond timestamp when the state transition occurred.

    Parameters:

    Name Type
    value number

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/ConnectionStateRecord.ts:270

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