Search Results for

    / fm / liveswitch / BaseStats

    Class: BaseStats

    fm.liveswitch.BaseStats

    Base stats.

    Hierarchy

    • BaseStats

      ↳ CandidatePairStats

      ↳ CandidateStats

      ↳ CertificateStats

      ↳ CodecStats

      ↳ ConnectionStats

      ↳ DataChannelStats

      ↳ StreamStats

      ↳ MediaComponentStats

      ↳ MediaSinkStats

      ↳ MediaSourceStats

      ↳ MediaStats

      ↳ MediaTrackStats

      ↳ TransportStats

    Table of contents

    Constructors

    • constructor

    Methods

    • deserializeProperties
    • getId
    • getTimestamp
    • getTypeString
    • serializeProperties

    Constructors

    constructor

    + new BaseStats(): BaseStats

    Returns: BaseStats

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

    Methods

    deserializeProperties

    ▸ ProtecteddeserializeProperties(key: string, valueJson: string): void

    Deserializes the properties.

    Parameters:

    Name Type Description
    key string The key.
    valueJson string The value in JSON format.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:35


    getId

    ▸ getId(): string

    Gets the identifier of the object generating these stats.

    Returns: string

    Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:57


    getTimestamp

    ▸ getTimestamp(): DateTime

    Gets the timestamp when these stats were generated.

    Returns: DateTime

    Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:70


    getTypeString

    ▸ getTypeString(): string

    Returns: string

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


    serializeProperties

    ▸ ProtectedserializeProperties(jsonObject: Hash<string, string>): void

    Serializes the properties.

    Parameters:

    Name Type Description
    jsonObject Hash<string, string> The JSON object.

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/BaseStats.ts:83

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